py-pdf/pypdf · Security

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

GHSA ID
GHSA-2rw7-x74f-jg35
CVE ID
CVE-2026-27628
Severity
low
Published
Updated
CVSS v4
1.2 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U

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.

CWEs

References