Skip to content

httpx2 (PyPI)

A next generation HTTP client for Python. 🦋

Advisories
15
Latest version
2.16.0
Released Oct 21, 2026
License
BSD-3-Clause
OpenSSF Scorecard
—

How to fix

Upgrading to 2.12.0 or later clears every advisory below that has a fix.

Upgrade commands
pip
pip install --upgrade "httpx2>=2.16.0"
poetry
poetry add "httpx2>=2.16.0"
uv
uv add "httpx2>=2.16.0"

Known vulnerabilities

AdvisorySeverityAffectedFixed in
GHSA-8xx6-hgc6-gc2m
HTTPX2: Streaming response decompression does not bound peak memory (decompression amplification)
High
EPSS 0.63%
< 2.12.0
2.12.0
GHSA-8xx6-hgc6-gc2m
HTTPX2: Streaming response decompression does not bound peak memory (decompression amplification)
High
EPSS 0.63%
< 2.12.0
2.12.0
GHSA-8xx6-hgc6-gc2m
HTTPX2: Streaming response decompression does not bound peak memory (decompression amplification)
High
EPSS 0.63%
< 2.12.0
2.12.0
GHSA-7mj9-2mp8-4m2p
HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
High
EPSS 0.11%
>= 2.6.0, < 2.10.0
2.10.0
GHSA-7mj9-2mp8-4m2p
HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
High
EPSS 0.11%
>= 2.6.0, < 2.10.0
2.10.0
GHSA-7mj9-2mp8-4m2p
HTTPX2: Secure WebSocket traffic sent without TLS through SOCKS proxies
High
EPSS 0.11%
>= 2.6.0, < 2.10.0
2.10.0
GHSA-pf96-p4fj-6566
HTTPX2: Conflicting Content-Length and Transfer-Encoding headers can be auto-generated
Medium
EPSS 0.22%
< 2.11.0
2.11.0
GHSA-pf96-p4fj-6566
HTTPX2: Conflicting Content-Length and Transfer-Encoding headers can be auto-generated
Medium
EPSS 0.22%
< 2.11.0
2.11.0
GHSA-pf96-p4fj-6566
HTTPX2: Conflicting Content-Length and Transfer-Encoding headers can be auto-generated
Medium
EPSS 0.22%
< 2.11.0
2.11.0
GHSA-h4x7-gw46-3wm6
HTTPX2: Multipart part header injection via unvalidated file Content-Type and custom headers
Medium
EPSS 0.32%
< 2.11.0
2.11.0
GHSA-h4x7-gw46-3wm6
HTTPX2: Multipart part header injection via unvalidated file Content-Type and custom headers
Medium
EPSS 0.32%
< 2.11.0
2.11.0
GHSA-h4x7-gw46-3wm6
HTTPX2: Multipart part header injection via unvalidated file Content-Type and custom headers
Medium
EPSS 0.32%
< 2.11.0
2.11.0
GHSA-f2fp-rgf2-35cp
HTTPX2: Quadratic SSE line buffering can cause CPU denial of service
Medium
EPSS 0.32%
>= 2.5.0, < 2.10.0
2.10.0
GHSA-f2fp-rgf2-35cp
HTTPX2: Quadratic SSE line buffering can cause CPU denial of service
Medium
EPSS 0.32%
>= 2.5.0, < 2.10.0
2.10.0
GHSA-f2fp-rgf2-35cp
HTTPX2: Quadratic SSE line buffering can cause CPU denial of service
Medium
EPSS 0.32%
>= 2.5.0, < 2.10.0
2.10.0

Source: https://github.com/pydantic/httpx2

Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor