CVE-2026-145060
Received Received - Intake

Memory Exhaustion in PyPDF via Malicious PDF Files

Vulnerability report for CVE-2026-145060, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-04

Last updated on: 2026-12-04

Assigner: VulnCheck

Description

pypdf before 7.1.1 contains a resource exhaustion vulnerability that allows attackers to cause large memory usage through crafted PDF files. Attackers can supply a PDF with many cross-reference streams whose content is unnecessarily kept in memory, exhausting memory and causing denial of service.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-04
Last Modified
2026-12-04
Generated
2026-12-04
AI Q&A
2026-12-04
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
py-pdf pypdf to 7.1.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-770 The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a resource exhaustion issue in the pypdf library before version 7.1.1. Attackers can create malicious PDF files containing many cross-reference streams that consume excessive memory during processing. This leads to system resource depletion and potential denial of service.

Detection Guidance

To detect this vulnerability, monitor memory usage when processing PDF files with pypdf. Check if the pypdf version is below 7.1.1 using commands like 'pip show pypdf' or 'pip list | grep pypdf'. Analyze PDF files for excessive cross-reference streams using tools like pdfinfo or custom scripts to inspect PDF structure.

Impact Analysis

If you process untrusted PDF files using vulnerable pypdf versions, an attacker could send a specially crafted file that consumes all available memory on your system. This may cause applications to crash, slow down, or become unresponsive, disrupting normal operations.

Compliance Impact

This vulnerability could impact compliance by causing system unavailability or data processing delays, potentially violating availability requirements in GDPR and HIPAA. Organizations must ensure systems remain operational to meet regulatory obligations.

Mitigation Strategies

Upgrade pypdf to version 7.1.1 or later immediately. If upgrading is not possible, apply the temporary workaround from pull request #4456. Avoid processing untrusted PDF files until mitigation is complete. Monitor system memory usage for signs of resource exhaustion.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-145060. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...