Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HAProxy | HAProxy | 2.2 – ≤ 3.1.6 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | haproxy | 3.0.10-1 | — |
| Debian 13 | haproxy | 3.0.10-1 | — |
| Debian 12 | haproxy | 2.6.12-1+deb12u2 | — |
| Debian 11 | haproxy | 2.2.9-2+deb11u7 | DLA-4135-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.04 | haproxy | 3.0.8-1ubuntu1.1 | USN-7431-2 |
| Ubuntu 24.04 LTS | haproxy | 2.8.5-1ubuntu3.3 | USN-7431-1 |
| Ubuntu 22.04 LTS | haproxy | 2.4.24-0ubuntu0.22.04.2 | USN-7431-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | haproxy | 2.8.11+git0.01c1056a4-150600.3.6.1 | SUSE-SU-2025:1264-1 |
| SLES 15 SP5 | haproxy | 2.4.22+git0.f8e3218e2-150400.3.22.1 | SUSE-SU-2025:1338-1 |
| SLES 15 SP4 | haproxy | 2.4.22+git0.f8e3218e2-150400.3.22.1 | SUSE-SU-2025:1338-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 5.5 | haproxy | 2.4.22+git0.f8e3218e2-150400.3.22.1 | SUSE-SU-2025:1338-1 |
| SLE Micro 5.4 | haproxy | 2.4.22+git0.f8e3218e2-150400.3.22.1 | SUSE-SU-2025:1338-1 |
| SLE Micro 5.3 | haproxy | 2.4.22+git0.f8e3218e2-150400.3.22.1 | SUSE-SU-2025:1338-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | haproxy | 3.2.0+git0.e134140d2-2.1 | openSUSE-SU-2025:15200-1 |
| openSUSE Leap 15.6 | haproxy | 2.8.11+git0.01c1056a4-150600.3.6.1 | SUSE-SU-2025:1264-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | haproxy | 2.9.11-3 | — |
Advisories 7
- openSUSE-SU-2025:15200-1 haproxy-3.2.0+git0.e134140d2-2.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- DLA-4135-1 haproxy - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-7431-1 haproxy vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2025:1338-1 Security update for haproxy SUSE / openSUSE Security Updates · Feb 4, 2026
- USN-7431-2 haproxy vulnerability Ubuntu Security Notices (USN) · Feb 4, 2026
- SUSE-SU-2025:1264-1 Security update for haproxy SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-0770 HAProxy: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Jun 5, 2025