GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-32287 (GCVE-0-2026-32287)

Vulnerability from cvelistv5 – Published: 2026-03-26 19:40 – Updated: 2026-03-30 14:55
VLAI
Title
Infinite loop in github.com/antchfx/xpath
Summary
Boolean XPath expressions that evaluate to true can cause an infinite loop in logicalQuery.Select, leading to 100% CPU usage. This can be triggered by top-level selectors such as "1=1" or "true()".
SSVC
Exploitation: poc Automatable: yes Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-03-30 14:12 UTC
CWE
  • CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')
Assigner
Impacted products
Vendor Product Version CPE status
github.com/antchfx/xpath github.com/antchfx/xpath Affected: 0 , < 1.3.6 (semver)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 7.5,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2026-32287",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-03-30T14:12:30.141178Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-03-30T14:55:05.920Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "exploit"
            ],
            "url": "https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://pkg.go.dev",
          "defaultStatus": "unaffected",
          "packageName": "github.com/antchfx/xpath",
          "product": "github.com/antchfx/xpath",
          "programRoutines": [
            {
              "name": "logicalQuery.Select"
            },
            {
              "name": "Expr.Evaluate"
            },
            {
              "name": "NodeIterator.MoveNext"
            },
            {
              "name": "ancestorQuery.Evaluate"
            },
            {
              "name": "ancestorQuery.Select"
            },
            {
              "name": "attributeQuery.Evaluate"
            },
            {
              "name": "attributeQuery.Select"
            },
            {
              "name": "booleanQuery.Evaluate"
            },
            {
              "name": "booleanQuery.Select"
            },
            {
              "name": "cachedChildQuery.Evaluate"
            },
            {
              "name": "cachedChildQuery.Select"
            },
            {
              "name": "childQuery.Evaluate"
            },
            {
              "name": "childQuery.Select"
            },
            {
              "name": "descendantOverDescendantQuery.Evaluate"
            },
            {
              "name": "descendantOverDescendantQuery.Select"
            },
            {
              "name": "descendantQuery.Evaluate"
            },
            {
              "name": "descendantQuery.Select"
            },
            {
              "name": "filterQuery.Evaluate"
            },
            {
              "name": "filterQuery.Select"
            },
            {
              "name": "followingQuery.Evaluate"
            },
            {
              "name": "followingQuery.Select"
            },
            {
              "name": "functionQuery.Evaluate"
            },
            {
              "name": "groupQuery.Evaluate"
            },
            {
              "name": "groupQuery.Select"
            },
            {
              "name": "lastFuncQuery.Evaluate"
            },
            {
              "name": "logicalQuery.Evaluate"
            },
            {
              "name": "mergeQuery.Evaluate"
            },
            {
              "name": "mergeQuery.Select"
            },
            {
              "name": "numericQuery.Evaluate"
            },
            {
              "name": "parentQuery.Evaluate"
            },
            {
              "name": "parentQuery.Select"
            },
            {
              "name": "precedingQuery.Evaluate"
            },
            {
              "name": "precedingQuery.Select"
            },
            {
              "name": "selfQuery.Evaluate"
            },
            {
              "name": "selfQuery.Select"
            },
            {
              "name": "transformFunctionQuery.Evaluate"
            },
            {
              "name": "transformFunctionQuery.Select"
            },
            {
              "name": "unionQuery.Evaluate"
            },
            {
              "name": "unionQuery.Select"
            }
          ],
          "vendor": "github.com/antchfx/xpath",
          "versions": [
            {
              "lessThan": "1.3.6",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Boolean XPath expressions that evaluate to true can cause an infinite loop in logicalQuery.Select, leading to 100% CPU usage. This can be triggered by top-level selectors such as \"1=1\" or \"true()\"."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "CWE-835: Loop with Unreachable Exit Condition (\u0027Infinite Loop\u0027)",
              "lang": "en"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-03-26T19:40:52.142Z",
        "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "shortName": "Go"
      },
      "references": [
        {
          "url": "https://github.com/antchfx/xpath/issues/121"
        },
        {
          "url": "https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494"
        },
        {
          "url": "https://github.com/golang/vulndb/issues/4526"
        },
        {
          "url": "https://pkg.go.dev/vuln/GO-2026-4526"
        }
      ],
      "title": "Infinite loop in github.com/antchfx/xpath"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
    "assignerShortName": "Go",
    "cveId": "CVE-2026-32287",
    "datePublished": "2026-03-26T19:40:52.142Z",
    "dateReserved": "2026-03-11T16:38:46.556Z",
    "dateUpdated": "2026-03-30T14:55:05.920Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-32287",
      "date": "2026-09-19",
      "epss": "0.00519",
      "percentile": "0.43063"
    },
    "microsoft_vex": {
      "current_release_date": "2026-04-15T01:41:59.000Z",
      "cve": "CVE-2026-32287",
      "id": "msrc_CVE-2026-32287",
      "initial_release_date": "2026-03-02T00:00:00.000Z",
      "product_status:fixed": "3",
      "product_status:known_affected": "3",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "Infinite loop in github.com/antchfx/xpath",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-32287.json",
      "version": "3"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://pkg.go.dev",
                "defaultStatus": "unaffected",
                "packageName": "github.com/antchfx/xpath",
                "product": "github.com/antchfx/xpath",
                "programRoutines": [
                  {
                    "name": "logicalQuery.Select"
                  },
                  {
                    "name": "Expr.Evaluate"
                  },
                  {
                    "name": "NodeIterator.MoveNext"
                  },
                  {
                    "name": "ancestorQuery.Evaluate"
                  },
                  {
                    "name": "ancestorQuery.Select"
                  },
                  {
                    "name": "attributeQuery.Evaluate"
                  },
                  {
                    "name": "attributeQuery.Select"
                  },
                  {
                    "name": "booleanQuery.Evaluate"
                  },
                  {
                    "name": "booleanQuery.Select"
                  },
                  {
                    "name": "cachedChildQuery.Evaluate"
                  },
                  {
                    "name": "cachedChildQuery.Select"
                  },
                  {
                    "name": "childQuery.Evaluate"
                  },
                  {
                    "name": "childQuery.Select"
                  },
                  {
                    "name": "descendantOverDescendantQuery.Evaluate"
                  },
                  {
                    "name": "descendantOverDescendantQuery.Select"
                  },
                  {
                    "name": "descendantQuery.Evaluate"
                  },
                  {
                    "name": "descendantQuery.Select"
                  },
                  {
                    "name": "filterQuery.Evaluate"
                  },
                  {
                    "name": "filterQuery.Select"
                  },
                  {
                    "name": "followingQuery.Evaluate"
                  },
                  {
                    "name": "followingQuery.Select"
                  },
                  {
                    "name": "functionQuery.Evaluate"
                  },
                  {
                    "name": "groupQuery.Evaluate"
                  },
                  {
                    "name": "groupQuery.Select"
                  },
                  {
                    "name": "lastFuncQuery.Evaluate"
                  },
                  {
                    "name": "logicalQuery.Evaluate"
                  },
                  {
                    "name": "mergeQuery.Evaluate"
                  },
                  {
                    "name": "mergeQuery.Select"
                  },
                  {
                    "name": "numericQuery.Evaluate"
                  },
                  {
                    "name": "parentQuery.Evaluate"
                  },
                  {
                    "name": "parentQuery.Select"
                  },
                  {
                    "name": "precedingQuery.Evaluate"
                  },
                  {
                    "name": "precedingQuery.Select"
                  },
                  {
                    "name": "selfQuery.Evaluate"
                  },
                  {
                    "name": "selfQuery.Select"
                  },
                  {
                    "name": "transformFunctionQuery.Evaluate"
                  },
                  {
                    "name": "transformFunctionQuery.Select"
                  },
                  {
                    "name": "unionQuery.Evaluate"
                  },
                  {
                    "name": "unionQuery.Select"
                  }
                ],
                "vendor": "github.com/antchfx/xpath",
                "versions": [
                  {
                    "lessThan": "1.3.6",
                    "status": "affected",
                    "version": "0",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "security@golang.org"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:antchfx:xpath:*:*:*:*:*:go:*:*",
                    "matchCriteriaId": "9456C4F2-D4AD-4F6D-9520-00E6C5C4AB18",
                    "versionEndExcluding": "1.3.6",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Boolean XPath expressions that evaluate to true can cause an infinite loop in logicalQuery.Select, leading to 100% CPU usage. This can be triggered by top-level selectors such as \"1=1\" or \"true()\"."
          },
          {
            "lang": "es",
            "value": "Expresiones booleanas de XPath que se eval\u00faan como verdaderas pueden causar un bucle infinito en logicalQuery.Select, lo que lleva a un uso del 100% de la CPU. Esto puede ser activado por selectores de nivel superior como 1=1 o true()."
          }
        ],
        "id": "CVE-2026-32287",
        "lastModified": "2026-06-17T10:35:29.830",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 3.6,
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-32287",
                "options": [
                  {
                    "exploitation": "poc"
                  },
                  {
                    "automatable": "yes"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-03-30T14:12:30.141178Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-03-26T20:16:12.403",
        "references": [
          {
            "source": "security@golang.org",
            "tags": [
              "Patch"
            ],
            "url": "https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494"
          },
          {
            "source": "security@golang.org",
            "tags": [
              "Issue Tracking",
              "Third Party Advisory"
            ],
            "url": "https://github.com/antchfx/xpath/issues/121"
          },
          {
            "source": "security@golang.org",
            "tags": [
              "Issue Tracking",
              "Third Party Advisory"
            ],
            "url": "https://github.com/golang/vulndb/issues/4526"
          },
          {
            "source": "security@golang.org",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "https://pkg.go.dev/vuln/GO-2026-4526"
          },
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "tags": [
              "Exploit",
              "Third Party Advisory"
            ],
            "url": "https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select"
          }
        ],
        "sourceIdentifier": "security@golang.org",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-835"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-09-08T14:17:33+00:00",
      "cve": "CVE-2026-32287",
      "id": "CVE-2026-32287",
      "initial_release_date": "2026-03-26T19:40:52.142000+00:00",
      "product_status:fixed": "4",
      "product_status:known_affected": "23",
      "product_status:known_not_affected": "11",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "github.com/antchfx/xpath: github.com/antchfx/xpath: Denial of Service due to infinite loop via boolean XPath expressions",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32287.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-03-31T23:27:43Z",
      "cve": "CVE-2026-32287",
      "id": "CVE-2026-32287",
      "initial_release_date": "2026-03-28T00:27:12Z",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-32287",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-32287.json",
      "version": "4"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "cvssV3_1": {
                  "attackComplexity": "LOW",
                  "attackVector": "NETWORK",
                  "availabilityImpact": "HIGH",
                  "baseScore": 7.5,
                  "baseSeverity": "HIGH",
                  "confidentialityImpact": "NONE",
                  "integrityImpact": "NONE",
                  "privilegesRequired": "NONE",
                  "scope": "UNCHANGED",
                  "userInteraction": "NONE",
                  "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "version": "3.1"
                }
              },
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-32287",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-03-30T14:12:30.141178Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-03-30T14:12:56.371Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "references": [
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select"
              }
            ],
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://pkg.go.dev",
              "defaultStatus": "unaffected",
              "packageName": "github.com/antchfx/xpath",
              "product": "github.com/antchfx/xpath",
              "programRoutines": [
                {
                  "name": "logicalQuery.Select"
                },
                {
                  "name": "Expr.Evaluate"
                },
                {
                  "name": "NodeIterator.MoveNext"
                },
                {
                  "name": "ancestorQuery.Evaluate"
                },
                {
                  "name": "ancestorQuery.Select"
                },
                {
                  "name": "attributeQuery.Evaluate"
                },
                {
                  "name": "attributeQuery.Select"
                },
                {
                  "name": "booleanQuery.Evaluate"
                },
                {
                  "name": "booleanQuery.Select"
                },
                {
                  "name": "cachedChildQuery.Evaluate"
                },
                {
                  "name": "cachedChildQuery.Select"
                },
                {
                  "name": "childQuery.Evaluate"
                },
                {
                  "name": "childQuery.Select"
                },
                {
                  "name": "descendantOverDescendantQuery.Evaluate"
                },
                {
                  "name": "descendantOverDescendantQuery.Select"
                },
                {
                  "name": "descendantQuery.Evaluate"
                },
                {
                  "name": "descendantQuery.Select"
                },
                {
                  "name": "filterQuery.Evaluate"
                },
                {
                  "name": "filterQuery.Select"
                },
                {
                  "name": "followingQuery.Evaluate"
                },
                {
                  "name": "followingQuery.Select"
                },
                {
                  "name": "functionQuery.Evaluate"
                },
                {
                  "name": "groupQuery.Evaluate"
                },
                {
                  "name": "groupQuery.Select"
                },
                {
                  "name": "lastFuncQuery.Evaluate"
                },
                {
                  "name": "logicalQuery.Evaluate"
                },
                {
                  "name": "mergeQuery.Evaluate"
                },
                {
                  "name": "mergeQuery.Select"
                },
                {
                  "name": "numericQuery.Evaluate"
                },
                {
                  "name": "parentQuery.Evaluate"
                },
                {
                  "name": "parentQuery.Select"
                },
                {
                  "name": "precedingQuery.Evaluate"
                },
                {
                  "name": "precedingQuery.Select"
                },
                {
                  "name": "selfQuery.Evaluate"
                },
                {
                  "name": "selfQuery.Select"
                },
                {
                  "name": "transformFunctionQuery.Evaluate"
                },
                {
                  "name": "transformFunctionQuery.Select"
                },
                {
                  "name": "unionQuery.Evaluate"
                },
                {
                  "name": "unionQuery.Select"
                }
              ],
              "vendor": "github.com/antchfx/xpath",
              "versions": [
                {
                  "lessThan": "1.3.6",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Boolean XPath expressions that evaluate to true can cause an infinite loop in logicalQuery.Select, leading to 100% CPU usage. This can be triggered by top-level selectors such as \"1=1\" or \"true()\"."
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "description": "CWE-835: Loop with Unreachable Exit Condition (\u0027Infinite Loop\u0027)",
                  "lang": "en"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-03-26T19:40:52.142Z",
            "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
            "shortName": "Go"
          },
          "references": [
            {
              "url": "https://github.com/antchfx/xpath/issues/121"
            },
            {
              "url": "https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494"
            },
            {
              "url": "https://github.com/golang/vulndb/issues/4526"
            },
            {
              "url": "https://pkg.go.dev/vuln/GO-2026-4526"
            }
          ],
          "title": "Infinite loop in github.com/antchfx/xpath"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "assignerShortName": "Go",
        "cveId": "CVE-2026-32287",
        "datePublished": "2026-03-26T19:40:52.142Z",
        "dateReserved": "2026-03-11T16:38:46.556Z",
        "dateUpdated": "2026-03-30T14:55:05.920Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…