{"id":"CVE-2026-32287","aliases":["GHSA-65xw-vw82-r86x","GO-2026-4526"],"title":"XPath: Boolean expression infinite loop leads to denial of service via CPU exhaustion","summary":"XPath: Boolean expression infinite loop leads to denial of service via CPU exhaustion","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","vendor":"antchfx","product":"github.com/antchfx/xpath","ecosystem":"go","affected":["github.com/antchfx/xpath < 1.3.6"],"patched":["github.com/antchfx/xpath 1.3.6"],"published":"2026-03-29","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:50:37.723005087Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-65xw-vw82-r86x","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32287"},{"url":"https://github.com/antchfx/xpath/issues/121"},{"url":"https://github.com/golang/vulndb/issues/4526"},{"url":"https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494"},{"url":"https://github.com/antchfx/xpath"},{"url":"https://pkg.go.dev/vuln/GO-2026-4526"},{"url":"https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select"}],"tags":["osv","go"],"epss":0.00519,"epssPercentile":0.42912,"ingestedAt":"2026-09-12T03:13:01.757Z","slug":"CVE-2026-32287","body":"## Overview\n\nBoolean 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()\".\n\n## Affected packages\n\n- `github.com/antchfx/xpath < 1.3.6`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `github.com/antchfx/xpath 1.3.6`","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}