GHSA-3crg-w4f6-42mxMediumCVSS 5.3

pypdf: Manipulated XMP metadata entity declarations can exhaust RAM

Published
April 10, 2026
Last Modified
April 24, 2026

🔗 CVE IDs covered (1)

📋 Description

Impact

An attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the XMP metadata.

Patches

This has been fixed in pypdf==6.10.0.

Workarounds

If you cannot upgrade yet, consider applying the changes from PR #3724.

🎯 Affected products1

  • pip/pypdf:< 6.10.0

🔗 References (6)