CVE-2016-6581: High severity python hpack vulnerability

Published Jan 10, 2017
·
Updated

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.

Affected Software

8 affected componentsFixes available
pip/hpack>=1.0.0<2.3.0
2.3.0
Python HPACK=1.0
Python HPACK=2.0
Python HPACK=2.0.1
Python HPACK=2.1.1
Python HPACK=2.2
Python Hyper=0.4
Python Hyper=0.6

Event History

Jan 10, 2017
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Data Sourced
via NVD·03:59 PM
DescriptionSeverityWeaknessAffected Software
Jul 5, 2019
Advisory Published
09:11 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2016-6581?

CVE-2016-6581 has a medium severity rating due to its potential for denial of service attacks.

2

How do I fix CVE-2016-6581?

To fix CVE-2016-6581, upgrade the Python HPACK library to version 2.3.0 or higher.

3

What versions of the HPACK library are affected by CVE-2016-6581?

Versions of the HPACK library between 1.0.0 and 2.2.0 are affected by CVE-2016-6581.

4

What type of attack does CVE-2016-6581 relate to?

CVE-2016-6581 relates to a denial of service attack, specifically an HPACK Bomb attack.

5

Can CVE-2016-6581 affect any software using PHP?

CVE-2016-6581 specifically affects implementations using the Python HPACK library, not PHP.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203