PoC Monitor
← All CVEs
CVE-2025-55197published 13 Aug 2025 23:03 UTCData: JSON · API

Py-pdf pypdf

pypdf's Manipulated FlateDecode streams can exhaust RAM

pypdf is a free and open-source pure-python PDF library. Prior to version 6.0.0, an attacker can craft a PDF which leads to the RAM being exhausted. This requires just reading the file if a series of FlateDecode filters is used on a malicious cross-reference stream. Other content streams are affected on explicit access. This issue has been fixed in 6.0.0. If an update is not possible, a workaround involves including the fixed code from pypdf.filters.decompress into the existing filters file.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by NVD · CWE-400
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

py-pdf pypdf
  • < 6.0.0

Fixed in 6.0.0

Mitigation

Upgrade pypdf to 6.0.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published13 Aug 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.