Skip to main content
← All vulnerabilities
CVE-2026-27888PYSEC-2026-3027GHSA-X7HP-R3QG-R3CJ

pypdf: Manipulated FlateDecode XFA streams can exhaust RAM

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.7.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 6.7.3, an attacker who uses this vulnerability can craft a PDF which leads to the RAM being exhausted. This requires accessing the `xfa` property of a reader or writer and the corresponding stream being compressed using `/FlateDecode`. This has been fixed in pypdf 6.7.3. As a workaround, apply the patch manually.

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.7.3

  • pypdfPyPI

    fixed in 6.7.3

References 4

GitHub · py-pdf/pypdf