ADVISORIES

GitHub Advisory Database

GHSA-mfr5-77xh-9j7h

pypdf has possible infinite loop when cloning dictionaries

Details

Impact

An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires cloning/duplicating a DictionaryObject.

Patches

This has been fixed in pypdf==6.21.4.

Workarounds

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

Affected packages

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

References