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.
Published: 2026-09-23
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via runaway computation
Action: Apply Patch
AI Analysis

Impact

The vulnerability is an unbounded variable integer decoding flaw in the hpack library that permits an attacker to supply malformed HTTP/2 header blocks containing long runs of 0xFF bytes. When decoded, the library performs an O(n²) integer parsing routine that can consume quadratic amounts of CPU time or memory, effectively blocking normal processing. This results in a denial‑of‑service condition for the affected process or service.

Affected Systems

The flaw affects the python‑hyper hpack library on any platform where the library is used to decode HTTP/2 headers. Versions prior to 4.2.0 are vulnerable. The issue applies to Python applications that incorporate the hpack decoder, such as web servers or middleware frameworks that implement HTTP/2.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity, and the EPSS score is not available, meaning the exploitation probability cannot be quantified. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the likely attack vector is dispatching crafted HTTP/2 frame payloads with long sequences of 0xFF bytes. Attackers could trigger a denial‑of‑service by sending such payloads, and the run‑away computation could deplete CPU resources and stall the application, impacting availability. Mitigation requires a patch or proper input sanitization.

Generated by OpenCVE AI on September 24, 2026 at 01:52 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to python‑hyper hpack 4.2.0 or newer.
  • If an upgrade is not possible, sanitize header decoder input by filtering out long sequences of 0xFF bytes before passing them to the decoder.
  • Ensure that any HTTP/2 framework in use is configured to use the updated decoder or the sanitization routine.

Generated by OpenCVE AI on September 24, 2026 at 01:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-8v8h-hg4w-mvq2 hpack: Unbounded variable integer decoding can cause run-away computation on malformed input
History

Thu, 24 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 24 Sep 2026 09:45:00 +0000

Type Values Removed Values Added
First Time appeared Python-hyper
Python-hyper hpack
Vendors & Products Python-hyper
Python-hyper hpack

Thu, 24 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important


Wed, 23 Sep 2026 22:30:00 +0000

Type Values Removed Values Added
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.
Title hpack: Unbounded variable integer decoding can cause run-away computation on malformed input
Weaknesses CWE-400
References
Metrics cvssV4_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'}


Subscriptions

Python-hyper Hpack
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-24T13:25:08.900Z

Reserved: 2026-07-07T19:41:00.004Z

Link: CVE-2026-59980

cve-icon Vulnrichment

Updated: 2026-09-24T13:24:43.707Z

cve-icon NVD

Status : Deferred

Published: 2026-09-23T23:17:11.473

Modified: 2026-09-30T17:32:07.107

Link: CVE-2026-59980

cve-icon Redhat

Severity : Important

Publid Date: 2026-09-23T22:07:35Z

Links: CVE-2026-59980 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-24T09:09:11Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling