CVE-2026-48155: CWE-400: Uncontrolled Resource Consumption in py-pdf pypdf
CVE-2026-48155 is a medium severity vulnerability in the pypdf library prior to version 6.12.0. It allows an attacker to craft a PDF that causes uncontrolled resource consumption, specifically large memory usage, when extracting text in layout mode with large character offsets. This issue is fixed in pypdf version 6.12.0.
AI Analysis
Technical Summary
The vulnerability CVE-2026-48155 affects the pypdf Python library versions before 6.12.0. It is classified as CWE-400, indicating uncontrolled resource consumption. An attacker can create a specially crafted PDF that triggers excessive memory usage during text extraction in layout mode with large character offsets. This can degrade performance or cause denial of service conditions. The vulnerability is resolved in version 6.12.0 of pypdf.
Potential Impact
Exploitation of this vulnerability can lead to excessive memory consumption on systems processing malicious PDFs with vulnerable pypdf versions. This may result in degraded application performance or denial of service due to resource exhaustion. There is no indication of privilege escalation, code execution, or data disclosure.
Mitigation Recommendations
Upgrade to pypdf version 6.12.0 or later, where this vulnerability is fixed. Patch status is confirmed by the vendor advisory stating the issue is resolved in 6.12.0. No additional mitigations are specified.
CVE-2026-48155: CWE-400: Uncontrolled Resource Consumption in py-pdf pypdf
Description
CVE-2026-48155 is a medium severity vulnerability in the pypdf library prior to version 6.12.0. It allows an attacker to craft a PDF that causes uncontrolled resource consumption, specifically large memory usage, when extracting text in layout mode with large character offsets. This issue is fixed in pypdf version 6.12.0.
CVSS v4.0
Score 4.8medium
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-48155 affects the pypdf Python library versions before 6.12.0. It is classified as CWE-400, indicating uncontrolled resource consumption. An attacker can create a specially crafted PDF that triggers excessive memory usage during text extraction in layout mode with large character offsets. This can degrade performance or cause denial of service conditions. The vulnerability is resolved in version 6.12.0 of pypdf.
Potential Impact
Exploitation of this vulnerability can lead to excessive memory consumption on systems processing malicious PDFs with vulnerable pypdf versions. This may result in degraded application performance or denial of service due to resource exhaustion. There is no indication of privilege escalation, code execution, or data disclosure.
Mitigation Recommendations
Upgrade to pypdf version 6.12.0 or later, where this vulnerability is fixed. Patch status is confirmed by the vendor advisory stating the issue is resolved in 6.12.0. No additional mitigations are specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-20T23:12:43.031Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a186056e29bf47b500b42c8
Added to database: 05/28/2026, 15:33:42 UTC
Last enriched: 06/09/2026, 10:52:28 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 54
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.