CVE-2025-66019
BaseFortify
Publication date: 2025-11-26
Last updated on: 2025-11-26
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| pypdf | pypdf | 6.4.0 |
Helpful Resources
Exploitability
| 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.