cve.bz

CVE-2016-6581 (HPACK Bomb) python: Resource Management Errors

7.5 highEPSS 1.9%Fix available

Known as HPACK Bomb

High (7.5) in python. EPSS 1.9% estimated probability of exploitation activity in the next 30 days. Fixed in hpack 2.3.0.

On this page
A HTTP/2 implementation built using any version of the Python HPACK library between v1.0.0 and v2.2.0 could be targeted for a denial of service attack, specifically a so-called "HPACK Bomb" attack. This attack occurs when an attacker inserts a header field that is exactly the size of the HPACK dynamic header table into the dynamic header table. The attacker can then send a header block that is simply repeated requests to expand that field in the dynamic table. This can lead to a gigantic compression ratio of 4,096 or better, meaning that 16kB of data can decompress to 64MB of data on the target machine.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.9% (unchanged from 1.9% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 80th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-399 Resource Management Errors
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-6581 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-6581?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-6581?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-6581 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:hpack1.0
python:hpack2.0
python:hpack2.0.1
python:hpack2.1.1
python:hpack2.2
python:hyper0.4
python:hyper0.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-ffq8-576r-v26gPyPIhpack>=1.0.0 <2.3.02.3.0
PYSEC-2017-87PyPIhpack<2.3.02.3.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14python-hpack2.3.0-1DEBIAN-CVE-2016-6581
Ubuntu16.04:LTSpython-hpackno fix listedUBUNTU-CVE-2016-6581
openSUSETumbleweedpython-hpack4.0.0-2.7openSUSE-SU-2024:14140-1
openSUSETumbleweedpython-hpack4.2.0-1.1openSUSE-SU-2026:11556-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

References

Check your stackJSON