CVE-2026-49461: CWE-400: Uncontrolled Resource Consumption in py-pdf pypdf
CVE-2026-49461 is a medium severity vulnerability in the py-pdf pypdf library prior to version 6.12.2. It involves uncontrolled resource consumption caused by crafted PDFs containing form XObjects with self-references, which can lead to large memory usage when extracting text from such pages. This issue is fixed in version 6.12.2.
AI Analysis
Technical Summary
The vulnerability CVE-2026-49461 in the pypdf library (a pure-Python PDF processing library) allows an attacker to craft a malicious PDF that triggers excessive memory consumption during text extraction. This occurs when a page contains a form XObject that references itself, causing uncontrolled resource consumption (CWE-400). The issue affects all pypdf versions prior to 6.12.2 and is resolved in 6.12.2.
Potential Impact
An attacker can cause large memory usage on systems processing malicious PDFs with self-referencing form XObjects, potentially leading to denial of service due to resource exhaustion. There is no indication of privilege escalation, code execution, or data disclosure from the provided data.
Mitigation Recommendations
Upgrade pypdf to version 6.12.2 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated. Patch status is not explicitly stated but the fix is available in 6.12.2.
CVE-2026-49461: CWE-400: Uncontrolled Resource Consumption in py-pdf pypdf
Description
CVE-2026-49461 is a medium severity vulnerability in the py-pdf pypdf library prior to version 6.12.2. It involves uncontrolled resource consumption caused by crafted PDFs containing form XObjects with self-references, which can lead to large memory usage when extracting text from such pages. This issue is fixed in version 6.12.2.
CVSS v4.0
Score 6.9medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-49461 in the pypdf library (a pure-Python PDF processing library) allows an attacker to craft a malicious PDF that triggers excessive memory consumption during text extraction. This occurs when a page contains a form XObject that references itself, causing uncontrolled resource consumption (CWE-400). The issue affects all pypdf versions prior to 6.12.2 and is resolved in 6.12.2.
Potential Impact
An attacker can cause large memory usage on systems processing malicious PDFs with self-referencing form XObjects, potentially leading to denial of service due to resource exhaustion. There is no indication of privilege escalation, code execution, or data disclosure from the provided data.
Mitigation Recommendations
Upgrade pypdf to version 6.12.2 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated. Patch status is not explicitly stated but the fix is available in 6.12.2.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-30T04:17:43.094Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a39a0f5eed863c81e6b01ec
Added to database: 06/22/2026, 20:54:13 UTC
Last enriched: 06/22/2026, 21:09:39 UTC
Last updated: 06/23/2026, 01:50:37 UTC
Views: 10
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.