ADVISORIES

GitHub Advisory Database

GHSA-3crg-w4f6-42mx

pypdf: Manipulated XMP metadata entity declarations can exhaust RAM

Details

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 packages

EcosystemPackageAffected versions
PyPIpypdf
All versions before 6.10.0 (fixed in 6.10.0)

References