Skip to content
OpenAdvisories
Medium USN-6176-1 1 CVE

pypdf2 vulnerability

Published Jun 19, 2023 · Updated Jun 25, 2026

Summary

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.

Fixed packages 4

ReleasePackageFixed in
Ubuntu · 20.04 LTS 20.04:LTS pypdf2 1.26.0-3ubuntu1.20.04.1
Ubuntu · 22.04 LTS 22.04:LTS pypdf2 1.26.0-4ubuntu0.22.04.1
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS pypdf2 1.25.1-1ubuntu0.1~esm1
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS pypdf2 1.26.0-2ubuntu0.1~esm1

Vulnerabilities 1

  • Medium 6.2

    Manipulated inline images can cause Infinite Loop in PyPDF2

    PyPDF2 is an open source python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. In versions prior to 1.27.5 an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop if the PyPDF2 if …

References

  • report
    https://ubuntu.com/security/CVE-2022-24859