Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted PDF to parsing application
-
ExploitParser reads cross-reference stream
-
ExecutionOffsets all resolve to one large object
-
ImpactMemory exhaustion denies service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
|
| Exploitation Conditions | Exploitation requires that an application use pypdf before 7.0.0 to parse a PDF supplied by the attacker; the malicious file must contain a cross-reference stream whose offsets all point to one single large object, which forces oversized memory allocation during parsing. No special product configuration, feature flag, or deployment mode is needed - default parsing behavior is sufficient. The practical limiting factor is reachability: the attacker must be able to get the crafted PDF into a pypdf parsing path (upload endpoint, attachment handler, batch processor), and the impact is confined to availability (process/host memory exhaustion) with no code execution or data exposure. |
| Impact | This is a denial-of-service vulnerability (CWE-407) whose only impact is availability, as confirmed by the CVSS 4.0 vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H - no confidentiality or integrity consequence. The signals are moderate and internally consistent rather than alarming: network vector, low attack complexity, no authentication (PR:N) and no user interaction make the flaw easy to trigger whenever an application parses an attacker-supplied PDF, which drives the 8.7 'high' score under CVSS 4.0. Countervailing signals temper real-world urgency: there is no CISA KEV listing (not actively exploited), no EPSS score was supplied, and no public exploit code is referenced in the input. The vuln.today decision label is 'this_week' (not act_now or emergency), reflecting a serious-but-not-critical priority. Net assessment: a real, broadly reachable DoS in a popular library that warrants prompt patching, but the single-dimension (availability-only) impact and absence of exploitation evidence place it below memory-corruption or RCE priorities. Note EPSS and KEV data are absent, so the probabilistic exploitation picture cannot be fully characterized from the provided data. |
| Exploit ScenarioDerived | An attacker submits a specially crafted PDF to any service or application that parses PDFs with pypdf < 7.0.0 - for example a document-upload portal, email attachment processor, or automated report pipeline. The PDF's cross-reference stream is built so that all offsets point to a single large object, causing pypdf to allocate excessive memory while parsing and exhausting the host's resources. No public exploit is identified at time of analysis, but the trigger mechanism is fully described in the vendor advisory, making reproduction straightforward. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 21, 2026
Applications that parse attacker-supplied PDFs with pypdf versions before 7.0.0 can be forced into oversized memory allocation by a crafted file whose cross-reference stream entries all resolve to one large object, exhausting memory at the process or host level. The impact is availability-only (CVSS 4.0 8.7, VC:N/VI:N/VA:H) and, per the assessed vector, needs no privileges or user interaction once a malicious PDF reaches a pypdf parsing path such as an upload endpoint, attachment handler, or batch converter. No public exploit code was identified at the time of analysis and KEV status is not indicated; the vendor addressed the issue in pypdf 7.0.0.
RemediationAI
Upgrade to pypdf 7.0.0 or later (pip package fixed in >= 7.0.0), as directed by the vendor advisory GHSA-59jv-x5x2-gg4c and the 7.0.0 release notes (https://github.com/py-pdf/pypdf/releases/tag/7.0.0). If upgrading is not immediately possible, the vendor's stated workaround is to apply the changes from PR https://github.com/py-pdf/pypdf/pull/4364, which backports the fix; note that maintaining a forked or patched copy carries ongoing maintenance overhead, and because the impact is availability-only, deployments where pypdf parses untrusted PDFs should prioritise this upgrade path first.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause class is CWE-407, inefficient algorithmic complexity, applied to PDF cross-reference stream parsing. PDF 1.5 and later may carry the document's cross-reference table inside a stream object (/XRef) holding entries that map object numbers to byte offsets. pypdf before 7.0.0 processes these entries without adequately bounding the work implied by them, so a file whose cross-reference entries all point at one single large object causes the parser to allocate and retain memory disproportionate to the actual document size. The trigger is specifically described by the vendor as 'a file with a cross-reference stream where the offsets all point to one large object'; no other parsing path, configuration, or feature flag is implicated. Affected packages are tracked as cpe:2.3:a:py-pdf:pypdf:* for all releases below 7.0.0, and the consequence is confined to availability - there is no code execution, privilege escalation, or data exposure described.
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:H/SC:N/SI:N/SA:N
A crafted PDF parsed by a network-facing service triggers the flaw without auth or interaction (AV:N/AC:L/PR:N/UI:N); impact is availability-only memory exhaustion, so C:N/I:N/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-407, Inefficient Algorithmic Complexity (memory variant).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity availability vulnerability in pypdf versions before 7.0.0 allows a crafted PDF to exhaust memory in applications that parse user-supplied files, potentially causing process or host-level outages. Any business unit relying on PDF ingestion-such as document upload, email attachment processing, or batch conversion-is at risk of service disruption. Leadership should prioritize remediation because an unauthenticated attacker could trigger denial-of-service without user interaction.
No vendor-released patch identified at time of analysis; interim mitigations include enforcing strict memory limits, validating PDF structure before parsing, isolating parsers in constrained containers, and rate-limiting or blocking untrusted PDF uploads.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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-132546
GHSA-v747-rpqr-3mm8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB