Infinite loop in PyPDF - CVE-2026-33699
Published: April 27, 2026
PyPDF
Detailed vulnerability description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to an infinite loop in DictionaryObject.read_from_stream when parsing a crafted PDF file in non-strict mode. A remote attacker can supply a specially crafted PDF file to cause a denial of service.
Exploitation requires the application to read the PDF in non-strict mode.