All reports
Medium

pypdf: Possible infinite loop during recovery attempts in DictionaryObject.read_from_stream

Affected versions

Version ranges need review.

PyPIpypdf
Affected versions
< 6.9.2
Fixed version
6.9.2
PyPIpypdf
Affected versions
<6.9.2
Fixed version
6.9.2
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-33699

Probability of exploitation in the next 30 days: 0.48%

FIRST EPSS · 2026-11-20

Description

Impact

An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires reading a file in non-strict mode.

Patches

This has been fixed in pypdf==6.9.2.

Workarounds

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

Links

Credits

  • kejcao
  • stefan6419846