Application hang via unterminated inline image
Published Jul 8, 2026 · Updated Jul 8, 2026
Denial of service in py-pdf pypdf before 6.14.1 allows remote attackers to hang PDF-processing applications with a crafted PDF. The ContentStream._read_inline_image method repeatedly calls read_non_whitespace at end of stream without testing for an empty token, so an unterminated inline-image dictionary never exits its parsing loop. Exploitation requires an application to parse an attacker-supplied page content stream, such as during text extraction, and consumes the processing thread without disclosing or changing data.
Summary
What happened
Denial of service in py-pdf pypdf before 6.14.1 allows remote attackers to hang PDF-processing applications with a crafted PDF. The ContentStream._read_inline_image method repeatedly calls read_non_whitespace at end of stream without testing for an empty token, so an unterminated inline-image dictionary never exits its parsing loop. Exploitation requires an application to parse an attacker-supplied page content stream, such as during text extraction, and consumes the processing thread without disclosing or changing data.
The record
- CVE
- CVE-2026-59936
- Published
- Jul 8, 2026
- Updated
- Jul 8, 2026
- Vendor
- py-pdf
- Product
- pypdf
- Classifications
- CWE-400, CWE-835, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 8, 2026CVE publishedPublication date reported by the CVE source.
- Jul 8, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 6.14.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- SecureLayer7 crafted-PDF proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo