CVE-2016-6580Python Priority Library
High 7.5 No auth needed
Follow: this CVE · Python · Python Priority Library We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 80
- Auth required
- No
- Published
- Jan 10, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-399
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
A HTTP/2 implementation built using any version of the Python priority library prior to version 1.2.0 could be targeted by a malicious peer by having that peer assign priority information for every possible HTTP/2 stream ID. The priority tree would happily continue to store the priority information for each stream, and would therefore allocate unbounded amounts of memory. Attempting to actually use a tree like this would also cause extremely high CPU usage to maintain the tree.
What to do
- Apply the vendor's security update for Python Priority Library.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | priority |
< 1.2.0 |
1.2.0 |
pip install "priority>=1.2.0" |
| PyPI | priority |
< 1.2.0 |
1.2.0 |
pip install "priority>=1.2.0" |
Per OSV / GitHub Advisories (GHSA-h3q4-6j7f-r24c, PYSEC-2017-93). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | python_priority_library | 1.0.0 |
| python | python_priority_library | 1.1.0 |
| python | python_priority_library | 1.1.1 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- python-hyper.org Mitigation Vendor Advisory