CVE-2026-84310: CWE-405: Asymmetric Resource Consumption (Amplification) in py-pdf pypdf
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.16.1, an attacker can craft a PDF that causes pypdf/_doc_common.py _get_outline to consume long runtimes and large amounts of memory when retrieving document outlines with large numbers of entries or deeply nested reused paths because the traversal lacked global entry-count and nesting-depth limits. This issue is fixed in version 6.16.1.
CVSS v4.0
Score 4.8medium
Affected software
py-pdf
pypdf
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The pypdf library, a pure-Python PDF processing tool, has a vulnerability (CVE-2026-84310) affecting versions before 6.16.1. An attacker can craft a PDF file that triggers the _get_outline function in pypdf/_doc_common.py to consume excessive CPU time and memory. This happens because the traversal logic does not enforce global limits on the number of entries or the depth of nested reused paths when retrieving document outlines. The vulnerability is classified under CWE-405 (Asymmetric Resource Consumption) and CWE-834 (Excessive Resource Consumption). The issue is resolved in version 6.16.1.
Potential Impact
Exploitation of this vulnerability can lead to denial of service conditions by causing the pypdf library to consume large amounts of memory and CPU resources, potentially slowing down or crashing applications that process maliciously crafted PDFs. There is no indication of privilege escalation, data disclosure, or code execution. The CVSS 4.8 score reflects a medium impact primarily due to resource exhaustion with local attack vector and low privileges required.
Mitigation Recommendations
Upgrade to pypdf version 6.16.1 or later, where this vulnerability has been fixed by adding limits on entry count and nesting depth during outline retrieval. No other mitigation is indicated or necessary once the fixed version is deployed.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-09-01T16:17:43.079Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a973451acd9273b492939bc
Added to database: 09/01/2026, 20:23:45 UTC
Last enriched: 09/07/2026, 12:35:21 UTC
Last updated: 10/17/2026, 18:48:23 UTC
Views: 91
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.