{"id":"CVE-2026-40260","aliases":["GHSA-3crg-w4f6-42mx","PYSEC-2026-3006"],"url":"https://o3.security/vulnerability/CVE-2026-40260","summary":"pypdf: Manipulated XMP metadata entity declarations can exhaust RAM","details":"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.","published":"2026-04-16T23:18:26.687Z","modified":"2026-07-15T01:48:58.759863213Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"pypdf","fixedVersion":"6.10.0"}],"fix":{"url":"https://github.com/py-pdf/pypdf/commit/b15a374e5ca648d4878e57c3b2c0551e7f8cc7f8","label":"py-pdf/pypdf@b15a374"},"references":[{"type":"WEB","url":"https://github.com/py-pdf/pypdf/releases/tag/6.10.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40260.json"},{"type":"ADVISORY","url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-3crg-w4f6-42mx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40260"},{"type":"FIX","url":"https://github.com/py-pdf/pypdf/commit/b15a374e5ca648d4878e57c3b2c0551e7f8cc7f8"},{"type":"FIX","url":"https://github.com/py-pdf/pypdf/pull/3724"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:58.759863213Z"}}