CVE-2026-32287

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()".
Configurations

Configuration 1 (hide)

cpe:2.3:a:antchfx:xpath:*:*:*:*:*:go:*:*

History

21 Apr 2026, 15:33

Type Values Removed Values Added
References () https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494 - () https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494 - Patch
References () https://github.com/antchfx/xpath/issues/121 - () https://github.com/antchfx/xpath/issues/121 - Issue Tracking, Third Party Advisory
References () https://github.com/golang/vulndb/issues/4526 - () https://github.com/golang/vulndb/issues/4526 - Issue Tracking, Third Party Advisory
References () https://pkg.go.dev/vuln/GO-2026-4526 - () https://pkg.go.dev/vuln/GO-2026-4526 - Third Party Advisory
References () https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select - () https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select - Exploit, Third Party Advisory
CWE CWE-835
First Time Antchfx xpath
Antchfx
CPE cpe:2.3:a:antchfx:xpath:*:*:*:*:*:go:*:*

30 Mar 2026, 15:16

Type Values Removed Values Added
References
  • () https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select -
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5

30 Mar 2026, 13:26

Type Values Removed Values Added
Summary
  • (es) Expresiones booleanas de XPath que se evalúan como verdaderas pueden causar un bucle infinito en logicalQuery.Select, lo que lleva a un uso del 100% de la CPU. Esto puede ser activado por selectores de nivel superior como 1=1 o true().

26 Mar 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-26 20:16

Updated : 2026-04-21 15:33


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')