CVE-2025-62708CWE-409

CVE-2025-62708

High · published October 23, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
37.6
In the wild
Unconfirmed
What it is

⚠️ A crafty PDF can lead to your server consuming an alarming amount of memory! Just before version 6.1.3, pypdf could fall victim to this sneaky exploit. 📄💥 Think of it like a restaurant that keeps serving up plates of food without ever checking if the kitchen can handle the orders. If the chef doesn't manage the incoming orders, the kitchen will be overwhelmed! An attacker could create a specially crafted PDF that stresses the server's resources, leading to potential slowdowns or crashes. While it's not the end of the world, you definitely don’t want your server to go into a memory overload on a busy day!

Put simply

Think of it like a restaurant that keeps serving up plates of food without ever checking if the kitchen can handle the orders. If the chef doesn't manage the incoming orders, the kitchen will be overwhelmed! This vulnerability in pypdf occurs due to the way it processes LZWDecode filters in the content stream of a PDF page, resulting in excessive memory usage when parsing certain crafted PDFs.

What to do

An attacker could create a specially crafted PDF that stresses the server's resources, leading to potential slowdowns or crashes. While it's not the end of the world, you definitely don’t want your server to go into a memory overload on a busy day! Upgrade pypdf to version 6.1.3 or later immediately to patch this vulnerability. Regularly audit your PDF processing to ensure no other memory issues are lurking around. Stay vigilant and proactive! You've got this! Fixing this is straightforward, and you'll have your system running smoothly in no time. 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00444 · 37.6th percentile
Weakness
CWE-409 · Improper Handling of Highly Compressed Data (Data Amplification)
Published
2025-10-23T02:15Z
Affected products (1)
ProductVersionsFixed in
pypdf_project/pypdf< 6.1.36.1.3
References (4)
EPSS history
Timeline
  • 22 OCT 21:36Z
    pypdf manipulated LZWDecode streams can exhaust RAM
    cvelistv5