pypi package report

Is h2 safe?

2 known vulnerabilities, worst severity MODERATE.

// reach

2 direct dependencies

1 carry known advisories, worst HIGH

46 packages depend on it

an advisory here reaches each of them

Create a free accountfor every dependency path, dependent and what to upgrade
// ai model usage

No published models are known to use this package.


cvss
5.3
medium

CVSS v3.1 base score out of 10

epss
0.42%
medium

chance of exploitation in 30 days, 36th percentile of all CVEs

xyz score
not scored

CyberXYZ composite out of 10

fig. 01 — GHSA-6hr6-w5qg-qmwg, the advisory selected below

// 2 advisories

GHSA-6hr6-w5qg-qmwg

MODERATEGitHub ratingCVE-2026-71554
// impact

h2 <=4.4.0 accepts request header blocks containing more than one Host header, and forwards every Host header to the consuming application. Where the consumer downgrades HTTP/2 to HTTP/1.1, the resulting request carries two Host header lines, which is a request smuggling primitive (CWE-444).

// patches

Patched and fixed in v4.4.1

// workarounds

Users of the h2 library are advised to check and follow HTTP semantics best practices in their application code. h2 provides best effort sanity checks, but ultimately the calling code is responsible to ensure proper and safe usage of HTTP/2 as provided by h2, hyperframe, and hpack.

// references

Similar to the previously disclosed and fixed duplicate content-length issue.

// cvss v3.1 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Checked 2026-11-09 at 03:00 UTC. The most recent advisory here was published 2026-08-06. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.