{"cve":"CVE-2026-40260","nvd":{"published":"2026-04-17T01:17:39.733","modified":"2026-06-17T10:44:55.547","status":"Analyzed","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.","cvss_v4":{"vector":"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","score":6.9},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3},"cwes":["CWE-776"],"references":["https://github.com/py-pdf/pypdf/commit/b15a374e5ca648d4878e57c3b2c0551e7f8cc7f8","https://github.com/py-pdf/pypdf/pull/3724","https://github.com/py-pdf/pypdf/releases/tag/6.10.0","https://github.com/py-pdf/pypdf/security/advisories/GHSA-3crg-w4f6-42mx"],"products":["pypdf_project:pypdf"],"source":"nvd","synced_at":"2026-10-19T22:30:49.762551342+00:00"},"epss":{"cve":"CVE-2026-40260","score":0.00423,"percentile":0.36626,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-3crg-w4f6-42mx","url":"https://osv.dev/vulnerability/GHSA-3crg-w4f6-42mx","summary":"pypdf: Manipulated XMP metadata entity declarations can exhaust RAM","modified":"2026-09-10T03:50:42.398553260Z","packages":[{"ecosystem":"PyPI","name":"pypdf","purl":"pkg:pypi/pypdf","ranges":["<6.10.0"],"fixed":["6.10.0"]}]},{"id":"PYSEC-2026-3006","url":"https://osv.dev/vulnerability/PYSEC-2026-3006","summary":"pypdf: Manipulated XMP metadata entity declarations can exhaust RAM","modified":"2026-07-13T16:33:08.833060811Z","packages":[{"ecosystem":"PyPI","name":"pypdf","purl":"pkg:pypi/pypdf","ranges":["<6.10.0"],"fixed":["6.10.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}