CVEfocus › CVE database › CVE-2026-59980

CVE-2026-59980hpack: Unbounded variable integer decoding can cause run-away computation on malformed…

CVSS 6.3 MediumEPSS 0.5% (higher than 38% of CVEs)Published 2026-09-23Updated 2026-09-24Assigner: GitHub_M

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.

CWE-400

What to do

Fixed builds are available from PyPI: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
7Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10python-hpackFix pendingUBUNTU-CVE-2026-59980
Ubuntu 26.04python-hpackUnder investigationUBUNTU-CVE-2026-59980
Ubuntu 24.04python-hpackUnder investigationUBUNTU-CVE-2026-59980
Ubuntu 22.04python-hpackUnder investigationUBUNTU-CVE-2026-59980
Ubuntu 20.04python-hpackFix pendingUBUNTU-CVE-2026-59980
Ubuntu 18.04python-hpackFix pendingUBUNTU-CVE-2026-59980
Ubuntu 16.04python-hpackFix pendingUBUNTU-CVE-2026-59980
Debian 14python-hpackFix pendingDEBIAN-CVE-2026-59980
Debian 13python-hpackFix pendingDEBIAN-CVE-2026-59980
Debian 12python-hpackFix pendingDEBIAN-CVE-2026-59980
PyPI libraryhpackFixed4.2.0PYSEC-2026-4053

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.