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.
History

Tue, 25 Nov 2025 23:45:00 +0000

Type Values Removed Values Added
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.
Title pypdf manipulated LZWDecode streams can exhaust RAM
Weaknesses CWE-400
CWE-409
References
Metrics cvssV4_0

{'score': 6.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2025-11-25T23:38:12.473Z

Updated: 2025-11-26T16:12:49.920Z

Reserved: 2025-11-21T01:08:02.613Z

Link: CVE-2025-66019

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-11-26T00:15:51.263

Modified: 2025-11-26T00:15:51.263

Link: CVE-2025-66019

cve-icon Redhat

No data.