Loop with Unreachable Exit Condition ('Infinite Loop') Affecting golang-github-antchfx-xpath package, versions <1.3.6-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.54% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-GOLANGGITHUBANTCHFXXPATH-15805346
  • published29 Mar 2026
  • disclosed26 Mar 2026

Introduced: 26 Mar 2026

CVE-2026-32287  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Debian:unstable golang-github-antchfx-xpath to version 1.3.6-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-github-antchfx-xpath package and not the golang-github-antchfx-xpath package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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

CVSS Base Scores

version 3.1