CVE-2026-40260
pypdf is a free and open-source pure-python PDF library. In …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/py-pdf/pypdf/security/advisories/GHSA-3crg-w4f6-42mx
- github.com/py-pdf/pypdf/pull/3724
- github.com/py-pdf/pypdf/commit/b15a374e5ca648d4878e57c3b2c0551e7f8cc7f8
- github.com/py-pdf/pypdf/releases/tag/6.10.0
- github.com/advisories/GHSA-3crg-w4f6-42mx
- nvd.nist.gov/vuln/detail/CVE-2026-40260
- nvd.nist.gov/vuln/detail/CVE-2026-40260
- cve.org/CVERecord?id=CVE-2026-40260
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.