Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker crafts malicious PDF
-
DeliveryUploads file to vulnerable application
-
ExploitApplication invokes pypdf parser
-
ExecutionParser reads oversized `/Size` or `/N` value
-
PersistParser allocates excessive memory/iterates unneeded objects
-
ImpactApplication hangs or crashes
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Excessive iteration
|
| Exploitation Conditions | The vulnerability requires that a user or automated system parses a malicious PDF file using pypdf prior to version 6.10.1. Specifically, the PDF must contain either a cross-reference stream with an oversized |
| Impact | This is a denial-of-service vulnerability with real but limited impact. CVSS 6.9 reflects network accessibility and low complexity, but the actual damage is constrained: VA:L (low availability impact) indicates the attack causes service degradation rather than complete failure. EPSS scoring data is unavailable, preventing assessment of real-world exploitation likelihood. KEV status is not confirmed, suggesting this is not yet in active exploitation campaigns. The attack requires a user to parse an attacker-supplied PDF-either via direct file upload or through an automated PDF processing pipeline-making it relevant primarily to applications that accept external PDFs (document management systems, email scanners, form processors). Compared to high-CVSS remote code execution vulnerabilities, this is a lower-priority fix, but for services that process untrusted PDFs at scale, it represents a resource exhaustion vector that could amplify in coordinated attacks. The presence of a released patch and public GitHub pull request suggests the vulnerability was responsibly disclosed and validated before publication. |
| Exploit ScenarioDerived | An attacker crafts a malicious PDF file with a cross-reference stream containing a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 23, 2026
Denial of service in pypdf prior to version 6.10.1 allows remote attackers to craft malicious PDF files with oversized cross-reference stream /Size values or object stream /N values, causing excessive processing time and long runtimes. No authentication is required; the vulnerability is triggered by parsing a specially crafted PDF file. Patch version 6.10.1 is available from the vendor.
RemediationAI
Upgrade pypdf to version 6.10.1 or later immediately, as a vendor-released patch is available. For users who cannot immediately upgrade, the patch may be applied manually by applying the changes from GitHub commit 62338e9d36419cf193ccec7331784f45df1d70b3 (https://github.com/py-pdf/pypdf/commit/62338e9d36419cf193ccec7331784f45df1d70b3) or PR #3733 (https://github.com/py-pdf/pypdf/pull/3733) to the local pypdf installation. As a compensating control while a patch is unavailable, implement strict file size limits and processing timeouts (e.g., 30-second maximum parse time) on PDF processing pipelines to interrupt runaway parsing operations, though this may reject legitimate large PDFs. Additionally, restrict PDF upload functionality to trusted sources and disable automatic PDF processing for external inputs if feasible.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
pypdf is a pure-Python PDF parsing library that processes PDF structure including cross-reference streams and object streams. Cross-reference streams contain metadata about indirect objects referenced via /Size parameters, while object streams group multiple objects with /N (count) parameters. The vulnerability stems from CWE-834 (Excessive Iteration), where incorrect large values in these fields cause pypdf to allocate excessive memory or iterate through non-existent object ranges, consuming CPU and memory resources disproportionately to the actual PDF content. The CVSS 4.0 vector shows network accessibility (AV:N), low complexity (AC:L), no authentication (PR:N), and availability impact (VA:L), indicating a resource exhaustion denial-of-service condition rather than data disclosure or code execution.
Know when Pypdf gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
4DescriptionCVE.org
pypdf is a free and open-source pure-python PDF library. An attacker who uses a vulnerability present in versions prior to 6.10.1 can craft a PDF which leads to long runtimes. This requires cross-reference streams with wrong large /Size values or object streams with wrong large /N values. This has been fixed in pypdf 6.10.1. As a workaround, one may apply the changes from the patch manually.
Blast Radius
ecosystem impact- 4 pypi packages depend on pypdf (4 direct, 0 indirect)
Ecosystem-wide dependent count for version 6.10.1.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Memory exhaustion while parsing crafted PDFs in pypdf versions prior to 6.21.3 allows an attacker to drive a consuming p
Denial of service in pypdf before 6.21.3: retrieving the page count (for example via len(reader.pages) or get_num_pages(
Memory exhaustion in the pypdf PDF library before 6.21.3 allows a small, deliberately malformed PDF dictionary to blow u
pypdf before 6.21.3 can be driven into excessive CPU consumption when an application retrieves page labels from a specia
Cloning or duplicating a crafted cyclic DictionaryObject with pypdf before 6.21.4 can hang the calling process in an inf
Parsing a crafted PDF with pypdf before 6.21.4 can drive disproportionate memory consumption when the library enumerates
Denial of service in pypdf prior to 6.21.4 lets remote attackers hang a PDF-processing thread by supplying an incomplete
Infinite loop denial of service in pypdf prior to 6.16.0 allows any attacker who can supply a crafted PDF to a pypdf-bas
Infinite loop denial-of-service in pypdf prior to 6.13.1 allows an attacker to hang any process that merges a crafted PD
pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. Rat
pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. Rat
pypdf is an open source, pure-python PDF library. Rated medium severity (CVSS 5.5), this vulnerability is no authenticat
EUVD-2026-25100
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB