UNKNOWN PyPI

pypdf: Manipulated XMP metadata streams can exhaust RAM

GHSA-wjqc-6w8f-h24c · CVE-2026-48735

Published · Modified

Description

Impact

An attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing large XMP metadata, possibly with lots of unnecessary elements.

Patches

This has been fixed in pypdf==6.12.1.

Workarounds

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

Ready to move

Start Securing

Free, no credit card | First findings in minutes