CVE catalog

CVE-2026-59980

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 bloc

[CVE catalog]

Severity
Medium · CVSS 6.3CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.30% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-hpacksid4.0.0-4vulnerable
Debianpython-hpackforky4.0.0-4vulnerable
Debianpython-hpacktrixie4.0.0-3vulnerable
Debianpython-hpackbookworm4.0.0-2vulnerable
PyPIhpackNot reported4.2.0fixed
PyPIhpackNot reported4.2.0fixed
Susepython-hpacklinux enterprise module for server applications 15 sp73.0.0-150200.3.5.1fixed
Susepython-hpacklinux enterprise server 16.04.1.0-160000.3.1fixed
Susepython-hpacklinux enterprise server for sap applications 16.04.1.0-160000.3.1fixed
Opensusepython-hpackleap 16.04.1.0-160000.3.1fixed
Susepython-hpacklinux enterprise module for python 3 15 sp74.0.0-150400.8.6.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-hpacksourcesid(unfixed)not yet assignedNot reported[1148944]
Debianpython-hpacksourceforky(unfixed)not yet assignedNot reported[1148944]
Debianpython-hpacksourcetrixie(unfixed)not yet assignedNot reported[1148944]
Debianpython-hpacksourcebookworm(unfixed)not yet assignedNot reported[1148944]
PyPIhpackPyPINot reported4.2.0Not reportedGHSA-8V8H-HG4W-MVQ2Not reported
PyPIhpackPyPINot reported4.2.0Not reportedPYSEC-2026-4053Not reported
Susepython-hpackrpmlinux enterprise module for server applications 15 sp73.0.0-150200.3.5.1Not reportedSUSE-SU-2026:4593-1Not reported
Susepython-hpackrpmlinux enterprise server 16.04.1.0-160000.3.1Not reportedSUSE-SU-2026:24216-1Not reported
Susepython-hpackrpmlinux enterprise server for sap applications 16.04.1.0-160000.3.1Not reportedSUSE-SU-2026:24216-1Not reported
Opensusepython-hpackrpmleap 16.04.1.0-160000.3.1Not reportedOPENSUSE-SU-2026:22070-1Not reported
Susepython-hpackrpmlinux enterprise module for python 3 15 sp74.0.0-150400.8.6.1Not reportedSUSE-SU-2026:4832-1Not reported

[Debian bug #1148944]

Notes

[trixie] python-hpack: Minor issue [bookworm] python-hpack: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-hpack]Affected

    Source package: [python-hpack]

    Details (2)
    • 4.0.0-2 · all · bookworm

      Affected

      nvd · python-hpack · debian · bookworm; nvd · python-hpack · debian · 12

    • 4.0.0-2 · all · bookworm

      Affected

      nvd · python-hpack · debian · bookworm; nvd · python-hpack · debian · 12

[Debian 13 (Trixie)]

  • [python3-hpack]Affected

    Source package: [python-hpack]

    Details (2)
    • 4.0.0-3 · all · trixie

      Affected

      nvd · python-hpack · debian · 13

    • 4.0.0-3 · all · trixie

      Affected

      nvd · python-hpack · debian · 13

Observed:

References