CVE-2026-49461: CWE-400: Uncontrolled Resource Consumption in py-pdf pypdf
pypdf is a free and open-source pure-python PDF library. Prior to 6.12.2, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires extracting the text of a page which contains a form XObject with self-references. This vulnerability is fixed in 6.12.2.
AI Analysis
Technical Summary
The vulnerability CVE-2026-49461 in the py-pdf pypdf library (before 6.12.2) is a CWE-400 uncontrolled resource consumption flaw. An attacker can create a specially crafted PDF containing a form XObject that references itself. When text extraction is performed on a page containing this object, it causes excessive memory usage. This can degrade system performance or cause denial of service conditions. The vulnerability is addressed in pypdf version 6.12.2.
Potential Impact
Exploitation of this vulnerability leads to large memory consumption during text extraction from maliciously crafted PDFs. This can result in denial of service or degraded performance on systems using affected pypdf versions. There is no indication of privilege escalation, code execution, or data disclosure. No known exploits are reported in the wild.
Mitigation Recommendations
A fix is available in pypdf version 6.12.2. Users should upgrade to version 6.12.2 or later to remediate this vulnerability. No other mitigation or temporary workaround is indicated.
CVE-2026-49461: CWE-400: Uncontrolled Resource Consumption in py-pdf pypdf
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.12.2, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires extracting the text of a page which contains a form XObject with self-references. This vulnerability is fixed in 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 py-pdf pypdf library (before 6.12.2) is a CWE-400 uncontrolled resource consumption flaw. An attacker can create a specially crafted PDF containing a form XObject that references itself. When text extraction is performed on a page containing this object, it causes excessive memory usage. This can degrade system performance or cause denial of service conditions. The vulnerability is addressed in pypdf version 6.12.2.
Potential Impact
Exploitation of this vulnerability leads to large memory consumption during text extraction from maliciously crafted PDFs. This can result in denial of service or degraded performance on systems using affected pypdf versions. There is no indication of privilege escalation, code execution, or data disclosure. No known exploits are reported in the wild.
Mitigation Recommendations
A fix is available in pypdf version 6.12.2. Users should upgrade to version 6.12.2 or later to remediate this vulnerability. No other mitigation or temporary workaround is indicated.
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/29/2026, 21:50:40 UTC
Last updated: 08/07/2026, 00:41:14 UTC
Views: 89
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.