USN-6280-1: PyPDF2 vulnerability
10 August 2023
PyPDF2 could be made to crash if it opened a specially crafted file.
Releases
Packages
- pypdf2 - Pure-Python library built as a PDF toolkit (Python 2)
Details
It was discovered that PyPDF2 incorrectly handled PDF files with certain
markers. If a user or automated system were tricked into processing a
specially crafted file, an attacker could possibly use this issue to
consume system resources, resulting in a denial of service.
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 22.04
Ubuntu 20.04
Ubuntu 18.04
-
python-pypdf2
-
1.26.0-2ubuntu0.1~esm2
Available with Ubuntu Pro
-
python3-pypdf2
-
1.26.0-2ubuntu0.1~esm2
Available with Ubuntu Pro
Ubuntu 16.04
-
python-pypdf2
-
1.25.1-1ubuntu0.1~esm2
Available with Ubuntu Pro
-
python3-pypdf2
-
1.25.1-1ubuntu0.1~esm2
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.