CVE-2026-59980Python Hyper Hpack uncontrolled resource consumption
CVSS score
6.3
Medium
CVSS 4.0 from github.com
Exploit probability (EPSS)
0.30%
0.30% chance of exploitation in the next 30 days, higher than 23.3% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
hpack is an HTTP/2 Header Encoding for Python. Prior to version 4.2.0, unbounded variable integer decoding can cause run-away computation on malformed input leading to O(n^2) runtime, effectively blocking further processing with large enough unsanitized input. A fix is available in python-hyper/hpack v4.2.0 to restricted variable integer decoding to uint32 to prevent run-away computation. As a workaround, sanitize input to hpack decoder for long sequences of `0xFF` values to prevent malicious use.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running python-hyper Hpack and compare its version with the affected versions.
Update to a fixed version
- Update Hpack to 4.2.0 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| python-hyper Hpack | < 4.2.0 |
Weakness
- CWE-400 uncontrolled resource consumption
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-59980 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-59980?
CVE-2026-59980 has a CVSS 4.0 base score of 6.3 (medium).
Which versions are affected?
Python Hyper Hpack (< 4.2.0)
Is there a patch for CVE-2026-59980?
The official record links to vendor advisories or patches; see “What to do” above.
References
- cs.opensource.google/go/x/net/+/master:http2/hpack/hpack.go;l=468;drc=8e2b117aee74f6b86c207a808b0255de45c0a18a
- docs.rs/http2/0.5.19/src/http2/hpack/decoder.rs.html#403
- github.com/python-hyper/hpack/commit/8cfb02c547740e16dbfe7aba77bad84b297cec2c
- github.com/python-hyper/hpack/security/advisories/GHSA-8v8h-hg4w-mvq2
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.