{"id":"CVE-2026-59980","published":"2026-09-23T22:07:35Z","modified":"2026-09-24T13:25:08Z","title":"hpack: Unbounded variable integer decoding can cause run-away computation on malformed input","vendor":"python-hyper","product":"hpack","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00302,"percentile":0.23471,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/python-hyper/hpack/security/advisories/GHSA-8v8h-hg4w-mvq2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/python-hyper/hpack/commit/8cfb02c547740e16dbfe7aba77bad84b297cec2c","tags":["x_refsource_MISC"]},{"url":"https://cs.opensource.google/go/x/net/+/master:http2/hpack/hpack.go;l=468;drc=8e2b117aee74f6b86c207a808b0255de45c0a18a","tags":["x_refsource_MISC"]},{"url":"https://docs.rs/http2/0.5.19/src/http2/hpack/decoder.rs.html#403","tags":["x_refsource_MISC"]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":4.69},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"python-hyper","affectedVersions":[{"vendor":"python-hyper","product":"hpack","versions":["< 4.2.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-24T13:24:31.887152Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"hpack","vulnerableRanges":["<4.2.0"],"patched":["4.2.0"],"from":["GHSA-8v8h-hg4w-mvq2","PYSEC-2026-4053"],"provenance":"source"}],"summary":{"text":"The hpack library, the HTTP/2 header encoding component for Python maintained by python-hyper, contains a flaw in its variable integer decoding that is unbounded before version 4.2.0. An attacker with network access can send malformed header input, such as long sequences of 0xFF values, that forces O(n^2) computation and can block further processing, with no authentication or user interaction required and only a low availability impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:36Z"},"euvd":{"id":"EUVD-2026-85712","exploited":false,"provenance":"source"}}