Skip to content
Heist/ feed
Medium

hpack: Unbounded variable integer decoding can cause run-away computation on malformed input

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-59980

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-59980

hpack

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "python-hyper",
    "product": "hpack",
    "versions": [
      {
        "status": "affected",
        "version": "< 4.2.0"
      }
    ]
  }
]
Related CVEs
CVE-2026-59980

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#608 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement