CVE-2025-55197
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-08-13

Last updated on: 2025-08-15

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-08-13
Last Modified
2025-08-15
Generated
2026-05-27
AI Q&A
2025-08-14
EPSS Evaluated
2026-05-25
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
pypdf_project pypdf to 6.0.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart