CVE-2026-59980 Details
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.
A vulnerability in the hpack library, which handles HTTP/2 header encoding in Python, allows for unbounded decoding of variable-length integers. This flaw can lead to excessive computational time when processing malformed input, creating a scenario where the runtime complexity becomes O(n^2). As a result, the library can be effectively stalled by sufficiently large, unsanitized inputs. The issue is present in versions prior to 4.2.0.
Users can update to hpack version 4.2.0 or later, where this vulnerability has been addressed. Alternatively, input to the hpack decoder can be sanitized to remove or limit long sequences of '0xFF' values before decoding.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 23, 2026CISA-ADP
Assessed Sep 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| python-hyper/hpack | < 4.2.0 (semver) |
CPE
Remediation
| |
| Go x/net/http2/hpack | All versions |
CPE
Remediation
| |
| http2 | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 24, 2026 | CVE Modified | CISA-ADP |
| Sep 23, 2026 | New CVE Received | [email protected] |
Volerion