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

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-17T20:58:59.000Z
- Modified: 2026-09-10T03:50:37.723Z
- Also known as: GHSA-65xw-vw82-r86x, GO-2026-4526
- Related: CGA-vrf4-vr5c-565q
- Weaknesses: CWE-400, CWE-835
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: Go

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

(As written by CVE List.)

## Affected

- github.com/antchfx/xpath: before 1.3.6
- github.com/antchfx/xpath (Go): before 1.3.6
- antchfx xpath: before 1.3.6

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://securityinfinity.com/research/infinite-loop-dos-in-antchfx-xpath-logicalquery-select> (exploit, third-party-advisory, web)
- <https://github.com/antchfx/xpath/issues/121> (issue-tracking, report, third-party-advisory, web)
- <https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494> (fix, patch, web)
- <https://github.com/golang/vulndb/issues/4526> (issue-tracking, report, third-party-advisory, web)
- <https://pkg.go.dev/vuln/GO-2026-4526> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32287> (advisory)
- <https://github.com/antchfx/xpath> (package)

## Sources

- CVE List: [CVE-2026-32287](https://www.cve.org/CVERecord?id=CVE-2026-32287), CVE Terms of Use, modified 2026-03-30
- GitHub Advisory Database: [GHSA-65xw-vw82-r86x](https://github.com/advisories/GHSA-65xw-vw82-r86x), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-4526](https://pkg.go.dev/vuln/GO-2026-4526), CC-BY-4.0, modified 2026-03-30
- NVD: [CVE-2026-32287](https://nvd.nist.gov/vuln/detail/CVE-2026-32287), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-32287 · Whole record: https://cve.day/CVE-2026-32287.json · Rebuilt by cve.day 2026-11-25T22:59:17.120Z
