CVE-2025-55197 Details
Description
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.
A denial-of-service vulnerability has been identified in pypdf, a pure-Python PDF library, prior to version 6.0.0. The issue arises when an attacker crafts a PDF that exploits a series of FlateDecode filters on a malicious cross-reference stream, leading to excessive RAM consumption. This vulnerability can be triggered by simply reading the file, and other content streams may be affected with explicit access.
Users can upgrade to pypdf version 6.0.0, which addresses this vulnerability by limiting the decompressed size for FlateDecode filters. If an immediate upgrade is not possible, the fixed decompression code can be manually implemented.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 14, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| pypdf project pypdf | < 6.0.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 15, 2025 | Initial Analysis | [email protected] |
| Aug 13, 2025 | New CVE Received | [email protected] |