{"id":"CVE-2026-32287","published":"2026-03-26T19:40:52Z","modified":"2026-03-30T14:55:05Z","title":"Infinite loop in github.com/antchfx/xpath","vendor":"github.com/antchfx/xpath","product":"github.com/antchfx/xpath","tier":"tail","description":{"text":"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()\".","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00589,"percentile":0.49043,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/antchfx/xpath/issues/121","tags":[]},{"url":"https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494","tags":[]},{"url":"https://github.com/golang/vulndb/issues/4526","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2026-4526","tags":[]},{"url":"https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select","tags":["exploit"]}],"priority":{"score":20.1,"factors":[{"name":"EPSS percentile","points":9.81},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"github-com-antchfx-xpath","affectedVersions":[{"vendor":"github.com/antchfx/xpath","product":"github.com/antchfx/xpath","versions":["< 1.3.6"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-30T14:12:30.141178Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/antchfx/xpath","vulnerableRanges":["<1.3.6"],"patched":["1.3.6"],"from":["GHSA-65xw-vw82-r86x","GO-2026-4526"],"provenance":"source"}],"summary":{"text":"The flaw is an infinite loop in the logicalQuery.Select component of the github.com/antchfx/xpath library, which causes 100% CPU usage when boolean XPath expressions that evaluate to true are processed. An attacker who can supply an XPath expression to the library, such as a top-level selector like \"1=1\" or \"true()\", can trigger the loop over the network with no authentication, no user interaction, and no special configuration required, denying service to the affected application.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:02Z"},"euvd":{"id":"EUVD-2026-16349","exploited":false,"provenance":"source"},"exploitRefs":["https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select"]}