Vulnerability
CVE-2026-48735
pypdf is a free and open-source pure-python PDF library. Prior to 6.12.1, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing large XMP metadata, possibly with lots of unnecessary elements. This vulnerability is fixed in 6.12.1.
5 advisories report this vulnerability, across 4 ecosystems.
Advisories in PyPI
-
GHSA-wjqc-6w8f-h24c
pypdf: Manipulated XMP metadata streams can exhaust RAM
-
PYSEC-2026-3025
pypdf: Manipulated XMP metadata streams can exhaust RAM