CVE-2025-55197
August 13, 2025
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.
Affected Packages
pypdf (CONDA):
Affected version(s) >=3.2.0 <6.0.0Fix Suggestion:
Update to version 6.0.0https://github.com/py-pdf/pypdf.git (GITHUB):
Affected version(s) >=1.26.0 <6.0.0Fix Suggestion:
Update to version 6.0.0pypdf (PYTHON):
Affected version(s) >=1.0 <6.0.0Fix Suggestion:
Update to version 6.0.0Related ResourcesĀ (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
UNREPORTED
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.1