Cloudanix VulnDB

CVE-2026-59935

High · 7.5

CVSS

7.5

EPSS

0.6%

Published

Jul 8, 2026

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in a popular PDF reading tool can make programs freeze when they try to read certain specially made PDF files, interrupting normal work until the program is restarted or updated.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Denial of service
Remediation
Upgrade
Effort
Low
Patch risk
Low

What it actually does

Malformed PDF page content streams with unterminated inline images using ASCII85 or ASCIIHex filters trigger an infinite loop in the parser, consuming CPU and blocking further processing.

Why it matters to the business

Services that parse PDFs with this library can become unresponsive, delaying document workflows and requiring manual restarts.

How an attack unfolds

An attacker creates a PDF containing a page content stream with an inline image that lacks the expected termination sequence for ASCII85 or ASCIIHex, then supplies the file to any application using the vulnerable parser for text extraction or similar operations, causing the process to hang indefinitely.

How to fix it

Upgrade pypdf to version 6.14.2 or later; if immediate upgrade is not possible, implement input validation or sandboxing around PDF parsing operations.

How to confirm the fix worked

Confirm installed version is at least 6.14.2 via package metadata, then attempt to parse a test PDF containing the previously triggering unterminated inline image and verify the operation completes without hanging.

Typical attack path

  1. Craft a minimal PDF with an unterminated inline image using ASCII85 or ASCIIHex filter in the page content stream
  2. Deliver the file to a target application that invokes pypdf parsing functions such as text extraction
  3. Trigger the parser on the malicious content to enter the infinite loop
  4. Observe sustained high CPU usage and blocked application threads

How to detect it

Review application logs and system process monitors for PDF parsing tasks that consume 100% CPU for extended periods without completing; correlate with file ingestion timestamps of PDF documents.

What your security team should do

  • Prioritize upgrade to pypdf 6.14.2 across all environments handling untrusted PDFs
  • Add runtime resource limits or timeouts around PDF parsing calls
  • Monitor for sustained high-CPU PDF processing tasks as a temporary detection measure

The record

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.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities