CVE-2025-66019

Medium

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.

SeverityMedium
CVSS6.6
Exploit probability—
ProductPypdf
PublishedNov 26, 2025
First seenNov 26, 2025

How to fix

Update
  • pypdf6.4.0 or later

Affected products

ProductAffected versionsFixed in
pypdfPyPIv < 6.4.06.4.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.