CVE-2025-32464
published 2025-04-09CVE-2025-32464: HAProxy 2.2 through 3.1.6, in certain uncommon configurations, has a sample_conv_regsub heap-based buffer overflow because of mishandling of the replacement of…
PriorityP334medium6.8CVSS 3.1
AVNACHPRNUINSCCNINAH
EPSS
0.72%
49.9th percentile
HAProxy 2.2 through 3.1.6, in certain uncommon configurations, has a sample_conv_regsub heap-based buffer overflow because of mishandling of the replacement of multiple short patterns with a longer one.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | haproxy | < haproxy 2.6.12-1+deb12u2 (bookworm) | haproxy 2.6.12-1+deb12u2 (bookworm) |
| haproxy | haproxy | >= 0 < 2.2.9-2+deb11u7 | 2.2.9-2+deb11u7 |
| haproxy | haproxy | >= 0 < 2.6.12-1+deb12u2 | 2.6.12-1+deb12u2 |
| haproxy | haproxy | >= 0 < 3.0.10-1 | 3.0.10-1 |
| haproxy | haproxy | >= 0 < 3.0.10-1 | 3.0.10-1 |
| haproxy | haproxy | 2.2 – 3.1.6 | — |
| msrc | azl3_haproxy_2.9.11-3_on_azure_linux_3.0 | — | — |
| msrc | cbl2_haproxy_2.4.24-1_on_cbl_mariner_2.0 | — | — |
CVSS provenance
nvdv3.16.8MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H
osv6.8MEDIUM
vendor_debian6.8MEDIUM
vendor_msrc6.8MEDIUM
vendor_redhat6.8MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
HAProxy vulnerability
vendor_ubuntu·2025-04-23
CVE-2025-32464 HAProxy vulnerability
Title: HAProxy vulnerability
Summary: HAProxy could be made to crash or run programs if it received specially
crafted network traffic.
USN-7431-1 fixed a vulnerability in HAProxy. This update provides the
corresponding update for Ubuntu 25.04.
Original advisory details:
Aleandro Prudenzano and Edoardo Geraci discovered that HAProxy incorrectly
handled certain uncommon configurations that replace multiple short
patterns with a longer one. A remote attacker could use this issue to
cause HAProxy to crash, resulting in a denial of service, or possibly
execute arbitrary code.
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
HAProxy vulnerability
vendor_ubuntu·2025-04-10
CVE-2025-32464 HAProxy vulnerability
Title: HAProxy vulnerability
Summary: HAProxy could be made to crash or run programs if it received specially
crafted network traffic.
Aleandro Prudenzano and Edoardo Geraci discovered that HAProxy incorrectly
handled certain uncommon configurations that replace multiple short
patterns with a longer one. A remote attacker could use this issue to cause
HAProxy to crash, resulting in a denial of service, or possibly execute
arbitrary code.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
haproxy: Buffer Overflow via Improper Back-Reference Replacement Length Check
vendor_redhat·2025-04-09·CVSS 6.8
CVE-2025-32464 [MEDIUM] CWE-1025 haproxy: Buffer Overflow via Improper Back-Reference Replacement Length Check
haproxy: Buffer Overflow via Improper Back-Reference Replacement Length Check
HAProxy 2.2 through 3.1.6, in certain uncommon configurations, has a sample_conv_regsub heap-based buffer overflow because of mishandling of the replacement of multiple short patterns with a longer one.
A flaw was found in the HAProxy. This issue can allow a buffer overflow via improper length checking when replacing multiple regex back-references in a string. Specifically, the replacement size is incorrectly validated against the output buffer instead of the temporary trash buffer used during substitution. If multiple matches are replaced with strings larger than the available buffer size, this can lead to a memory overwrite.
Mitigation: Mitigation for this issue is either not available or the currently avail
Microsoft
HAProxy 2.2 through 3.1.6, in certain uncommon configurations, has a sample_conv_regsub heap-based buffer overflow because of mishandling of the replacement of multiple short patterns with a longer on
vendor_msrc·2025-04-08·CVSS 6.8
CVE-2025-32464 [MEDIUM] CWE-1025 HAProxy 2.2 through 3.1.6, in certain uncommon configurations, has a sample_conv_regsub heap-based buffer overflow because of mishandling of the replacement of multiple short patterns with a longer on
HAProxy 2.2 through 3.1.6, in certain uncommon configurations, has a sample_conv_regsub heap-based buffer overflow because of mishandling of the replacement of multiple short patterns with a longer one.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update t
Debian
CVE-2025-32464: haproxy - HAProxy 2.2 through 3.1.6, in certain uncommon configurations, has a sample_conv...
vendor_debian·2025·CVSS 6.8
CVE-2025-32464 [MEDIUM] CVE-2025-32464: haproxy - HAProxy 2.2 through 3.1.6, in certain uncommon configurations, has a sample_conv...
HAProxy 2.2 through 3.1.6, in certain uncommon configurations, has a sample_conv_regsub heap-based buffer overflow because of mishandling of the replacement of multiple short patterns with a longer one.
Scope: local
bookworm: resolved (fixed in 2.6.12-1+deb12u2)
bullseye: resolved (fixed in 2.2.9-2+deb11u7)
forky: resolved (fixed in 3.0.10-1)
sid: resolved (fixed in 3.0.10-1)
trixie: resolved (fixed in 3.0.10-1)
GHSA
GHSA-frg5-h47x-75j9: HAProxy 2
ghsa_unreviewed·2025-04-09
CVE-2025-32464 [MEDIUM] CWE-1025 GHSA-frg5-h47x-75j9: HAProxy 2
HAProxy 2.2 through 3.1.6, in certain uncommon configurations, has a sample_conv_regsub heap-based buffer overflow because of mishandling of the replacement of multiple short patterns with a longer one.
OSV
CVE-2025-32464: HAProxy 2
osv·2025-04-09·CVSS 6.8
CVE-2025-32464 [MEDIUM] CVE-2025-32464: HAProxy 2
HAProxy 2.2 through 3.1.6, in certain uncommon configurations, has a sample_conv_regsub heap-based buffer overflow because of mishandling of the replacement of multiple short patterns with a longer one.
No detection rules found.
No public exploits indexed.
2025-04-09
Published