NetSight
medium5.3

CVE-2026-40260

pypdf: Manipulated XMP metadata entity declarations can exhaust RAM

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
pippypdf< 6.10.06.10.0

Affected products

VendorProductAffected versions
Pypdf ProjectPypdf
before 6.10.0

Weakness classification

References