Skip to main content
Menu
Advisories

pypdf has possible large memory usage when parsing page tree

GHSA-CGGF-277G-3Q54Published Updated GitHub

Description

Impact

An attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the page tree with many shared resources.

Patches

This has been fixed in pypdf==6.21.4.

Workarounds

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

Affected versions

References