7.5

CVE-2025-55197: py-pdf pypdf Uncontrolled Resource Consumption

CVSS: 7.5v3.1HighAnalyzed
AliasesGHSA-7hfw-26vp-jp8mPYSEC-2026-1830UBUNTU-CVE-2025-55197
Published 13-08-2025Last modified 14-08-2025

Vulnerability summary

CVE-2025-55197 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in py-pdf pypdf. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 39.8% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
0.48%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 4

Timeline

  1. 13-08-2025
    PublishedVulnerability first disclosed.
  2. 14-08-2025
    Last modifiedVulnerability information updated.

Description

pypdf is a free and open-source pure-python PDF library. Prior to version 6.0.0, an attacker can craft a PDF which leads to the RAM being exhausted. This requires just reading the file if a series of FlateDecode filters is used on a malicious cross-reference stream. Other content streams are affected on explicit access. This issue has been fixed in 6.0.0. If an update is not possible, a workaround involves including the fixed code from pypdf.filters.decompress into the existing filters file.

CVSS metrics

9 scores · 7 sources · 2 versions

EPSS trend

Probability

0.48%

Chance of exploitation in the next 30 days

Percentile

40%

Versus all other CVEs

30-day change

+0.04 pp

From 0.44% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.48%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard3 products
  • nemo< 2.4.0-r11
  • open-webui< 0.6.22-r1
  • open-webui-compat< 0.6.22-r1
Debian2 products
  • pypdfAll versions (No fix recorded) | < 6.9.0-1
  • pypdf2All versions (No fix recorded)
Ubuntu2 products
  • pypdfAll versions (No fix recorded)
  • pypdf2All versions (No fix recorded)
Wolfi2 products
  • open-webui< 0.6.22-r1
  • open-webui-compat< 0.6.22-r1
Opensuse1 product
  • python-pypdf&distro=openSUSE Tumbleweed< 6.0.0-1.1
Py-pdf1 product
Pypdf_project1 product
PyPI1 product
  • pypdf< 6.0.0

8 vendors · 13 products

References

14 links
Show all 14 references