{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2016-6581","id":"CVE-2016-6581","title":"HPACK Denial of Service vulnerability (HPACK Bomb)","description":"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 sim","descriptionLong":"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.","published":"2017-01-10T15:00:00.000Z","updated":"2026-10-24T10:30:58.406113051Z","reserved":"2016-08-03T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"2.0","score":7.8,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:C","rating":"high","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"hpack","purl":"pkg:pypi/hpack","ranges":[">=1.0.0 <2.3.0","<2.3.0"],"fixed":["2.3.0"],"advisory":"GHSA-ffq8-576r-v26g"}],"cwes":["CWE-399"],"aliases":["GHSA-ffq8-576r-v26g","PYSEC-2017-87"],"references":[{"url":"http://www.securityfocus.com/bid/92315","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://python-hyper.org/hpack/en/latest/security/CVE-2016-6581.html","tags":["x_refsource_CONFIRM","x_transferred","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-6581","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-ffq8-576r-v26g","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/hpack/PYSEC-2017-87.yaml","tags":["web"]},{"url":"https://github.com/python-hyper/hpack","tags":["package"]},{"url":"https://web.archive.org/web/20200227233559/http://www.securityfocus.com/bid/92315","tags":["web"]},{"url":"http://python-hyper.org/projects/hpack/en/stable/security/CVE-2016-6581.html","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01877,"epssPercentile":0.79844,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2016-6581","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-6581","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2016-6581","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-ffq8-576r-v26g","ok":true,"note":"GHSA-ffq8-576r-v26g"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2016-6581","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}