GHSA-2rw7-x74f-jg35Low

pypdf has a possible infinite loop when loading circular /Prev entries in cross-reference streams

Published
February 25, 2026
Last Modified
February 25, 2026

🔗 CVE IDs covered (1)

📋 Description

Impact

An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires reading the file.

Patches

This has been fixed in pypdf==6.7.2.

Workarounds

If users cannot upgrade yet, consider applying the changes from PR #3655.

🎯 Affected products1

  • pip/pypdf:< 6.7.2

🔗 References (5)