XXE in Py-pdf Pypdf
CVE-2026-40260
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 usa…
EPSS: 0.000 (5.4th percentile) — read the EPSS interpretation.
Affected products
- Py-pdf Pypdf — versions < 6.10.0
Weakness classification (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/commit/b15a374e5ca648d4878e57c3b2c0551e7f8cc7f8 (x_refsource_MISC)
- https://github.com/py-pdf/pypdf/releases/tag/6.10.0 (x_refsource_MISC)