CVE-2026-134367
Received Received - Intake

Memory Exhaustion in PyPDF via XFA Forms

Vulnerability report for CVE-2026-134367, 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 2.4.2 before 7.0.0 contains a resource exhaustion vulnerability in its handling of XFA forms that allows attackers to cause excessive memory consumption. Attackers can supply a crafted PDF containing XFA forms with many small fields so that loading the forms consumes large amounts of memory, causing a denial of service.

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-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 versions 2.4.2 through 6.9.0. Attackers can create malicious PDF files containing XFA forms with many small fields. When processed, these forms consume excessive memory, leading to system slowdowns or crashes and causing a denial of service.

Detection Guidance

To detect this vulnerability, inspect PDF files for XFA forms with numerous small fields. Use tools like pdfinfo or pdftk to analyze PDF structure. Check pypdf version with pip show pypdf. If version is below 7.0.0, the system is vulnerable.

Impact Analysis

If you process PDFs with pypdf versions before 7.0.0, an attacker could send you a crafted PDF that crashes your application or system by consuming all available memory. This could disrupt services relying on pypdf for PDF processing.

Compliance Impact

This vulnerability could indirectly impact compliance with GDPR or HIPAA by enabling denial-of-service attacks that disrupt system availability. Excessive memory consumption may cause service outages, potentially violating availability requirements in these regulations. However, the vulnerability itself does not directly lead to data breaches or unauthorized access.

Mitigation Strategies

Upgrade pypdf to version 7.0.0 or later immediately. If immediate upgrade is not possible, apply the temporary workaround from pull request #4363. Block or quarantine untrusted PDF files until patched.

Chat Assistant

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