---
id: CVE-2026-59936
title: 'pypdf: pypdf: Denial of Service via crafted PDF inline image (CVE-2026-59936)'
summary: >-
  A flaw was found in pypdf, a pure-Python PDF library. A remote attacker can
  craft a malicious PDF document containing an unterminated inline image within
  its page content stream. When a user processes this crafted PDF, such as
  during text …
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cvssSource: vendor
cwe:
  - CWE-835
  - CWE-400
vendor: Red Hat
product: Red Hat Enterprise Linux AI (RHEL AI) 3
affected:
  - exploit_intelligence
  - openshift_lightspeed
  - ansible_automation_platform 2
  - enterprise_linux_ai_rhel_ai 3
  - openshift_ai_rhoai
  - quay 3
patched:
  - pypdf 6.14.1
published: '2026-07-08'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T11:20:41+00:00'
source: CSAF
sourceUrl: 'https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-59936.json'
references:
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-59936.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-59936'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2498201'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-59936'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-59936'
  - url: >-
      https://github.com/py-pdf/pypdf/commit/ec3b14596186c40caca7cf8ab9b2155203e01b5b
  - url: 'https://github.com/py-pdf/pypdf/pull/3891'
  - url: 'https://github.com/py-pdf/pypdf/releases/tag/6.14.1'
  - url: 'https://github.com/py-pdf/pypdf/security/advisories/GHSA-5xf7-4p34-54qr'
  - url: 'https://github.com/py-pdf/pypdf'
  - url: 'https://github.com/advisories/GHSA-5xf7-4p34-54qr'
tags:
  - csaf
  - vex
  - red-hat
  - osv
  - pip
  - ghsa
epss: 0.0062
epssPercentile: 0.49483
aliases:
  - GHSA-5xf7-4p34-54qr
  - PYSEC-2026-3612
ecosystem: pip
ingestedAt: '2026-07-23T17:18:58.564Z'
---

## Overview

A flaw was found in pypdf, a pure-Python PDF library. A remote attacker can craft a malicious PDF document containing an unterminated inline image within its page content stream. When a user processes this crafted PDF, such as during text extraction, the vulnerability causes an infinite loop, leading to a Denial of Service (DoS) condition. This issue impacts the availability of the pypdf application.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Exploit Intelligence, OpenShift Lightspeed, Red Hat Ansible Automation Platform 2, Red Hat Enterprise Linux AI (RHEL AI) 3, Red Hat OpenShift AI (RHOAI), Red Hat Quay 3 · no fix planned: Exploit Intelligence, OpenShift Lightspeed, Red Hat Ansible Automation Platform 2, Red Hat Enterprise Linux AI (RHEL AI) 3, … · updated 2026-10-15 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-59936.json)

**pypdf: pypdf: Denial of Service via crafted PDF inline image** — rated Moderate by Red Hat. Released 2026-07-08, updated 2026-10-15.

Affected:

- Exploit Intelligence
- OpenShift Lightspeed
- Red Hat Ansible Automation Platform 2
- Red Hat Enterprise Linux AI (RHEL AI) 3
- Red Hat OpenShift AI (RHOAI)
- Red Hat Quay 3

No fix planned:

- Exploit Intelligence
- OpenShift Lightspeed
- Red Hat Ansible Automation Platform 2
- Red Hat Enterprise Linux AI (RHEL AI) 3
- Red Hat OpenShift AI (RHOAI)
- Red Hat Quay 3

## Remediation

Fix deferred

## Package advisory (CVE-2026-59936)

Affected packages:

- `pypdf < 6.14.1`

Patched in:

- `pypdf 6.14.1`

Source: https://osv.dev/vulnerability/GHSA-5xf7-4p34-54qr
