CVE-2026-40260: Pypdf Project Pypdf
Medium severity, CVSS 5.3. EPSS: 0.5% chance of exploitation in the next 30 days.
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.
Affected products
- Pypdf Project Pypdf: before 6.10.0 (fixed in 6.10.0)
Published 2026-04-17. Last modified 2026-06-17.