CVE-2026-134366
Received Received - Intake

Memory Exhaustion in PyPDF via Malicious PDF Cross-Reference Streams

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

Publication date: 2026-11-21

Last updated on: 2026-11-21

Assigner: VulnCheck

Description

pypdf before 7.0.0 contains a resource exhaustion vulnerability that allows attackers to cause large memory usage by supplying crafted PDF cross-reference streams. Attackers can craft a PDF whose cross-reference stream offsets all point to one large object, exhausting memory in applications parsing the file.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

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

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
py-pdf pypdf to 7.0.0 (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-134366 is a resource exhaustion vulnerability in pypdf versions before 7.0.0. Attackers can craft a PDF file with cross-reference streams where all offsets point to one large object, causing the parser to consume excessive memory and potentially crash the application.

Detection Guidance

To detect this vulnerability, monitor for processes consuming unusually high memory when parsing PDF files. Check for pypdf versions prior to 7.0.0 using commands like 'pip show pypdf' or 'pip list | grep pypdf'. Inspect PDF files for cross-reference streams with identical offsets pointing to large objects.

Impact Analysis

This vulnerability can lead to denial-of-service attacks by consuming large amounts of memory when parsing malicious PDFs. Systems processing untrusted PDF files may become unresponsive or crash, disrupting services that rely on pypdf.

Compliance Impact

This vulnerability could indirectly impact compliance with GDPR or HIPAA by enabling denial-of-service attacks that disrupt system availability. Excessive memory usage may cause service outages, potentially violating availability requirements in these regulations.

Mitigation Strategies

Upgrade pypdf to version 7.0.0 or later immediately. If upgrading is not possible, apply the temporary workaround from pull request #4364. Avoid processing untrusted PDF files until patched. Monitor system memory usage for signs of exploitation.

Chat Assistant

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