Skip to main content
← All vulnerabilities
CVE-2026-32287GO-2026-4526GHSA-65XW-VW82-R86X

Infinite loop in github.com/antchfx/xpath

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.3.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • github.com/antchfx/xpath

    fixed in 1.3.6

  • github.com/antchfx/xpathGo

    fixed in 1.3.6

References 4

GitHub · antchfx/xpath

GitHub · golang/vulndb

pkg.go.dev