CVE-2026-4645

high

Description

A flaw was found in the `github.com/antchfx/xpath` component. A remote attacker could exploit this vulnerability by submitting crafted Boolean XPath expressions that evaluate to true. This can cause an infinite loop in the `logicalQuery.Select` function, leading to 100% CPU utilization and a Denial of Service (DoS) condition for the affected system.

References

https://github.com/golang/vulndb/issues/4526

https://github.com/antchfx/xpath/issues/121

https://github.com/antchfx/xpath/commit/afd4762cc342af56345a3fb4002a59281fcab494

https://bugzilla.redhat.com/show_bug.cgi?id=2450214

https://access.redhat.com/security/cve/CVE-2026-4645

Details

Source: Mitre, NVD

Published: 2026-03-23

Updated: 2026-03-23

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

Severity: High

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High