USN-6176-1: PyPDF2 vulnerability

Publication date

19 June 2023

Overview

PyPDF2 could be made to crash if it opened a specially crafted file.


Packages

  • pypdf2 - Pure-Python library built as a PDF toolkit (Python 2)

Details

It was discovered that PyPDF2 incorrectly handled certain PDF files. 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.

It was discovered that PyPDF2 incorrectly handled certain PDF files. 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

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
22.04 jammy python3-pypdf2 –  1.26.0-4ubuntu0.22.04.1
20.04 focal python3-pypdf2 –  1.26.0-3ubuntu1.20.04.1
python-pypdf2 –  1.26.0-3ubuntu1.20.04.1
18.04 bionic python3-pypdf2 –  1.26.0-2ubuntu0.1~esm1  
python-pypdf2 –  1.26.0-2ubuntu0.1~esm1  
16.04 xenial python3-pypdf2 –  1.25.1-1ubuntu0.1~esm1  
python-pypdf2 –  1.25.1-1ubuntu0.1~esm1  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›