Uncontrolled Memory Allocation in PyPDF - CVE-2026-41312
Published: April 15, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to memory allocation with excessive size value in the FlateDecode stream processing logic when processing a PDF stream compressed using /FlateDecode with a /Predictor value other than 1 and large predictor parameters. A remote attacker can supply a specially crafted PDF to cause a denial of service.
Exploitation requires the application to access the crafted compressed stream.
Affected software
IBM Watson Discovery for IBM Cloud Pak for Data
How to mitigate CVE-2026-41312
IBM Watson Discovery for IBM Cloud Pak for Data - update to 5.4.2