6.8

CVE-2026-31826: py-pdf pypdf

CVSS: 6.8v4.0MediumAnalyzed
AliasesGHSA-hqmh-ppp3-xvm7PYSEC-2026-3019UBUNTU-CVE-2026-31826
Published 10-03-2026Last modified 11-03-2026

Vulnerability summary

CVE-2026-31826 is a medium (CVSS 6.8) vulnerability in py-pdf pypdf. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 7.7% of scored vulnerabilities.

Overall risk
27/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.8/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.19%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 10-03-2026
    PublishedVulnerability first disclosed.
  2. 11-03-2026
    Last modifiedVulnerability information updated.

Description

pypdf is a free and open-source pure-python PDF library. Prior to 6.8.0, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing a content stream with a rather large /Length value, regardless of the actual data length inside the stream. This vulnerability is fixed in 6.8.0.

CVSS metrics

9 scores · 7 sources · 2 versions

EPSS trend

Probability

0.19%

Chance of exploitation in the next 30 days

Percentile

8%

Versus all other CVEs

30-day change

+0.01 pp

From 0.17% on 20-09-2026

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

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
  • litellm< 1.81.14-r1
  • nemo< 2.7.0-r2
  • open-webui< 0.8.10-r1
Opensuse3 products
  • python-PyPDF2&distro=openSUSE Leap 16.0< 2.11.1-bp160.4.1
  • python-PyPDF2&distro=openSUSE Tumbleweed< 2.11.1-7.1
  • python-pypdf&distro=openSUSE Tumbleweed< 6.8.0-1.1
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.8.0
Ubuntu1 product
  • pypdfAll versions (No fix recorded)
Wolfi1 product
  • open-webui< 0.8.10-r1

8 vendors · 13 products

References

14 links
Show all 14 references