CVE-2026-59980
📛 CVE 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 workaround, sanitize input to hpack decoder for long sequences of `0xFF` values to prevent malicious use.
Overview
- State
- PUBLISHED
- Assigner (CNA)
- GitHub_M
- CVSS severity
- MEDIUM
- CVSS score
- 6.3 / 10
- CVSS 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- Effective score
- 6.3 / 10 MEDIUM source: CNA overview
- CWE(s)
-
CWE-400 - Reserved
- 2026-07-07
- Published
- 2026-09-23 22:07 UTC
- Last updated
- 2026-09-23 22:07 UTC
- Source
- https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/59xxx/CVE-2026-59980.json
NVD triage scoring NVD CVE 2.0
Layer NVD adds on top of the CNA's CVE record — published / last-modified timestamps, exploitability / impact subscores, and the FIRST.org EPSS probability that this CVE will be exploited in the wild in the next 30 days.
- NVD published
- 2026-09-23 23:17:11 UTC
- NVD last modified
- 2026-09-23 23:17:11 UTC
NVD / KEV / EPSS data refreshed 2026-09-24 04:37 UTC. Re-run the 🛰 Backfill from NVD button above to refresh.
Affected products (1)
| Vendor | Product | Versions | Platforms |
|---|---|---|---|
| python-hyper | hpack |
< 4.2.0 (affected)
|
— |
Vendor references (4)
References embedded in the original CVE record by the assigning CNA.
- https://github.com/python-hyper/hpack/security/advisories/GHSA-8v8h-hg4w-mvq2 x_refsource_CONFIRM
- https://github.com/python-hyper/hpack/commit/8cfb02c547740e16dbfe7aba77bad84b297cec2c x_refsource_MISC
- https://cs.opensource.google/go/x/net/+/master:http2/hpack/hpack.go;l=468;drc=8e2b117aee74f6b86c207a808b0255de45c0a18a x_refsource_MISC
- https://docs.rs/http2/0.5.19/src/http2/hpack/decoder.rs.html#403 x_refsource_MISC
Web references (0)
DuckDuckGo results ranked by threat-intel / vendor advisory domains. Generated by the 🔎 Find references (web) button above — same flow as the Remediations search.
No web references attached yet.
NVD-tagged references (4)
Reference list NVD curates from the CNA record, vendor advisories, and third-party reports. The tag chips below are NVD's analyst-assigned categories.
- https://cs.opensource.google/go/x/net/+/master:http2/hpack/hpack.go;l=468;drc=8e2b117aee74f6b86c207a808b0255de45c0a18a security-advisories@github.com
- https://docs.rs/http2/0.5.19/src/http2/hpack/decoder.rs.html#403 security-advisories@github.com
- https://github.com/python-hyper/hpack/commit/8cfb02c547740e16dbfe7aba77bad84b297cec2c security-advisories@github.com
- https://github.com/python-hyper/hpack/security/advisories/GHSA-8v8h-hg4w-mvq2 security-advisories@github.com
AI Forensic Analysis
Only Available for Registered Users. Sign in to view.
Raw JSON
The full cvelistV5 record. Download as CVE-2026-59980.json.
{
"containers": {
"cna": {
"affected": [
{
"product": "hpack",
"vendor": "python-hyper",
"versions": [
{
"status": "affected",
"version": "< 4.2.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"metrics": [
{
"cvssV4_0": {
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "LOW",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-400",
"description": "CWE-400: Uncontrolled Resource Consumption",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-09-23T22:07:35.095Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/python-hyper/hpack/security/advisories/GHSA-8v8h-hg4w-mvq2",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/python-hyper/hpack/security/advisories/GHSA-8v8h-hg4w-mvq2"
},
{
"name": "https://github.com/python-hyper/hpack/commit/8cfb02c547740e16dbfe7aba77bad84b297cec2c",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/python-hyper/hpack/commit/8cfb02c547740e16dbfe7aba77bad84b297cec2c"
},
{
"name": "https://cs.opensource.google/go/x/net/+/master:http2/hpack/hpack.go;l=468;drc=8e2b117aee74f6b86c207a808b0255de45c0a18a",
"tags": [
"x_refsource_MISC"
],
"url": "https://cs.opensource.google/go/x/net/+/master:http2/hpack/hpack.go;l=468;drc=8e2b117aee74f6b86c207a808b0255de45c0a18a"
},
{
"name": "https://docs.rs/http2/0.5.19/src/http2/hpack/decoder.rs.html#403",
"tags": [
"x_refsource_MISC"
],
"url": "https://docs.rs/http2/0.5.19/src/http2/hpack/decoder.rs.html#403"
}
],
"source": {
"advisory": "GHSA-8v8h-hg4w-mvq2",
"discovery": "UNKNOWN"
},
"title": "hpack: Unbounded variable integer decoding can cause run-away computation on malformed input"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-59980",
"datePublished": "2026-09-23T22:07:35.095Z",
"dateReserved": "2026-07-07T19:41:00.004Z",
"dateUpdated": "2026-09-23T22:07:35.095Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}