CVE-2025-55197
BaseFortify
Publication date: 2025-08-13
Last updated on: 2025-08-15
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| pypdf_project | pypdf | to 6.0.0 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-400 | The product does not properly control the allocation and maintenance of a limited resource. |
| CWE-770 | The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability in pypdf versions prior to 6.0.0 allows an attacker to craft a malicious PDF file that, when read, can exhaust the system's RAM. It exploits the use of a series of FlateDecode filters on a malicious cross-reference stream, causing excessive memory consumption. Other content streams can also be affected if explicitly accessed. The issue has been fixed in version 6.0.0.
How can this vulnerability impact me? :
The vulnerability can lead to exhaustion of RAM on the system processing the malicious PDF, potentially causing denial of service or system instability. This can disrupt normal operations and may require system restarts or other recovery actions.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update pypdf to version 6.0.0 or later. If updating is not possible, apply the workaround by including the fixed code from pypdf.filters.decompress into the existing filters file.