Skip to main content
Mallory
HighVulnerability

CVE-2016-6581: HPACK Bomb Denial of Service in Python HPACK

Published Jan 10, 2017 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v3
EPSS1.9%80th percentile
CISA KEVNoNot listed
In the wildReported1 exploitation record in Mallory
Vendor
Python
IdentifiersCVE-2016-6581CWE-409

CVE-2016-6581 is a denial-of-service vulnerability in Python HPACK versions 1.0.0 through 2.2.0. An attacker can insert a header field sized to fill the HPACK dynamic header table, then submit a header block containing repeated references to that entry. Processing the references causes disproportionate expansion of the compressed input, producing compression amplification of approximately 4,096:1 or greater. HTTP/2 implementations built on the affected library, including affected Hyper HTTP/2 consumers, can therefore allocate excessive memory while decoding attacker-controlled header blocks.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

A remote attacker can exhaust memory and degrade or terminate an HTTP/2 service. A small compressed header block can expand into tens of megabytes of in-memory header data; the documented example expands approximately 16 KB of input into 64 MB on the target.

Mitigation

If you can’t patch tonight, do this now.

Until upgraded, restrict untrusted HTTP/2 access where feasible and enforce conservative limits on decoded header-block size, header count, per-connection resource consumption, and connection/request lifetimes. Monitor for anomalously high memory consumption associated with small HTTP/2 requests.

Remediation

Patch, then assume compromise.

Upgrade Python HPACK to version 2.3.0 or a later supported release. Update dependent HTTP/2 implementations, including Hyper HTTP/2-based applications, to versions that incorporate a fixed HPACK dependency.

Public exploits

Exploits

No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
Every candidate exploit was rejected by Mallory's analysis.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
PythonHpackapplication
PythonHyperapplication
FAQ

Frequently asked questions

Is CVE-2016-6581 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2016-6581?
As of Oct 16, 2026, Mallory has found no public exploit for CVE-2016-6581.
Is there a patch for CVE-2016-6581?
Upgrade Python HPACK to version 2.3.0 or a later supported release. Update dependent HTTP/2 implementations, including Hyper HTTP/2-based applications, to versions that incorporate a fixed HPACK dependency.
What products are affected by CVE-2016-6581?
Python Hpack and Python Hyper.
How severe is CVE-2016-6581?
CVE-2016-6581 has a CVSS v3 score of 7.5 (High) and an EPSS score of 1.9% (80th percentile) as of Oct 16, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.