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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/py-pdf/pypdf/pull/3796 Issue Tracking, Patch
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-wjqc-6w8f-h24c Patch, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 6.9 · pypdf_projectNVD modified 2026-10-14 20:10
Affected (CPE criteria) 1
cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:*
References 3
- https://github.com/py-pdf/pypdf/pull/3796 Issue Tracking, Patch
- https://github.com/py-pdf/pypdf/releases/tag/6.12.1 Release Notes
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-wjqc-6w8f-h24c Patch, Vendor Advisory