python-httpx2 — security advisory
HTTPX2 is a next generation HTTP client for Python. Prior to 2.12.0, the HTTPX2 content decoders in src/httpx2/httpx2/_decoders.py fully inflate each gzip, deflate, br, or zstd network chunk before iter_bytes() or aiter_bytes() yields bounded pieces to the application. A 64 KiB compressed chunk can expand to approximately 64 MiB in one intermediate allocation, so an attacker-controlled or compromised server can cause severe memory pressure or out-of-memory process termination even when the application streams the response. This issue is fixed in version 2.12.0.
- Products
- python-httpx2
- Affected versions
- 2.5.0-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-84382
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:23 UTC · Revision 1
Source evidence
HTTPX2 is a next generation HTTP client for Python. Prior to 2.12.0, the HTTPX2 content decoders in src/httpx2/httpx2/_decoders.py fully inflate each gzip, deflate, br, or zstd network chunk before iter_bytes() or aiter_bytes() yields bounded pieces to the application. A 64 KiB compressed chunk can expand to approximately 64 MiB in one intermediate allocation, so an attacker-controlled or compromised server can cause severe memory pressure or out-of-memory process termination even when the application streams the response. This issue is fixed in version 2.12.0.
osv:UBUNTU-CVE-2026-84382
python-httpx2
Fixed versions: Not specified
Complete source record
{
"id": "fa2df72448eefc2918cf21309cb44ba7323e7f96fe1ae11b2d1cd5bb80642d47",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-84382",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-84382",
"summary": "HTTPX2 is a next generation HTTP client for Python. Prior to 2.12.0, the HTTPX2 content decoders in src/httpx2/httpx2/_decoders.py fully inflate each gzip, deflate, br, or zstd network chunk before iter_bytes() or aiter_bytes() yields bounded pieces to the application. A 64 KiB compressed chunk can expand to approximately 64 MiB in one intermediate allocation, so an attacker-controlled or compromised server can cause severe memory pressure or out-of-memory process termination even when the application streams the response. This issue is fixed in version 2.12.0.",
"evidence": "osv:UBUNTU-CVE-2026-84382",
"products": [
{
"name": {
"value": "python-httpx2",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.5.0-1",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-84382",
"aliases": [
"UBUNTU-CVE-2026-84382"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-httpx2",
"purl": "pkg:deb/ubuntu/python-httpx2?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.5.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-84382.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-httpcore2",
"binary_version": "2.5.0-1"
},
{
"binary_name": "python3-httpx2",
"binary_version": "2.5.0-1"
}
]
}
}
],
"modified": "2026-10-17T13:01:12.715367392Z",
"provider": "osv",
"upstream": [
"CVE-2026-84382"
],
"references": [
"https://ubuntu.com/security/CVE-2026-84382",
"https://www.cve.org/CVERecord?id=CVE-2026-84382",
"https://github.com/pydantic/httpx2/security/advisories/GHSA-8xx6-hgc6-gc2m",
"https://github.com/pydantic/httpx2/pull/1126",
"https://github.com/pydantic/httpx2/commit/4fd0c70a3f207c618b145934792f791bccfb39f8",
"https://github.com/pydantic/httpx2/releases/tag/v2.12.0"
]
},
"related_cves": [
{
"value": "CVE-2026-84382",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 361247,
"published_at": "2026-09-02T19:18:00+00:00"
}