7.5

CVE-2026-27888: py-pdf pypdf Uncontrolled Resource Consumption

CVSS: 7.5v3.1HighAnalyzed
AliasesGHSA-x7hp-r3qg-r3cjPYSEC-2026-3027UBUNTU-CVE-2026-27888
Published 26-02-2026Last modified 23-06-2026

Vulnerability summary

CVE-2026-27888 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in py-pdf pypdf. EPSS estimates a 0.66% chance of exploitation in the next 30 days, higher than 50.6% 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.66%
0%100%
Low · +0.31 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 2

Timeline

  1. 26-02-2026
    PublishedVulnerability first disclosed.
  2. 23-06-2026
    Last modifiedVulnerability information updated.

Description

pypdf is a free and open-source pure-python PDF library. Prior to 6.7.3, an attacker who uses this vulnerability can craft a PDF which leads to the RAM being exhausted. This requires accessing the `xfa` property of a reader or writer and the corresponding stream being compressed using `/FlateDecode`. This has been fixed in pypdf 6.7.3. As a workaround, apply the patch manually.

CVSS metrics

7 scores · 5 sources · 2 versions

EPSS trend

Probability

0.66%

Chance of exploitation in the next 30 days

Percentile

51%

Versus all other CVEs

30-day change

+0.31 pp

From 0.35% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.66%

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

Debian2 products
  • pypdfAll versions (No fix recorded) | < 6.9.0-1
  • pypdf2All versions (No fix recorded)
Py-pdf1 product
Pypdf_project1 product
PyPI1 product
  • pypdf< 6.7.3
Ubuntu1 product
  • pypdfAll versions (No fix recorded)

5 vendors · 6 products

References

11 links
Show all 11 references