CVE-2026-40260: pypdf: Manipulated XMP metadata entity declarations can exhaust RAM
(updated )
An attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the XMP metadata.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-40260 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →