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()".
References
| Link | Resource |
|---|---|
| https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494 | Patch |
| https://github.com/antchfx/xpath/issues/121 | Issue Tracking Third Party Advisory |
| https://github.com/golang/vulndb/issues/4526 | Issue Tracking Third Party Advisory |
| https://pkg.go.dev/vuln/GO-2026-4526 | Third Party Advisory |
| https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select | Exploit Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-03-26 20:16
Updated : 2026-06-17 10:35
NVD link : CVE-2026-32287
Mitre link : CVE-2026-32287
CVE.ORG link : CVE-2026-32287
JSON object : View
Products Affected
antchfx
- xpath
CWE
CWE-835
Loop with Unreachable Exit Condition ('Infinite Loop')
