Skip to main content

Github Com Antchfx Xpath EUVDEUVD-2026-16349

| CVE-2026-32287 HIGH
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-03-26 Go GHSA-65xw-vw82-r86x
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted XPath query with boolean expression
  2. Exploit
    Trigger infinite loop in logicalQuery.Select
  3. Execution
    Consume 100% CPU resources
  4. Impact
    Cause denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Remote unauthenticated attacker can trigger infinite loop by submitting XPath queries with boolean expressions evaluating to true (e.g., '1=1', 'true()') to any application using logicalQuery.Select. No special configuration or victim interaction required.

Impact

This is a denial-of-service vulnerability with high real-world priority despite missing CVSS/EPSS data. Attack vector is network-based (application accepts XPath input), complexity is low (simple payloads like '1=1' trigger the flaw), and no authentication is required, making exploitation trivial. The technical impact is complete availability disruption (100% CPU consumption causes service unavailability). No CVSS vector or EPSS score is provided, limiting quantitative risk scoring, but the combination of unauthenticated remote trigger, trivial attack complexity, and guaranteed denial-of-service effect indicates high practical risk. This is not a low-real-risk high-CVSS issue-it is legitimately exploitable and impactful in any system parsing untrusted XPath expressions. KEV status is not indicated in available data, and no public exploit code has been identified, but the simplicity of the trigger (Boolean literals) suggests the vulnerability is immediately actionable once discovered.

Exploit ScenarioDerived

An attacker crafts a malicious XML request to a web service that uses antchfx/xpath to process user-supplied XPath queries (e.g., a search or filtering feature). The attacker sends a request with XPath selector '1=1' or 'true()', triggering the infinite loop in logicalQuery.Select on the server. The affected thread consumes 100% CPU until manually terminated or the process crashes, causing service degradation or outage. No authentication is required and the attack is trivial to execute, making it a practical denial-of-service vector for any exposed application.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 26, 2026

The antchfx/xpath Go library prior to version 1.3.6 contains a denial-of-service vulnerability in the logicalQuery.Select function where Boolean XPath expressions that evaluate to true (such as '1=1' or 'true()') trigger an infinite loop, consuming 100% CPU resources. Remote attackers can exploit this via top-level XPath selectors without authentication, potentially disrupting any application that uses this library to process untrusted XPath queries. Upstream fix is available in commit afd4762cc342af56345a3fb4002a59281fcab494, with no public exploit code identified at time of analysis.

RemediationAI

Upgrade github.com/antchfx/xpath to version 1.3.6 or later immediately. The upstream fix is available in commit afd4762cc342af56345a3fb4002a59281fcab494 (see https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494). Applications should update their Go module dependency via 'go get -u github.com/antchfx/xpath@latest' or pin to version 1.3.6+. Until patching is possible, implement input validation to reject or sanitize XPath expressions that contain top-level Boolean literals ('true()', '1=1', etc.), or enforce timeout/resource limits on XPath query execution to prevent unbounded CPU consumption. Network-level rate limiting on XML parsing endpoints may provide temporary mitigation.

Affected VersionsENISA

github.com/antchfx/xpath 0 <1.3.6

Affected Packages

go github.com/antchfx/xpath fix: 1.3.6
euvd github_com_antchfx_xpath fix: 1.3.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The antchfx/xpath library is a Go package for parsing and evaluating XPath expressions, commonly used in applications that process XML documents. The vulnerability exists in the logicalQuery.Select method, which handles logical operations in XPath queries. When a Boolean expression evaluates to true at the top level, the implementation enters an infinite loop instead of properly terminating query execution. This represents a logic error in control flow rather than memory corruption or injection; the root cause is inadequate boundary conditions or loop termination logic in the query evaluation engine. The affected CPE is cpe:2.3:a:github.com/antchfx/xpath:github.com/antchfx/xpath:*:*:*:*:*:*:*:*, covering all versions prior to 1.3.6.

Know when Github Com Antchfx Xpath gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE HIGH
Red Hat 6.2 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 26, 2026 - 19:40 nvd
HIGH 7.5

DescriptionCVE.org

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

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: High
Product Status
openSUSE Leap 15.6 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP5 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP6 Fixed
openSUSE Leap 15.5 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy