CVE-2026-84380: HTTPX2: Conflicting Content-Length and Transfer-Encoding headers can be auto-generated
Vulnerability summary
CVE-2026-84380 is a medium (CVSS 5.6) vulnerability in pydantic httpx2. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 12.7% of scored vulnerabilities.
Not severe (CVSS 5.6, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 02-09-2026PublishedVulnerability first disclosed.
- 02-09-2026Last modifiedVulnerability information updated.
Description
HTTPX2 is a next generation HTTP client for Python. Prior to 2.11.0, Request._prepare() in src/httpx2/httpx2/_models.py can add a body-derived Content-Length header to a request that already contains a caller-supplied Transfer-Encoding header because its setdefault() processing checks each default header independently rather than treating the two framing headers as mutually exclusive. Fixed-size byte, JSON, form, and known-length multipart bodies can therefore be serialized over HTTP/1.1 with both headers, allowing request smuggling or connection desynchronization when downstream intermediaries disagree about which framing header takes precedence. This issue is fixed in version 2.11.0.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · PypiEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- OSV · DebianEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- OSV · WolfiEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- OSV · ChainguardEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- NVDNIST5.6MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- OSV · UbuntuEcosystem advisory · calculated5.6MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
13%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.22% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard5 products
- lmcache-cuda-13.0< 0.5.3-r2
- py3.10-httpx2< 2.12.0-r0
- py3.11-httpx2< 2.12.0-r0
- py3.12-httpx2< 2.12.0-r0
- py3.13-httpx2< 2.12.0-r0
Wolfi4 products
- py3.10-httpx2< 2.12.0-r0
- py3.11-httpx2< 2.12.0-r0
- py3.12-httpx2< 2.12.0-r0
- py3.13-httpx2< 2.12.0-r0
Debian1 product
- python-httpx2< 2.12.0-1
Pydantic1 product
- httpx2< 2.11.0
PyPI1 product
- httpx2< 2.11.0
Ubuntu1 product
- python-httpx2All versions (No fix recorded)
6 vendors · 13 products
References
12 links- github.com/pydantic/httpx2/security/advisories/GHSA-pf96-p4fj-6566X Refsource CONFIRMWEBAdvisoryREPORT
- github.com/pydantic/httpx2/commit/829b93a2393212996f613e635261f777d9ec6eabX Refsource MISCWEBFIXREPORT
- github.com/pydantic/httpx2PACKAGE
- pypi.org/project/httpx2PACKAGE