CVE-2026-32287
HIGH 7.5CVSS 3.1XPath: Boolean expression infinite loop leads to denial of service via CPU exhaustion
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()".
- Published
- 26 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security@golang.org
- NVD status
- Analyzed
- Weakness
- CWE-400CWE-835
- Also known as
- GHSA-65xw-vw82-r86xGO-2026-4526
- Sources
- NVDJSONOSV GHSA-65xw-vw82-r86xJSONOSV GO-2026-4526JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | antchfx | xpathcpe:2.3:a:antchfx:xpath:*:*:*:*:*:go:*:* |
< 1.3.6 | 1.3.6 |
| OSV | Go | github.com/antchfx/xpath | < 1.3.6 | 1.3.6 |
References
- https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494 · Patch, WEB, FIX
- https://github.com/antchfx/xpath/issues/121 · Issue Tracking, Third Party Advisory, WEB, REPORT
- https://github.com/golang/vulndb/issues/4526 · Issue Tracking, Third Party Advisory, WEB, REPORT
- https://pkg.go.dev/vuln/GO-2026-4526 · Third Party Advisory, WEB
- https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-32287 · ADVISORY
- https://github.com/antchfx/xpath · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 26 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Mar 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 29 Mar 2026)