Back to search
CVE-2026-40260
Published: Apr 16, 2026
Modified: Apr 17, 2026
PUBLISHED
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.
| Vendor | Product | Versions |
|---|---|---|
py-pdf | pypdf | affected < 6.10.0 |
Weaknesses (CWE)
References
https://github.com/py-pdf/pypdf/security/advisories/GHSA-3crg-w4f6-42mx
x_refsource_CONFIRM
https://github.com/py-pdf/pypdf/pull/3724
x_refsource_MISC
https://github.com/py-pdf/pypdf/releases/tag/6.10.0
x_refsource_MISC
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now