CVE-2025-66019
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-11-26

Last updated on: 2025-11-26

Assigner: GitHub, Inc.

Description
pypdf is a free and open-source pure-python PDF library. Prior to version 6.4.0, an attacker who uses this vulnerability can craft a PDF which leads to a memory usage of up to 1 GB per stream. This requires parsing the content stream of a page using the LZWDecode filter. This issue has been patched in version 6.4.0.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-11-26
Last Modified
2025-11-26
Generated
2026-05-07
AI Q&A
2025-11-26
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
pypdf pypdf 6.4.0
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-409 The product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability in pypdf prior to version 6.4.0 allows an attacker to craft a specially designed PDF that causes the library to use up to 1 GB of memory per content stream when parsing pages using the LZWDecode filter. This excessive memory usage can lead to performance degradation or denial of service. The issue has been fixed in version 6.4.0.


How can this vulnerability impact me? :

The vulnerability can cause your application or system using pypdf to consume excessive memory (up to 1 GB per stream) when processing maliciously crafted PDFs. This can lead to performance issues, crashes, or denial of service conditions, potentially disrupting normal operations.


What immediate steps should I take to mitigate this vulnerability?

Upgrade pypdf to version 6.4.0 or later, as this version contains the patch that fixes the vulnerability related to excessive memory usage when parsing PDFs with LZWDecode filters.


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