Skip to main content
← All vulnerabilities
CVE-2026-113791GHSA-CGF9-327M-V77C

pypdf: Possible large memory usage when parsing content streams

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

Summary

pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PDF containing a content stream with many small operations, causing parsing to consume large amounts of memory. This issue is fixed in version 6.21.0.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

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

  4. Record last updated

Affected versions

  • py-pdf pypdf

    fixed in 6.21.0

  • pypdfPyPI

    fixed in 6.21.0

References 4

GitHub · py-pdf/pypdf