CVE-2026-40260CWE-776

pypdf: Manipulated XMP metadata entity declarations can exhaust RAM

Medium · published April 16, 2026

CVSS v4.0
6.9
EPSS
1%
Percentile
43.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
EPSS
0.00515 · 43.0th percentile
Weakness
CWE-776 · Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')
Published
2026-04-16T23:18Z
EPSS history
Timeline
  • 16 APR 23:18Z
    pypdf: Manipulated XMP metadata entity declarations can exhaust RAM
    cvelistv5