Integer Overflow or Wraparound Affecting haproxy package, versions <2.2.16-3


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
92.74% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-HAPROXY-11745357
  • published10 Aug 2025
  • disclosed8 Sept 2021

Introduced: 8 Sep 2021

CVE-2021-40346  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Debian:14 haproxy to version 2.2.16-3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream haproxy package and not the haproxy package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

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.

References

CVSS Base Scores

version 3.1