7.8

CVE-2016-6581: python hpack Resource Management Errors

CVSS: 7.8v2.0HighModified
AliasesGHSA-ffq8-576r-v26gPYSEC-2017-87UBUNTU-CVE-2016-6581
Published 10-01-2017Last modified 06-08-2024

Vulnerability summary

CVE-2016-6581 is a high (CVSS 7.8) Resource Management Errors vulnerability in python hpack. EPSS estimates a 1.83% chance of exploitation in the next 30 days, higher than 78.4% of scored vulnerabilities.

Overall risk
32/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v2.0 (NVD)
EPSS score
1.83%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 10-01-2017
    PublishedVulnerability first disclosed.
  2. 06-08-2024
    Last modifiedVulnerability information updated.

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 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.

CVSS metrics

6 scores · 4 sources · 4 versions

EPSS trend

Probability

1.83%

Chance of exploitation in the next 30 days

Percentile

78%

Versus all other CVEs

30-day change

0.00 pp

From 1.83% on 18-09-2026

18-09-202618-10-2026
EPSS score
1.83%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Python2 products
  • hpack1.0 | 2.0 | 2.0.1 | 2.1.1 | 2.2
  • hyper0.4 | 0.6
Debian1 product
  • python-hpack< 2.3.0-1
Opensuse1 product
  • python-hpack&distro=openSUSE Tumbleweed< 4.0.0-2.7
PyPI1 product
  • hpack≥ 1.0.0, < 2.3.0 | < 2.3.0
Ubuntu1 product
  • python-hpackAll versions (No fix recorded)

5 vendors · 6 products

References

14 links
Show all 14 references