BreachSpiderVerified, not vibes

CVE-2023-40225 in Haproxy

High 7.2

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.7.x before 2.7.10, and 2.8.x before 2.8.2 forwards empty Content-Length headers, violating RFC 9110 section 8.6. In uncommon cases, an HTTP/1 server behind HAProxy may interpret the payload as an ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.2
EPSS5.9%
EPSS percentile94th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component, no availability impact.

Affected products and versions

VendorProductAffected versions
Haproxy Haproxy ≤ 2.0.32 ≥ 2.2.0, ≤ 2.2.30 ≥ 2.4.0, ≤ 2.4.23 ≥ 2.5.0, < 2.6.15 ≥ 2.7.0, < 2.7.10 ≥ 2.8.0, < 2.8.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.7.x before 2.7.10, and 2.8.x before 2.8.2 forwards empty Content-Length headers, violating RFC 9110 section 8.6. In uncommon cases, an HTTP/1 server behind HAProxy may interpret the payload as an extra request.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-40225
BreachSpider IDBS-2023-GLOBAL-343324-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Published2023-08-10
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-444: CWE-444

Related attack patterns (CAPEC)

CAPEC-33 HTTP Request Smuggling via CWE-444

CAPEC-273 HTTP Response Smuggling via CWE-444

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

{ "executive_summary": "HAProxy versions prior to 2.6.15, 2.7.10, and 2.8.2 are vulnerable to a flaw where empty Content-Length headers are forwarded, potentially causing an HTTP/1 server to misinterpret the payload as an extra request.", "attack_vector_detail": "An attacker could exploit this vulnerability by sending requests with empty Content-Length headers to a server behind HAProxy. This could lead to unexpected behavior, such as the server processing the payload as an additional request, potentially leading to denial of service or other issues.", "affected_components": ["HAProxy 2.0.32", "HAProxy 2.1.x", "HAProxy 2.2.x through 2.2.30", "HAProxy 2.3.x", "HAProxy 2.4.x through 2.4.23", "HAProxy 2.5.x", "HAProxy 2.6.x before 2.6.15", "HAProxy 2.7.x before 2.7.10", "HAProxy 2.8.x before 2.8.2"],

Vulnerability details: 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.7.x before 2.7.10, and 2.8.x before 2.8.2 forwards empty Content-Length headers, violating RFC 9110 section 8.6. In uncommon cases, an HTTP/1 server behind HAProxy may interpret the payload as an extra request. CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N.

Questions

What is CVE-2023-40225?

{ "executive_summary": "HAProxy versions prior to 2.6.15, 2.7.10, and 2.8.2 are vulnerable to a flaw where empty Content-Length headers are forwarded, potentially causing an HTTP/1 server to misinterpret the payload as an extra request.", "attack_vector_detail": "An attacker could exploit this vulnerability by sending requests with empty Content-Length headers to a server behind HAProxy. This could lead to unexpected behavior, such as the server processing the payload as an additional reques

What is the CVSS score for CVE-2023-40225?

CVE-2023-40225 has CVSS 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N. EPSS: 5.9%.

Is CVE-2023-40225 actively exploited?

No confirmed active exploitation of CVE-2023-40225 as of 2026-09-25.

How do I remediate CVE-2023-40225?

Priority: MEDIUM. PSIRT: [email protected]

What systems are affected by CVE-2023-40225?

CVE-2023-40225 affects Haproxy Haproxy.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Haproxy","product":"Haproxy","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.