Advisory

GHSA-65xw-vw82-r86x

Also known as: CVE-2026-32287, GO-2026-4526

Summary

XPath: Boolean expression infinite loop leads to denial of service via CPU exhaustion

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-03-29 15:19 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/antchfx/xpath

Go · All systems

Affected

  • introduced 0, fixed 1.3.6 (semver)

Fixed versions

1.3.6

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences