Vulnerability · Published Mar 26, 2026 · Assigned by Go

CVE-2026-32287Infinite loop in github.com/antchfx/xpath

High 7.5

In plain English

A high-severity security flaw in github.com/antchfx/xpath from github.com/antchfx/xpath. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 54.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12golang-github-antchfx-xpathno fix listedDEBIAN-CVE-2026-32287
Debian:13golang-github-antchfx-xpathno fix listedDEBIAN-CVE-2026-32287
Debian:14golang-github-antchfx-xpath1.3.6-1DEBIAN-CVE-2026-32287
Gogithub.com/antchfx/xpath1.3.6GHSA-65xw-vw82-r86x
Gogithub.com/antchfx/xpath1.3.6GO-2026-4526
Ubuntu:22.04:LTSgolang-github-antchfx-xpathno fix listedUBUNTU-CVE-2026-32287
Ubuntu:24.04:LTSgolang-github-antchfx-xpathno fix listedUBUNTU-CVE-2026-32287
Ubuntu:25.10golang-github-antchfx-xpathno fix listedUBUNTU-CVE-2026-32287
Ubuntu:26.04:LTSgolang-github-antchfx-xpathno fix listedUBUNTU-CVE-2026-32287
Ubuntu:26.10golang-github-antchfx-xpathno fix listedUBUNTU-CVE-2026-32287

Affected products (as reported)

VendorProductVersions
github.com/antchfx/xpath github.com/antchfx/xpath 0 – before 1.3.6

References