Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-40346

54
FAUCET Score

CVE-2021-40346 is an integer overflow vulnerability in HAProxy versions 2.0 through 2.5, specifically within the htx_add_header function. This flaw enables HTTP request smuggling, allowing attackers to bypass HAProxy ACLs and potentially other security controls. With a CVSS score of 7.5 (High) and an EPSS score indicating high exploitability, this vulnerability poses a significant risk due to its network-based attack vector and low attack complexity, leading to high integrity impact. While there is no known active exploitation or public exploit code (Metasploit, Nuclei, ExploitDB), the vulnerability has garnered community discussion and media coverage, suggesting awareness and potential for future exploitation.

Impacted Technologies

VendorProductVersion(s)CPE
>= 2.0.0, < 2.0.25CPE matchmatch criteria
cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:*
>= 2.2.0, < 2.2.17CPE matchmatch criteria
cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:*
>= 2.3.0, < 2.3.14CPE matchmatch criteria
cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:*
>= 2.4.0, < 2.4.4CPE matchmatch criteria
cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:*
2.5CPE matchmatch criteria
cpe:2.3:a:haproxy:haproxy:2.5:dev0:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

7.5HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
HIGH
Availability Impact
NONE
Exploitability Score
3.9
Impact Score
3.6
CvssVersion
3.1

Exploit Intelligence

EPSS Score
57.93%
Probability of exploitation in next 30 days
EPSS Percentile
99.0%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.5793 is in the 98th percentile among its peer group of 51,485 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (5)

github_advisorypatch availablevia nvd_reference
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.7Fixed in: haproxy-0:2.0.19-2.el8
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.6Fixed in: haproxy-0:2.0.16-4.el8
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.8Fixed in: haproxy-0:2.2.13-2.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.9Fixed in: haproxy-0:2.2.15-2.el8
View patch

Vendor Advisories (1)

redhatCVE-2021-40346Moderate

haproxy: request smuggling attack or response splitting via duplicate content-length header

Sep 8, 2021

References

git.haproxy.org
PatchVendor Advisory
github.com / haproxy/haproxy/commit/3b69886f7dcc3cfb3d166309018e6cfec9ce2c95
PatchThird Party Advisory
jfrog.com / blog/critical-vulnerability-in-haproxy-cve-2021-40346-integer-overflow-enables-http-smuggling
ExploitMitigationThird Party Advisory
lists.apache.org / thread.html/r284567dd7523f5823e2ce995f787ccd37b1cc4108779c50a97c79120%40%3Cdev.cloudstack.apache.org%3E
lists.apache.org / thread.html/r8a58fd7a29808e5d27ee56877745e58dc4bb041b9af94601554e2a5a%40%3Cdev.cloudstack.apache.org%3E
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/A7V2IYO22LWVBGUNZWVKNTMDV4KINLFO
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/MXTSBY2TEAXWZVFQM3CXHJFRONX7PEMN
debian.org / security/2021/dsa-4968
Third Party Advisory
mail-archive.com / haproxy%40formilux.org
mail-archive.com / haproxy%40formilux.org/msg41114.html