CVE-2025-62708

High

Description

pypdf is a free and open-source pure-python PDF library. Prior to version 6.1.3, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the content stream of a page using the LZWDecode filter. This has been fixed in pypdf version 6.1.3.

SeverityHigh
CVSS7.5
Exploit probability—
ProductPypdf
PublishedOct 22, 2025
First seenOct 22, 2025
Weakness typeCWE-409CWE-409

How to fix

Update
  • pypdf_project pypdf6.1.3 or later
  • pypdf6.1.3 or later
  • py-pdf pypdf6.1.3 or later

Affected products

ProductAffected versionsFixed in
pypdf_project pypdfv < 6.1.36.1.3
pypdfPyPIv < 6.1.36.1.3
py-pdf pypdfv < 6.1.36.1.3

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.

CVE-2025-62708 · Pypdf · Dark Radar