CVE-2026-145079
Received Received - Intake

Memory Exhaustion via Malicious PDF Stream in pypdf

Vulnerability report for CVE-2026-145079, 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 an uncontrolled resource consumption vulnerability that allows attackers to cause large memory usage by supplying a crafted PDF. Attackers can embed a malicious stream using the /ASCIIHexDecode filter that, when accessed, exhausts memory and causes 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-407 An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-145079 is an uncontrolled resource consumption vulnerability in pypdf versions before 7.1.1. Attackers can craft a PDF file with a malicious stream using the /ASCIIHexDecode filter. When processed, this causes excessive memory usage, leading to denial of service.

Detection Guidance

To detect this vulnerability, check the installed version of pypdf using pip show pypdf. If the version is below 7.1.1, the system is vulnerable. Additionally, monitor for unusual memory usage spikes when processing PDF files, particularly those containing streams with /ASCIIHexDecode filters.

Impact Analysis

If you use pypdf before version 7.1.1, an attacker could send you a specially crafted PDF file. Opening this file may cause your application to consume excessive memory, potentially crashing or becoming unresponsive. This could disrupt services relying on pypdf for PDF processing.

Mitigation Strategies

Immediately upgrade pypdf to version 7.1.1 or later using pip install --upgrade pypdf. If upgrading is not possible, apply the changes from Pull Request #4458 as a temporary workaround. Avoid processing untrusted PDF files until the update is applied.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-145079. 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...