Skip to main content

HAProxy CVE-2026-55203

| EUVDEUVD-2026-37905 CRITICAL
Integer Overflow or Wraparound (CWE-190)
2026-06-18 VulnCheck GHSA-58mj-cmhg-35rg
Critical
Disputed · 9.0 Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain control of FCGI backend behind HAProxy
  2. Delivery
    Send response with contentLength 65535 and paddingLength >=1
  3. Exploit
    drl uint16_t wraps to 0 in fcgi_conn
  4. Execution
    HAProxy realigns onto attacker bytes as new FCGI header
  5. Persist
    Smuggled response routed to neighboring request
  6. Impact
    Cross-request response smuggling or memory corruption

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires HAProxy to be deployed with at least one FastCGI backend (use_backend / server proto fcgi) and for the attacker to control or compromise that FastCGI application server so it can emit a response record with contentLength == 65535 and paddingLength >= 1; client-side authentication is not required (PR:N) but the AT:P attack requirement - a malicious FCGI backend - is the gating condition. Exploitation is limited by: deployments that only proxy HTTP/HTTPS (no FCGI mux loaded) are not reachable, single-tenant FCGI setups gain little from response smuggling, and the desync primitive depends on HAProxy multiplexing more than one logical stream over the affected FCGI connection.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:L/SI:H/SA:N) yields 9.0 and emphasizes high integrity impact on both the vulnerable system and a subsequent system, which fits a smuggling/desync primitive that pollutes traffic across requests. Crucially, AT:P (attack requirement: present) reflects that exploitation requires a malicious or attacker-controlled FastCGI backend - HAProxy must be configured to mux FCGI to that backend, which is not its default mode and is uncommon compared to HTTP backends. This is not a wormable internet-facing RCE: the threat model is a compromised or rogue FCGI application server abusing the framing bug to smuggle responses to other tenants/requests routed through the same HAProxy. No EPSS, KEV, or POC signals are provided, and no public exploit identified at time of analysis. Real-world priority is high for multi-tenant or shared-backend deployments using FCGI, lower for environments that only proxy HTTP/HTTPS.

Exploit ScenarioDerived

An attacker who has compromised, or operates, a FastCGI application server behind a shared HAProxy instance crafts FCGI records with contentLength 65535 and paddingLength >= 1 so that HAProxy's drl wraps to zero mid-record. HAProxy then realigns onto attacker-chosen bytes inside the padding/body, treating them as a new FCGI record header and routing the smuggled response to the next victim request that happens to share the connection or session. No public exploit identified at time of analysis, but the conditions are mechanically reproducible from the description and the one-line commit diff.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 18, 2026

FastCGI framing desynchronization in HAProxy through 3.4.0 stems from a 16-bit integer overflow in the fcgi_conn demux record length (drl) field, which wraps to zero when a malicious backend sends a record with contentLength 65535 and paddingLength of 1 or more. A hostile FastCGI backend can leverage the misparse to desynchronize HAProxy's FCGI parser, leading to request routing errors, response smuggling, or memory safety issues. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV; the upstream commit 5985276 widens drl to uint32_t.

RemediationAI

Upstream fix available (commit 5985276); a released patched version is not independently confirmed in the supplied data, so operators should upgrade to the first HAProxy release that includes commit 5985276735777634d8c85f1d73bb7764aab0d6dd or backport that one-line widening of fcgi_conn.drl from uint16_t to uint32_t into their build, tracking the vendor advisory at https://github.com/haproxy/haproxy/commit/5985276735777634d8c85f1d73bb7764aab0d6dd and the VulnCheck writeup at https://www.vulncheck.com/advisories/haproxy-integer-overflow-in-fcgi-demux-record-length-field. As an interim mitigation, stop using HAProxy's FastCGI mux for untrusted or shared backends - switch those backends to HTTP/H2 proxying via a local FCGI-to-HTTP shim (trade-off: extra hop and latency), or pin each frontend to a single dedicated trusted FCGI backend so a misparse cannot smuggle responses across tenants. Where feasible, restrict network reachability of FCGI application servers so only HAProxy can talk to them and ensure those servers are fully patched and integrity-monitored, which limits, but does not eliminate, the exposure from a compromised backend.

Affected VersionsENISA

haproxy 0 ≤3.4.0

Affected Packages

euvd haproxy no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

HAProxy is a widely deployed reverse proxy and load balancer; its mux_fcgi.c implements the FastCGI multiplexer used when HAProxy forwards requests to FastCGI application backends (e.g., PHP-FPM). The fcgi_conn structure tracked the current demux record length in a uint16_t field named drl, which is the same width as the FCGI contentLength field but cannot hold contentLength + paddingLength when their sum exceeds 65535. This is a classic CWE-190 integer overflow: drl wraps to zero, so the demuxer believes the current record has been fully consumed and treats the subsequent padding bytes as the start of a new FCGI record header, breaking framing alignment between HAProxy and the backend. The upstream fix widens drl to uint32_t in struct fcgi_conn within src/mux_fcgi.c, eliminating the wrap. The affected CPE is cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:* covering versions up to and including 3.4.0.

Know when Haproxy gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Medium–Critical)
Vendor (VulnCheck) PRIMARY 9.0 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:L/SI:H/SA:N
vuln.today AI 8.1 HIGH

Network-reachable but requires a malicious FCGI backend (AC:H); no client auth (PR:N); framing desync crosses to other requests (S:C) with high integrity impact and limited confidentiality/availability fallout.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:L
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:L/SC:L/SI:H/SA:N
SUSE 5.6 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Red Hat 7.5 HIGH

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
High
Subsequent system: Availability
None

DescriptionCVE.org

HAProxy through 3.4.0, fixed in commit 5985276, contains an integer overflow vulnerability in the fcgi_conn structure's drl field that allows buffer misparse as new FCGI record headers. When contentLength is 65535 and paddingLength is 1 or more, the drl field wraps to 0, causing incorrect record consumption and allowing malicious FastCGI backends to desynchronize the FCGI framing parser, potentially causing request routing errors, response smuggling, or memory safety issues.

Executive ViewAI

Why It Matters

HAProxy through version 3.4.0 contains a critical integer overflow vulnerability in FastCGI frame parsing; no public exploit identified at time of analysis, though malicious backend servers can exploit this to desynchronize request routing and enable response smuggling. Organizations using HAProxy with FastCGI backends face significant risk of unauthorized data exposure between sessions and application disruption. The vulnerability requires urgent remediation given its CRITICAL severity and ability to bypass security controls.

Business Impact: Severe
Compensating Controls

Apply vendor patch. Interim mitigations: Network segmentation to restrict backend server connectivity; enhanced logging of FastCGI frame parsing anomalies.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Social Media
2
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Partial

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +45
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

CVE-2016-5360 HIGH
7.5 Jun 30

HAproxy 1.6.x before 1.6.6, when a deny comes from a reqdeny rule, allows remote attackers to cause a denial of service

CVE-2021-40346 HIGH POC
7.5 Sep 08

An integer overflow exists in HAProxy 2.0 through 2.5 in htx_add_header that can be exploited to perform an HTTP request

CVE-2019-18277 HIGH POC
7.5 Oct 23

A flaw was found in HAProxy before 2.0.6. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no

CVE-2019-14243 HIGH POC
7.5 Jul 23

headerv2.go in mastercactapus proxyprotocol before 0.0.2, as used in the mastercactapus caddy-proxyprotocol plugin throu

CVE-2019-14241 HIGH POC
7.5 Jul 23

HAProxy through 2.0.2 allows attackers to cause a denial of service (ha_panic) via vectors related to htx_manage_client_

CVE-2023-40225 HIGH POC
7.2 Aug 10

HAProxy through 2.0.32, 2.1.x and 2.2.x through 2.2.30, 2.3.x and 2.4.x through 2.4.23, 2.5.x and 2.6.x before 2.6.15, 2

CVE-2019-8953 MEDIUM POC
6.1 Feb 20

The HAProxy package before 0.59_16 for pfSense has XSS via the desc (aka Description) or table_actionsaclN parameter, re

CVE-2026-109575 CRITICAL
9.8 Oct 12

Unauthenticated remote attackers can gain full administrative control of the HAProxy Data Plane API - and through it the

CVE-2019-19330 CRITICAL
9.8 Nov 27

The HTTP/2 implementation in HAProxy before 2.0.10 mishandles headers, as demonstrated by carriage return (CR, ASCII 0xd

CVE-2023-25725 CRITICAL
9.1 Feb 14

HAProxy before 2.7.3 may allow a bypass of access control because HTTP/1 headers are inadvertently lost in some situatio

CVE-2014-6269 MEDIUM POC
5.0 Sep 30

Multiple integer overflows in the http_request_forward_body function in proto_http.c in HAProxy 1.5-dev23 before 1.5.4 a

CVE-2020-11100 HIGH
8.8 Apr 02

In hpack_dht_insert in hpack-tbl.c in the HPACK decoder in HAProxy 1.8 through 2.x before 2.1.4, a remote attacker can w

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise High Availability Extension 15 SP4 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP5 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP6 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise Micro 5.3 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy