Back
CVE-2021-40346An 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,…
- 7.5HighCVSS base score
- 58.8%Exploitation in 30 daysEPSS · top 0.9% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By mitre
- 8 days later
· 8 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 58.8% · top 0.9% of all CVEs (15 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
n/a
- affected n/a
References
References10
- https://www.mail-archive.com/haproxy%40formilux.org (opens in a new tab)x_refsource_MISCx_transferred
- https://git.haproxy.org/?p=haproxy.git (opens in a new tab)x_refsource_MISCx_transferred
- DSA-4968 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://www.mail-archive.com/haproxy%40formilux.org/msg41114.html (opens in a new tab)x_refsource_MISCx_transferred
- https://jfrog.com/blog/critical-vulnerability-in-haproxy-cve-2021-40346-integer-overflow-enables-http-smuggling/ (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/haproxy/haproxy/commit/3b69886f7dcc3cfb3d166309018e6cfec9ce2c95 (opens in a new tab)x_refsource_MISCx_transferred
- [cloudstack-dev] 20210910 CVE-2021-40346 (haproxy 2.x) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [cloudstack-dev] 20210910 Re: CVE-2021-40346 (haproxy 2.x) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- FEDORA-2021-3493f9f6ab (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2021-cd5ee418f6 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-27525 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-40346)Record last updated .