{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-59980","id":"CVE-2026-59980","title":"hpack: Unbounded variable integer decoding can cause run-away computation on malformed input","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 wor","descriptionLong":"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.","published":"2026-09-23T22:07:35.095Z","updated":"2026-10-28T02:31:00.232786942Z","reserved":"2026-07-07T19:41:00.004Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":6.3,"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":6.3,"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":6.3,"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","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["python-hyper hpack"],"affectedProducts":[{"vendor":"python-hyper","product":"hpack","defaultStatus":null,"versions":[{"version":"< 4.2.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"hpack","purl":"pkg:pypi/hpack","ranges":["<4.2.0"],"fixed":["4.2.0"],"advisory":"GHSA-8v8h-hg4w-mvq2"}],"cwes":["CWE-400"],"aliases":["GHSA-8v8h-hg4w-mvq2","PYSEC-2026-4053"],"references":[{"url":"https://github.com/python-hyper/hpack/security/advisories/GHSA-8v8h-hg4w-mvq2","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/python-hyper/hpack/commit/8cfb02c547740e16dbfe7aba77bad84b297cec2c","tags":["x_refsource_MISC","fix","web"]},{"url":"https://cs.opensource.google/go/x/net/+/master:http2/hpack/hpack.go;l=468;drc=8e2b117aee74f6b86c207a808b0255de45c0a18a","tags":["x_refsource_MISC","web"]},{"url":"https://docs.rs/http2/0.5.19/src/http2/hpack/decoder.rs.html#403","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59980.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59980","tags":["advisory"]},{"url":"https://github.com/python-hyper/hpack","tags":["package"]},{"url":"https://github.com/python-hyper/hpack/releases/tag/v4.2.0","tags":["web"]},{"url":"https://pypi.org/project/hpack","tags":["package"]},{"url":"https://github.com/advisories/GHSA-8v8h-hg4w-mvq2","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00302,"epssPercentile":0.23342,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-59980","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59980","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-59980","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-8v8h-hg4w-mvq2","ok":true,"note":"GHSA-8v8h-hg4w-mvq2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-59980","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}