6.9

CVE-2026-40260: pypdf: Manipulated XMP metadata entity declarations can exhaust RAM

Analyzed
AliasesGHSA-3crg-w4f6-42mxPYSEC-2026-3006UBUNTU-CVE-2026-40260
Published 16-04-2026Last modified 17-04-2026

Vulnerability summary

CVE-2026-40260 is a medium (CVSS 6.9) vulnerability in py-pdf pypdf. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 40.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.9/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.45%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 16-04-2026
    PublishedVulnerability first disclosed.
  2. 17-04-2026
    Last modifiedVulnerability information updated.

Description

pypdf is a free and open-source pure-python PDF library. In versions prior to 6.10.0, manipulated XMP metadata entity declarations can exhaust RAM. An attacker who exploits this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the XMP metadata. This issue has been fixed in version 6.10.0.

CVSS metrics

10 scores · 7 sources · 2 versions

EPSS trend

Probability

0.45%

Chance of exploitation in the next 30 days

Percentile

41%

Versus all other CVEs

30-day change

Increase +0.03 pp

From 0.42% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard3 products
  • litellm< 1.82.3.0-r4
  • nemo< 2.7.2-r2
  • open-webui< 0.9.2-r0 | < 0.8.12-r4
Opensuse3 products
  • python-PyPDF2&distro=openSUSE Leap 16.0< 2.11.1-bp160.6.1
  • python-PyPDF2&distro=openSUSE Tumbleweed< 2.11.1-9.1
  • python-pypdf&distro=openSUSE Tumbleweed< 6.10.2-1.1
Debian2 products
  • pypdfAll versions (No fix recorded) | < 6.19.0-1
  • pypdf2All versions (No fix recorded)
Ubuntu2 products
  • pypdfAll versions (No fix recorded)
  • pypdf2All versions (No fix recorded)
Py-pdf1 product
Pypdf_project1 product
PyPI1 product
  • pypdf< 6.10.0
Wolfi1 product
  • open-webui< 0.9.2-r0 | < 0.8.12-r4

8 vendors · 14 products

References

14 links
Show all 14 references