Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft PDF with unterminated inline image
-
DeliveryUpload to PDF-processing service
-
ExploitParser decodes A85/AHx inline image
-
ExecutionLoop never reaches exit condition
-
PersistCPU-bound infinite loop
-
ImpactWorker pool exhausted, denial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application parse an attacker-supplied PDF with pypdf prior to 6.14.2 and reach the vulnerable code path - specifically page content-stream parsing such as page text extraction. The malicious PDF must contain an inline image whose data is not properly terminated and that declares an ASCII85 (A85) or ASCIIHex (AHx) filter; that specific malformed construct IS the trigger condition. Limiting factors: the impact is confined to denial of service (no code execution or data disclosure), and although the CVSS marks UI:N, real-world remote-unauthenticated exploitation depends on the application automatically ingesting untrusted PDFs - interactive desktop use would require a user to open the file. Any deployment that only processes trusted, internally generated PDFs is effectively not exposed. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, VC:N/VI:N/VA:H) scores 8.7 (High) and cleanly reflects a pure availability impact: no confidentiality or integrity loss, no privileges, no user interaction assumed, low attack complexity. That profile is consistent with the description - a malicious PDF is all that is required, and any server-side pipeline that auto-processes uploaded documents can be triggered remotely without authentication. The real-world caveat is that the network/UI:N rating assumes the target automatically ingests attacker-controlled PDFs; in a purely interactive desktop use case a user would have to open the file, so effective exploitability depends on deployment. EPSS is not provided and there is no KEV listing or known public exploit, so likelihood signals are limited, but the impact is a hard single-threaded hang rather than a transient error, and it is easy to weaponize. Net assessment: a legitimate priority for any service that accepts and parses untrusted PDFs with pypdf, though it is a DoS ceiling only - no code execution or data exposure. |
| Exploit ScenarioDerived | An attacker uploads a crafted PDF to a web service that uses pypdf for text extraction (e.g., a resume parser, invoice ingester, or search indexer). When the backend calls page text extraction on the file, the ASCII85/ASCIIHex inline-image decoder enters an infinite loop, consuming a CPU core and stalling the worker; repeated uploads exhaust the worker pool and take the service offline. No authentication or user interaction is needed against an auto-processing pipeline, and no public exploit is currently required since the malformed structure is simple to construct. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 08, 2026
Denial of service in pypdf before 6.14.2 lets a remote attacker hang any application that parses an attacker-supplied PDF: a page content stream carrying an unterminated inline image with an ASCII85 or ASCIIHex filter drives the parser into an infinite loop (CWE-835), most notably during page text extraction. The pure-Python library is very widely used in document-processing and data-ingestion pipelines, so a single malicious file can pin a CPU core and stall the worker. There is no public exploit identified at time of analysis and it is not listed in CISA KEV, but the root cause is well-described and trivially reproducible.
RemediationAI
Vendor-released patch: upgrade pypdf to 6.14.2 or later (pip install --upgrade 'pypdf>=6.14.2'), which fixes the unterminated-inline-image parsing loop; the fix is in PR https://github.com/py-pdf/pypdf/pull/3892 and commit 5a33a46416aa1ae6c025ff90a3cca57631fdafd2, described in advisory https://github.com/py-pdf/pypdf/security/advisories/GHSA-g867-7843-wf8q. If you cannot upgrade immediately, run pypdf parsing and text extraction in a separate worker process with a hard wall-clock timeout and CPU/memory limits so a hung parse can be killed and recycled rather than pinning your main service - the trade-off is added process-management overhead and latency. Where feasible, constrain or reject attacker-supplied PDFs (size limits, sandboxed execution) before extraction; note this reduces but does not eliminate exposure since the trigger is a small malformed structure, not a large file. These are compensating controls only - patching to 6.14.2 is the durable fix.
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 library for reading, writing, and manipulating PDFs, commonly embedded in web backends, OCR/text-extraction pipelines, and ETL jobs. The flaw lives in the content-stream parser that decodes inline images (the PDF 'BI ... ID ... EI' construct). Inline image data can be wrapped in stream filters such as ASCII85Decode (/A85) or ASCIIHexDecode (/AHx); when the image is never properly terminated, the decoder loop that scans for the end-of-data marker never reaches its exit condition. This is a textbook CWE-835 (Loop with Unreachable Exit Condition / 'Infinite Loop'): the parser keeps consuming without ever satisfying the termination test, so the process spins indefinitely. The affected component is identified by CPE cpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:*:*:* for all versions prior to 6.14.2.
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
Untrusted PDF processed by server-side pipelines gives AV:N/PR:N/UI:N with low complexity; impact is a pure availability hang, so C:N/I:N/A:H and scope unchanged.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
pypdf is a free and open-source pure-python PDF library. Prior to 6.14.2, an attacker can craft a PDF with a page content stream containing a not terminated inline image that uses the ASCII85 or ASCIIHex filters, causing an infinite loop during parsing such as when extracting page text. This issue is fixed in version 6.14.2.
Articles & Coverage 1
Executive ViewAI
pypdf is widely deployed in organizational document-processing and data-ingestion infrastructure. A newly disclosed vulnerability (CVSS 8.7) creates risk of service disruption-attackers can render PDF-dependent workflows inoperative by distributing specially crafted files that consume CPU resources indefinitely. Organizations relying on this library face potential operational delays in critical document-handling and data-ingestion pipelines.
Apply vendor patch: pypdf version 6.14.2 or later.
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.
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
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
Resource exhaustion in pypdf prior to 6.16.1 allows an attacker who can supply a crafted PDF to cause denial of service
Memory exhaustion in pypdf versions prior to 6.19.0 allows a remote, unauthenticated attacker to make an application una
Denial of service in pypdf versions prior to 6.19.0 allows an unauthenticated remote attacker to pin a PDF-processing wo
Denial of service in pypdf versions prior to 6.19.0 allows remote, unauthenticated attackers to exhaust application CPU
Denial of service in pypdf before 6.18.1 lets a crafted PDF drive the library's FlateDecode recovery path into inefficie
Memory exhaustion in pypdf versions prior to 6.18.1 lets a crafted PDF force the library to allocate and process far mor
Memory exhaustion in pypdf versions prior to 6.18.1 allows unauthenticated remote attackers to crash or degrade any appl
Denial of service in pypdf versions prior to 6.18.0 allows remote, unauthenticated attackers to stall PDF parsing by sup
Same technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
EUVD-2026-42365
GHSA-g867-7843-wf8q
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB