CVE Catalog

CVE-2026-40260

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.42%

37th percentile - higher than 37% of all known CVEs

Summary

In pypdf versions prior to 6.10.0, manipulated XMP metadata entity declarations can exhaust RAM. An attacker can craft a PDF that causes excessive memory usage when XMP metadata is parsed. This issue is fixed in version 6.10.0.

Risk Assessment

Processing a malicious PDF can lead to memory exhaustion and denial of service (DoS) in applications using pypdf. The risk applies to systems accepting PDF files from untrusted users.

Recommendation

Update pypdf to version 6.10.0 or later. Consider limiting resources of the process handling PDF files.

Other vulnerabilities in pypdf

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS