CVE catalog

CVE-2021-40346

haproxy: CVE-2021-40346

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
58.83% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianhaproxysid3.2.26-1fixed
Debianhaproxyforky3.2.26-1fixed
Debianhaproxytrixie3.0.11-1+deb13u3fixed
Debianhaproxytrixie-security3.0.11-1+deb13u4fixed
Debianhaproxybookworm2.6.12-1+deb12u3fixed
Debianhaproxybookworm-security2.6.12-1+deb12u4fixed
Ubuntuhaproxy20.042.0.5-1vulnerable
Ubuntuhaproxy20.042.0.8-1vulnerable
Ubuntuhaproxy20.042.0.9-1vulnerable
Ubuntuhaproxy20.042.0.10-1vulnerable
Ubuntuhaproxy20.042.0.10-1ubuntu1vulnerable
Ubuntuhaproxy20.042.0.11-1ubuntu1vulnerable
Ubuntuhaproxy20.042.0.12-1ubuntu2vulnerable
Ubuntuhaproxy20.042.0.13-1ubuntu2vulnerable
Ubuntuhaproxy20.042.0.13-2vulnerable
Ubuntuhaproxy20.042.0.13-2ubuntu0.1vulnerable
Ubuntuhaproxy20.042.0.13-2ubuntu0.2vulnerable
Ubuntuhaproxy20.042.0.13-2ubuntu0.3fixed
Ubuntuhaproxy20.042.0.5-1vulnerable
Ubuntuhaproxy20.042.0.8-1vulnerable
Ubuntuhaproxy20.042.0.9-1vulnerable
Ubuntuhaproxy20.042.0.10-1vulnerable
Ubuntuhaproxy20.042.0.10-1ubuntu1vulnerable
Ubuntuhaproxy20.042.0.11-1ubuntu1vulnerable
Ubuntuhaproxy20.042.0.12-1ubuntu2vulnerable
Ubuntuhaproxy20.042.0.13-1ubuntu2vulnerable
Ubuntuhaproxy20.042.0.13-2vulnerable
Ubuntuhaproxy20.042.0.13-2ubuntu0.1vulnerable
Ubuntuhaproxy20.042.0.13-2ubuntu0.2vulnerable
Ubuntuhaproxy20.042.0.13-2ubuntu0.3fixed
Ubuntuhaproxy22.042.2.9-2ubuntu2fixed
Opensusehaproxyleap 15.32.0.14-11.11.1fixed
Susehaproxylinux enterprise high availability extension 15 sp22.0.14-11.11.1fixed
Susehaproxylinux enterprise high availability extension 15 sp32.0.14-11.11.1fixed
Opensusehaproxyleap 15.22.0.14-lp152.2.6.1fixed
Susehaproxylinux enterprise high availability extension 152.0.14-3.31.1fixed
Susehaproxylinux enterprise high availability extension 15 sp12.0.14-8.23.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianhaproxysourcesid2.2.16-3not yet assignedNot reportedNot reported
Debianhaproxysourceforky2.2.16-3not yet assignedNot reportedNot reported
Debianhaproxysourcetrixie2.2.16-3not yet assignedNot reportedNot reported
Debianhaproxysourcebookworm2.2.16-3not yet assignedNot reportedNot reported
Ubuntuhaproxydeb20.042.0.13-2ubuntu0.3Not reportedUSN-5063-1Not reported
Ubuntuhaproxydeb20.042.0.13-2ubuntu0.3Not reportedUBUNTU-CVE-2021-40346Not reported
Ubuntuhaproxydeb22.042.2.9-2ubuntu2Not reportedUBUNTU-CVE-2021-40346Not reported
Opensusehaproxyrpmleap 15.32.0.14-11.11.1Not reportedOPENSUSE-SU-2021:2975-1Not reported
Susehaproxyrpmlinux enterprise high availability extension 15 sp22.0.14-11.11.1Not reportedSUSE-SU-2021:2975-1Not reported
Susehaproxyrpmlinux enterprise high availability extension 15 sp32.0.14-11.11.1Not reportedSUSE-SU-2021:2975-1Not reported
Opensusehaproxyrpmleap 15.22.0.14-lp152.2.6.1Not reportedOPENSUSE-SU-2021:1329-1Not reported
Susehaproxyrpmlinux enterprise high availability extension 152.0.14-3.31.1Not reportedSUSE-SU-2021:3258-1Not reported
Susehaproxyrpmlinux enterprise high availability extension 15 sp12.0.14-8.23.1Not reportedSUSE-SU-2021:3257-1Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [haproxy]Unknown
    Details (4)
    • 2.6.12-1+deb12u3 · amd64 · bookworm

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12

    • 2.6.12-1+deb12u3 · arm64 · bookworm

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12

    • 2.6.12-1+deb12u3 · amd64 · bookworm-security

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12

    • 2.6.12-1+deb12u3 · arm64 · bookworm-security

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12

  • [haproxy-doc]Unknown

    Source package: [haproxy]

    Details (4)
    • 2.6.12-1+deb12u3 · all · bookworm

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12

    • 2.6.12-1+deb12u3 · all · bookworm

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12

    • 2.6.12-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12

    • 2.6.12-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12

  • [vim-haproxy]Unknown

    Source package: [haproxy]

    Details (4)
    • 2.6.12-1+deb12u3 · all · bookworm

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12

    • 2.6.12-1+deb12u3 · all · bookworm

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12

    • 2.6.12-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12

    • 2.6.12-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · bookworm; dsa · haproxy · debian · 12

[Debian 13 (Trixie)]

  • [haproxy]Unknown
    Details (5)
    • 3.0.11-1+deb13u3 · amd64 · trixie

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · 13

    • 3.0.11-1+deb13u3 · arm64 · trixie

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · 13

    • 3.0.11-1+deb13u3 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · 13

    • 3.0.11-1+deb13u3 · arm64 · trixie-security

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · 13

    • 3.0.11-1+deb13u4 · amd64 · trixie-security

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · 13

  • [haproxy-doc]Unknown

    Source package: [haproxy]

    Details (5)
    • 3.0.11-1+deb13u3 · all · trixie

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · 13

    • 3.0.11-1+deb13u3 · all · trixie

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · 13

    • 3.0.11-1+deb13u3 · all · trixie-security

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · 13

    • 3.0.11-1+deb13u3 · all · trixie-security · Historical version

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · 13

    • 3.0.11-1+deb13u4 · all · trixie-security

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · 13

  • [vim-haproxy]Unknown

    Source package: [haproxy]

    Details (5)
    • 3.0.11-1+deb13u3 · all · trixie

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · 13

    • 3.0.11-1+deb13u3 · all · trixie

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · 13

    • 3.0.11-1+deb13u3 · all · trixie-security · Historical version

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · 13

    • 3.0.11-1+deb13u3 · all · trixie-security

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · 13

    • 3.0.11-1+deb13u4 · all · trixie-security

      Fixed · Fixed: 2.2.16-3

      dsa · haproxy · debian · 13

Observed:

References