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: 8.2 [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]
CVE-ID: CVE-2025-32464
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

HAProxy
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Availability Extension 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
openSUSE Leap
openEuler
Ubuntu
Anolis OS
haproxy
haproxy-debuginfo
haproxy-debugsource
haproxy-help
haproxy (Ubuntu package)
haproxy-doc

How to mitigate CVE-2025-32464

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

haproxy - update to 2.2.16-9
haproxy-debuginfo - update to 2.2.16-9
haproxy-debugsource - update to 2.2.16-9
haproxy-help - update to 2.2.16-9
haproxy-debuginfo - addressed in versions 2.4.22+git0.f8e3218e2-150400.3.22.1, 2.8.11+git0.01c1056a4-150600.3.6.1
haproxy-debugsource - addressed in versions 2.4.22+git0.f8e3218e2-150400.3.22.1, 2.8.11+git0.01c1056a4-150600.3.6.1
haproxy - addressed in versions 2.4.22+git0.f8e3218e2-150400.3.22.1, 2.8.11+git0.01c1056a4-150600.3.6.1
haproxy (Ubuntu package) - addressed in versions 2.4.24-0ubuntu0.22.04.2, 2.8.5-1ubuntu3.3, 2.9.10-1ubuntu1.2, 3.0.8-1ubuntu1.1
haproxy - update to 3.0.5-2
haproxy-doc - update to 3.0.5-2

External References

Related Security Bulletins