CVE-2016-6580 · mitre
CVE-2016-6580
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.
Published 2017-01-10, last changed 2026-06-17. Weakness: CWE-399.
How to fix
Upgrade to a fixed version: priority 1.2.0 (PyPI). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in python-hyper/priority by 7d01a7dc4d, fb0d8149bc, f09599a129. Functions changed by the fix: TooManyStreamsError, PriorityTree, __init__, insert_stream. Regression tests: test/test_priority.py. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2017-01-10 | Published |
| 2017-01-10 | Package advisory PYSEC-2017-93 |
| 2022-05-17 | Package advisory GHSA-h3q4-6j7f-r24c |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 1.84% |
| 2026-12-03 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-h3q4-6j7f-r24c | priority (PyPI) | 1.2.0 |
| PYSEC-2017-93 | priority (PyPI) | 1.2.0 |
Also known as: GHSA-h3q4-6j7f-r24c, PYSEC-2017-93
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2016-6580, or call /api/v1/vulnerabilities/CVE-2016-6580. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.