Inefficient algorithmic complexity in PyPDF - CVE-2023-36810
Published: August 14, 2023
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to inefficient algorithmic complexity when parsing PDF files, which can lean to an unexpected long runtime. A remote attacker can pass a specially crafted PDF file to the application and consume all available CPU resources.
Affected software
Ubuntu
python3-pypdf2 (Ubuntu package)
python-pypdf2 (Ubuntu package)
How to mitigate CVE-2023-36810
python3-pypdf2 (Ubuntu package) - addressed in versions Ubuntu Pro, 1.26.0-3ubuntu1.20.04.2, 1.26.0-4ubuntu0.22.04.2
python-pypdf2 (Ubuntu package) - addressed in versions Ubuntu Pro, 1.26.0-3ubuntu1.20.04.2