Skip to main content
← All vulnerabilities
CVE-2025-62707PYSEC-2026-1833GHSA-VR63-X8VC-M265

pypdf affected by possible infinite loop when reading DCT inline images without EOF marker

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.1.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

pypdf is a free and open-source pure-python PDF library. Prior to version 6.1.3, 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 which has an inline image using the DCTDecode filter. This has been fixed in pypdf version 6.1.3.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • py-pdf pypdf

    fixed in 6.1.3

  • pypdfPyPI

    fixed in 6.1.3

References 4

GitHub · py-pdf/pypdf