CVE-2026-40260

MEDIUM

pypdf: Manipulated XMP metadata entity declarations can exhaust RAM

Title source: cna

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.

Scores

CVSS v3 5.3
EPSS 0.0002
EPSS Percentile 4.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Details

CWE
CWE-776
Status published
Products (2)
py-pdf/pypdf < 6.10.0
pypdf_project/pypdf < 6.10.0
Published Apr 17, 2026
Tracked Since Apr 17, 2026