Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-59980 EUVD-2026-85712GHSA-8v8h-hg4w-mvq2PYSEC-2026-4053

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

Published Sep 23, 2026 · Updated Sep 24, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
python-hyper hpack < 4.2.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-hpack No fix yet —
Debian 13 python-hpack No fix yet —
Debian 12 python-hpack No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 python-hpack No fix yet —
Ubuntu 26.04 LTS python-hpack No fix yet —
Ubuntu 24.04 LTS python-hpack No fix yet —
Ubuntu 22.04 LTS python-hpack No fix yet —
Ubuntu 20.04 LTS python-hpack No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS python-hpack No fix yet —
Ubuntu 16.04 LTS python-hpack No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 python-hpack 3.0.0-150200.3.5.1 SUSE-SU-2026:4593-1
SLES 3 python-hpack 4.0.0-150400.8.6.1 SUSE-SU-2026:4832-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 python-hpack 4.1.0-160000.3.1 SUSE-SU-2026:24216-1
SLES 16.0 python-hpack 4.1.0-160000.3.1 SUSE-SU-2026:24216-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-hpack 4.2.0-1.1 openSUSE-SU-2026:11556-1
openSUSE Leap 16.0 python-hpack 4.1.0-160000.3.1 openSUSE-SU-2026:22070-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 python3-hpack 4.0.0-2.amzn2023.0.3 ALAS2023-2026-3159

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI hpack < 4.2.0 4.2.0 GHSA-8v8h-hg4w-mvq2

Advisories 6

References