Live threats

All CVEs / Python

CVE-2016-6580Python Priority Library

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Python Priority Library.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
pythonpython_priority_library1.0.0
pythonpython_priority_library1.1.0
pythonpython_priority_library1.1.1

Official sources

References

Links published by the sources. Open them with care.