Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pypdf
  4. ›
  5. CVE-2026-59935

CVE-2026-59935: pypdf: Possible infinite loop for not terminated inline images (ASCII85 and ASCIIHex filter)

July 23, 2026

An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires parsing the content stream of a page with a not terminated inline image, as done when extracting the page text for example. It only affects the ASCII85 and ASCIIHex filters.

References

  • github.com/advisories/GHSA-g867-7843-wf8q
  • github.com/py-pdf/pypdf/commit/5a33a46416aa1ae6c025ff90a3cca57631fdafd2
  • github.com/py-pdf/pypdf/pull/3892
  • github.com/py-pdf/pypdf/releases/tag/6.14.2
  • github.com/py-pdf/pypdf/security/advisories/GHSA-g867-7843-wf8q
  • nvd.nist.gov/vuln/detail/CVE-2026-59935

Code Behaviors & Features

Detect and mitigate CVE-2026-59935 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.14.2

Fixed versions

  • 6.14.2

Solution

Upgrade to version 6.14.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

pypi/pypdf/CVE-2026-59935.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:18:41 +0000.