Live threats

All CVEs / Haproxy

CVE-2021-40346Haproxy

High 7.5 No auth neededHigh EPSS

Priority
66
CVSS 3.1
7.5
EPSS
58.8%
probability of exploitation in 30 days · percentile 99
Auth required
No
Published
Sep 8, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-190
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

An integer overflow exists in HAProxy 2.0 through 2.5 in htx_add_header that can be exploited to perform an HTTP request smuggling attack, allowing an attacker to bypass all configured http-request HAProxy ACLs and possibly other ACLs.

Original NVD text.

What to do

  1. Apply the vendor's security update for Haproxy.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
haproxyhaproxy≥ 2.0.0 < 2.0.25
haproxyhaproxy≥ 2.2.0 < 2.2.17
haproxyhaproxy≥ 2.3.0 < 2.3.14
haproxyhaproxy≥ 2.4.0 < 2.4.4
haproxyhaproxy2.5
haproxyhaproxy2.5
haproxyhaproxy2.5
haproxyhaproxy2.5
haproxyhaproxy2.5
haproxyhaproxy2.5
haproxyhaproxy2.5
debiandebian_linux11.0
fedoraprojectfedora33
fedoraprojectfedora34

Official sources

References

Links published by the sources. Open them with care.