{"id":"CVE-2026-84380","published":"2026-09-02T17:58:55Z","modified":"2026-09-02T18:07:36Z","title":"HTTPX2: Conflicting Content-Length and Transfer-Encoding headers can be auto-generated","vendor":"pydantic","product":"httpx2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00356,"percentile":0.21684,"provenance":"source"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"references":[{"url":"https://github.com/pydantic/httpx2/security/advisories/GHSA-pf96-p4fj-6566","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pydantic/httpx2/pull/1137","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/httpx2/commit/829b93a2393212996f613e635261f777d9ec6eab","tags":["x_refsource_MISC"]},{"url":"https://github.com/pydantic/httpx2/releases/tag/v2.11.0","tags":["x_refsource_MISC"]}],"priority":{"score":13.3,"factors":[{"name":"EPSS percentile","points":4.34},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.92}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-11-09","earliestUrl":"https://github.com/federiconbaez/cortex9-httpx2-cl-te-framing-conflict-model","repos":[{"name":"federiconbaez/cortex9-httpx2-cl-te-framing-conflict-model","url":"https://github.com/federiconbaez/cortex9-httpx2-cl-te-framing-conflict-model","stars":0,"created":"2026-11-09"}]},"first":{"date":"2026-11-09","source":"PoC-in-GitHub","url":"https://github.com/federiconbaez/cortex9-httpx2-cl-te-framing-conflict-model"},"provenance":"source"},"vendorSlug":"pydantic","affectedVersions":[{"vendor":"pydantic","product":"httpx2","versions":["< 2.11.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-02T18:07:09.850518Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"httpx2","vulnerableRanges":["<2.11.0"],"patched":["2.11.0"],"from":["GHSA-pf96-p4fj-6566","PYSEC-2026-3849"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-70248","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pydantic-httpx2-cve-2026-84380","children":[{"from":"CVE-2026-84380","to":"CVE-2026-84382","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/httpx2/httpx2/_models.py"],"commits":["https://github.com/pydantic/httpx2/commit/829b93a2393212996f613e635261f777d9ec6eab","https://github.com/pydantic/httpx2/commit/4fd0c70a3f207c618b145934792f791bccfb39f8"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-84378","published":"2026-09-02","fixed":"2.10.0","kev":false,"link":{"from":"CVE-2026-84378","to":"CVE-2026-84380","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:httpx2","fromFixed":"2.10.0","toFixed":"2.11.0","daysApart":0}]}},{"cve":"CVE-2026-84381","published":"2026-09-02","fixed":"2.10.0","kev":false},{"cve":"CVE-2026-84379","published":"2026-09-02","fixed":"2.11.0","kev":false},{"cve":"CVE-2026-84380","published":"2026-09-02","fixed":"2.11.0","kev":false},{"cve":"CVE-2026-84382","published":"2026-09-02","fixed":"2.12.0","kev":false}],"package":"PyPI:httpx2"}}