CVE-2026-32287 Details
Description
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()".
A denial-of-service vulnerability has been identified in the Antchfx XPath library, specifically in the logicalQuery.Select function. This issue arises when boolean XPath expressions that evaluate to true, such as '1=1' or 'true()', are used as top-level selectors. The vulnerability causes an infinite loop, leading to 100% CPU usage, as the function repeatedly returns the same node without an exit condition. This flaw can be exploited by any application that accepts user-controlled XPath expressions and passes them to query functions in the Antchfx XPath package or its downstream counterparts.
Users can update to Antchfx XPath version 1.3.6 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494 | [email protected] | Patch |
| https://github.com/antchfx/xpath/issues/121 | [email protected] | Issue TrackingThird Party Advisory |
| https://github.com/golang/vulndb/issues/4526 | [email protected] | Issue TrackingThird Party Advisory |
| https://pkg.go.dev/vuln/GO-2026-4526 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-835 | Loop with Unreachable Exit Condition ('Infinite Loop') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| antchfx xpath | < 1.3.6 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 21, 2026 | Initial Analysis | [email protected] |
| Mar 30, 2026 | CVE Modified | CISA-ADP |
| Mar 26, 2026 | New CVE Received | [email protected] |