CVE-2026-48735
MEDIUMpypdf: Manipulated XMP metadata streams can exhaust RAM
Title source: cnaDescription
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.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/py-pdf/pypdf/security/advisories/GHSA-wjqc-6w8f-h24c
X_Refsource_Misc x_refsource_misc
https://github.com/py-pdf/pypdf/pull/3796
X_Refsource_Misc x_refsource_misc
https://github.com/py-pdf/pypdf/releases/tag/6.12.1
Scores
CVSS v3
5.5
EPSS
0.0013
EPSS Percentile
2.9%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-770
Status
published
Products (2)
py-pdf/pypdf
< 6.12.1
pypdf_project/pypdf
< 6.12.1
Published
May 28, 2026
Tracked Since
May 28, 2026