Security mailing lists by PureSourceCode

CVE-2016-6581

HIGH 7.5CVSS 3.0

HPACK Denial of Service vulnerability (HPACK Bomb)

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
10 Jan 2017
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-399
Also known as
GHSA-ffq8-576r-v26gPYSEC-2017-87
Sources
NVDJSONOSV GHSA-ffq8-576r-v26gJSONOSV PYSEC-2017-87JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.8 AV:N/AC:L/Au:N/C:N/I:N/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD python hpack
cpe:2.3:a:python:hpack:1.0:*:*:*:*:*:*:*
= 1.0
NVD python hpack
cpe:2.3:a:python:hpack:2.0:*:*:*:*:*:*:*
= 2.0
NVD python hpack
cpe:2.3:a:python:hpack:2.0.1:*:*:*:*:*:*:*
= 2.0.1
NVD python hpack
cpe:2.3:a:python:hpack:2.1.1:*:*:*:*:*:*:*
= 2.1.1
NVD python hpack
cpe:2.3:a:python:hpack:2.2:*:*:*:*:*:*:*
= 2.2
NVD python hyper
cpe:2.3:a:python:hyper:0.4:*:*:*:*:*:*:*
= 0.4
NVD python hyper
cpe:2.3:a:python:hyper:0.6:*:*:*:*:*:*:*
= 0.6
OSV PyPI hpack >= 1.0.0, < 2.3.0 2.3.0
OSV PyPI hpack < 2.3.0 2.3.0

References

History

  • 25 Nov 2026 20:19 UTC · NVD: first stored (published 10 Jan 2017)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Jan 2017)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Jul 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.