CVE-2026-40260
Last modified
CVE-2026-40260 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. 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. EPSS estimates a 0.42% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pypdf Project | Pypdf | < 6.10.0 |
References
- https://github.com/py-pdf/pypdf/pull/3724Issue Tracking, Patch
- https://github.com/py-pdf/pypdf/releases/tag/6.10.0Product, Release Notes
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-3crg-w4f6-42mxMitigation, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-40260?
How severe is CVE-2026-40260?
How do I fix CVE-2026-40260?
Are you affected by CVE-2026-40260?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
