Every CVE Search/ Get API key

CVE-2025-32464

HAProxy 2.2 through 3.1.6, in certain uncommon configurations, has a sample_conv_regsub heap...

6.8 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.78%Up 0.7 points since Apr 9, 2025
90%50%10%1%

What each source reports

CVE List Score used 6.8

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.

Record
CVE-2025-32464
CVSS 3.1
6.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H
Weakness
CWE-1025
Updated
2026-11-02
EUVDEUVD-2025-10415 6.8

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.

Record
EUVD-2025-10415
CVSS 3.1
6.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-frg5-h47x-75j9 6.8

HAProxy 2.2 through 3.1.6, in certain uncommon configurations, has a sample_conv_regsub heap...

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.

Record
GHSA-frg5-h47x-75j9
CVSS 3.1
6.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H
Weakness
CWE-1025
Updated
2026-11-02
NVD 6.8

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.

Record
CVE-2025-32464
CVSS 3.1
6.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H
Weakness
CWE-1025
Updated
2026-11-02
OSV 6.8

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.

Record
CVE-2025-32464
CVSS 3.1
6.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H
Weakness
CWE-1025
Updated
2026-11-02
OSVDEBIAN-CVE-2025-32464 6.8

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.

Record
DEBIAN-CVE-2025-32464
CVSS 3.1
6.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H
Updated
2026-11-02
Show 10 moreShow less
OSVOESA-2025-1495 6.8

haproxy security update

HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for very high traffic web sites and powers quite a number of the world's most visited ones.

Security Fix(es):

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.(CVE-2025-32464)

Record
OESA-2025-1495
CVSS 3.1
6.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2025-32464 6.8

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.

Record
UBUNTU-CVE-2025-32464
CVSS 3.1
6.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H
Updated
2026-11-02
OSVAZL-59712 No score

CVE-2025-32464 affecting package haproxy for versions less than 2.9.11-3

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.

Record
AZL-59712
Updated
2026-11-05
OSVBIT-haproxy-2025-32464 No score

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.

Record
BIT-haproxy-2025-32464
Updated
2026-11-02
OSVMGASA-2025-0138 No score

Updated haproxy packages fix security vulnerability

BUG/MEDIUM: sample: fix risk of overflow when replacing multiple regex back-refsAleandro Prudenzano of Doyensec and Edoardo Geraci of Codean Labs reported a bug in sample_conv_regsub(), which can cause replacements of multiple back-references to overflow the temporary trash buffer. The problem happens when doing "regsub(match,replacement,g)": we're replacing every occurrence of "match" with "replacement" in the input sample, which requires a length check. For this, a max is applied, so that a replacement may not use more than the remaining length in the buffer. However, the length check is made on the replaced pattern and not on the temporary buffer used to carry the new string. This results in the remaining size to be usable for each input match, which can go beyond the temporary buffer size if more than one occurrence has to be replaced with something that's larger than the remaining room.

Record
MGASA-2025-0138
Updated
2026-11-02
OSVopenSUSE-SU-2025:15200-1 No score

haproxy-3.2.0+git0.e134140d2-2.1 on GA media

These are all security issues fixed in the haproxy-3.2.0+git0.e134140d2-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2025:15200-1
Updated
2026-11-02
OSVSUSE-SU-2025:1264-1 No score

Security update for haproxy

This update for haproxy fixes the following issues:

  • CVE-2025-32464: Fixed heap-based buffer overflow in sample_conv_regsub. (bsc#1240971)
Record
SUSE-SU-2025:1264-1
Updated
2026-11-02
OSVSUSE-SU-2025:1338-1 No score

Security update for haproxy

This update for haproxy fixes the following issues:

  • CVE-2025-32464: Fixed heap-based buffer overflow in sample_conv_regsub. (bsc#1240971)
Record
SUSE-SU-2025:1338-1
Updated
2026-11-02
OSVUSN-7431-1 No score

haproxy vulnerability

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.

Record
USN-7431-1
Updated
2026-11-02
OSVUSN-7431-2 No score

haproxy vulnerability

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.

Record
USN-7431-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
haproxy
Azure Linux:3
before 2.9.11-3
2.9.11-3
haproxy
Bitnami
2.2.0 up to 2.9.6, 3.0.0 up to 3.1.7
2.9.63.1.7
haproxy
Debian:12
before 2.6.12-1+deb12u2, plus listed versions
2.6.12-12.6.12-1+deb12u1
2.6.12-1+deb12u2
haproxy
Debian:13
before 3.0.10-1
3.0.10-1
haproxy
Debian:14
before 3.0.10-1
3.0.10-1
haproxy
Debian:11
before 2.2.9-2+deb11u7, plus listed versions
2.2.9-22.2.9-2+deb11u12.2.9-2+deb11u1~bpo10+12.2.9-2+deb11u22.2.9-2+deb11u2~bpo10+1
Show 5 moreShow less
2.2.9-2+deb11u32.2.9-2+deb11u3~bpo10+12.2.9-2+deb11u42.2.9-2+deb11u52.2.9-2+deb11u6
2.2.9-2+deb11u7
haproxy
Mageia:9
before 2.8.14-1.1.mga9
2.8.14-1.1.mga9
haproxy
openEuler:20.03-LTS-SP4
before 2.2.16-9.oe2003sp4
2.2.16-9.oe2003sp4
haproxy
openEuler:22.03-LTS-SP3
before 2.6.6-16.oe2203sp3
2.6.6-16.oe2203sp3
haproxy
openEuler:22.03-LTS-SP4
before 2.6.6-16.oe2203sp4
2.6.6-16.oe2203sp4
Show 13 moreShow less
Affected packages
PackageAffectedFixed
haproxy
openEuler:24.03-LTS
before 2.9.5-9.oe2403sp1
2.9.5-9.oe2403sp1
haproxy
openEuler:24.03-LTS-SP1
before 2.9.5-9.oe2403sp1
2.9.5-9.oe2403sp1
haproxy
SUSE:Linux Enterprise High Availability Extension 15 SP6
before 2.8.11+git0.01c1056a4-150600.3.6.1
2.8.11+git0.01c1056a4-150600.3.6.1
haproxy
openSUSE:Leap 15.6
before 2.8.11+git0.01c1056a4-150600.3.6.1
2.8.11+git0.01c1056a4-150600.3.6.1
haproxy
SUSE:Linux Enterprise Micro 5.3
before 2.4.22+git0.f8e3218e2-150400.3.22.1
2.4.22+git0.f8e3218e2-150400.3.22.1
haproxy
SUSE:Linux Enterprise Micro 5.4
before 2.4.22+git0.f8e3218e2-150400.3.22.1
2.4.22+git0.f8e3218e2-150400.3.22.1
haproxy
SUSE:Linux Enterprise Micro 5.5
before 2.4.22+git0.f8e3218e2-150400.3.22.1
2.4.22+git0.f8e3218e2-150400.3.22.1
haproxy
SUSE:Linux Enterprise High Availability Extension 15 SP4
before 2.4.22+git0.f8e3218e2-150400.3.22.1
2.4.22+git0.f8e3218e2-150400.3.22.1
haproxy
SUSE:Linux Enterprise High Availability Extension 15 SP5
before 2.4.22+git0.f8e3218e2-150400.3.22.1
2.4.22+git0.f8e3218e2-150400.3.22.1
haproxy
Ubuntu:22.04:LTS
before 2.4.24-0ubuntu0.22.04.2, plus listed versions
2.2.9-2ubuntu22.4.8-12.4.8-2ubuntu32.4.11-1ubuntu12.4.12-1ubuntu1
Show 11 moreShow less
2.4.12-1ubuntu22.4.13-1ubuntu12.4.14-1ubuntu12.4.18-0ubuntu12.4.18-0ubuntu1.12.4.18-0ubuntu1.22.4.18-0ubuntu1.32.4.22-0ubuntu0.22.04.12.4.22-0ubuntu0.22.04.22.4.22-0ubuntu0.22.04.32.4.24-0ubuntu0.22.04.1
2.4.24-0ubuntu0.22.04.2
haproxy
Ubuntu:24.04:LTS
before 2.8.5-1ubuntu3.3, plus listed versions
2.6.15-1ubuntu22.8.5-1ubuntu12.8.5-1ubuntu22.8.5-1ubuntu32.8.5-1ubuntu3.12.8.5-1ubuntu3.2
2.8.5-1ubuntu3.3
haproxy
Ubuntu:25.04
before 3.0.8-1ubuntu1.1, plus listed versions
2.9.10-1ubuntu13.0.7-1ubuntu13.0.8-1ubuntu1
3.0.8-1ubuntu1.1
haproxy
openSUSE:Tumbleweed
before 3.2.0+git0.e134140d2-2.1
3.2.0+git0.e134140d2-2.1

History

History
RecordedChangedSources
factsOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-32464 is a medium vulnerability (CVSS 6.8) in Haproxy, published April 9, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.78%, the 56th percentile. Fixed in haproxy 2.9.11-3.

References

Show 12 moreShow less
MoveEnter Open