CVE-2026-59980python-hyper hpack
Medium 6.3 No auth needed
Follow: this CVE · python-hyper · python-hyper hpack We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 4.0
- 6.3
- EPSS
- —
- Auth required
- No
- Published
- Sep 23, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for hpack.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | hpack |
< 4.2.0 |
4.2.0 |
pip install "hpack>=4.2.0" |
| PyPI | hpack |
< 4.2.0 |
4.2.0 |
pip install "hpack>=4.2.0" |
Per OSV / GitHub Advisories (GHSA-8v8h-hg4w-mvq2, PYSEC-2026-4053). Check the version in your lockfile before upgrading.
Affected products
- python-hyper · hpack
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for python-hpack · SUSE · SUSE-SU-2026:4832-1 · Oct 21, 2026 Medium
- Security update for python-hpack · SUSE · SUSE-SU-2026:24216-1 · Oct 9, 2026 Medium
- Security update for python-hpack · SUSE · openSUSE-SU-2026:22070-1 · Oct 9, 2026 Medium
Also: SUSE (+2)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.