Security Resilience

CVE-2026-32287

DoS in Antchfx Xpath ≤ 1.3.6

Public PoCDoS
Published
26 March 2026
Modified
21 April 2026
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0081 54th percentile
Risk Priority 59 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-32287 is a high-severity Infinite Loop (CWE-835) vulnerability in Antchfx Xpath. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked in the top 46% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-2 (Flaw Remediation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-32287 is a denial-of-service vulnerability in the antchfx/xpath Go package, where boolean XPath expressions evaluating to true, such as top-level selectors "1=1" or "true()", trigger an infinite loop in the logicalQuery.Select function. This results in 100% CPU usage. The issue is classified under CWE-835 (Infinite Loop) with a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H), indicating high severity due to its availability impact.

Remote attackers require no privileges or user interaction to exploit this vulnerability over the network with low complexity. By supplying a malicious XPath query to an application using the affected antchfx/xpath library for query processing, attackers can cause the targeted system to enter an infinite loop, exhausting CPU resources and potentially leading to denial of service.

Mitigation involves updating the antchfx/xpath package to the fixed version via the patch commit at https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494. The vulnerability is tracked in the Go vulnerability database as GO-2026-4526 (https://pkg.go.dev/vuln/GO-2026-4526) and detailed in related GitHub issues (https://github.com/antchfx/xpath/issues/121, https://github.com/golang/vulndb/issues/4526) and a research advisory (https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select).

EU & UK References

Vulnerability Data

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

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-52789Shared CWE-835
CVE-2026-6521Shared CWE-835
CVE-2026-110354Shared CWE-835
CVE-2023-20197Shared CWE-835
CVE-2026-46314Shared CWE-835
CVE-2023-53481Shared CWE-835
CVE-2024-42240Shared CWE-835
CVE-2026-52921Shared CWE-835
CVE-2023-52726Shared CWE-835
CVE-2026-54651Shared CWE-835

Affected Assets

antchfx
xpath
≤ 1.3.6

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover unreachable loop exit conditions through static analysis, fuzzing, or execution tracing.

Flaw remediation processes identify and correct infinite-loop defects reported from testing or operations.

Requiring documented development processes and secure coding standards reduces introduction of loops whose termination conditions are unreachable.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices (reviews, testing, static analysis) directly prevent introduction of infinite-loop defects.

ID.RA-01 partial match
blocks

Static analysis and vuln scanning during asset assessment can detect unreachable loop exits.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can uncover infinite-loop conditions before release.

prevents

Secure coding standards directly address loop termination and prevent infinite loops.

finds

A.8.8's reach is DISCLOSURE — it sees only third-party components with published advisories. CWE-835 instances that surface as CVEs in third-party libraries (e.g., CVE-2025-32399, CVE-2022-25304) are discoverable through vulnerability scanning, but the majority of infinite loops live in first-party code where no advisory is ever published, and A.8.8 has no view of those.

References