pypdf
Affected
- introduced
0, fixed6.9.2(ecosystem)
Fixed versions
6.9.2
Fix
- Fixed version
6.9.2pip install --upgrade pypdf==6.9.2
Advisory
Also known as: CVE-2026-33699, GHSA-87mj-5ggw-8qc3
pypdf: Possible infinite loop during recovery attempts in DictionaryObject.read_from_stream
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.
Not rated by the source.
0, fixed 6.9.2 (ecosystem)6.9.2
6.9.2pip install --upgrade pypdf==6.9.2Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0