Red Hat VEX
RHVEX-CVE-2026-32287
github.com/antchfx/xpath: github.com/antchfx/xpath: Denial of Service due to infinite loop via boolean XPath expressions
Details
A flaw was found in github.com/antchfx/xpath. An attacker could exploit this vulnerability by providing specially crafted boolean XPath expressions that evaluate to true. This can cause an infinite loop within the logicalQuery.Select function, leading to 100% CPU utilization. The consequence is a Denial of Service (DoS) condition, making the affected system unresponsive.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:10 | opentelemetry-collector | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | opentelemetry-collector | All versions, no fix (fix deferred) |
References
- https://access.redhat.com/security/cve/CVE-2026-32287
- https://bugzilla.redhat.com/show_bug.cgi?id=2451856
- https://www.cve.org/CVERecord?id=CVE-2026-32287
- https://nvd.nist.gov/vuln/detail/CVE-2026-32287
- https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494
- https://github.com/antchfx/xpath/issues/121
- https://github.com/golang/vulndb/issues/4526
- https://pkg.go.dev/vuln/GO-2026-4526