Heap-based buffer overflow in HAProxy - CVE-2025-32464

 

Heap-based buffer overflow in HAProxy - CVE-2025-32464

Published: April 17, 2025


Vulnerability identifier: #VU107589
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-32464
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: HAProxy
Affected software:
HAProxy

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error within the regsub() function in src/sample.c. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and perform a denial of service (DoS) attack.

Successful exploitation of this vulnerability requires a very specific configuration of the proxy server.


How to mitigate CVE-2025-32464

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources