Skip to content

CVE-2025-62707 pypdf affected by possible infinite loop when reading DCT inline images without EOF marker

MediumCVSS 6.6 EPSS 0.85%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

Description

pypdf is a free and open-source pure-python PDF library. Prior to version 6.1.3, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires parsing the content stream of a page which has an inline image using the DCTDecode filter. This has been fixed in pypdf version 6.1.3.

Upgrade path

7 packages: 3 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
debian/pypdf(Debian 13) = 5.4.0-1; = 6.9.0-1; = 6.9.2-1; = 6.9.2-2 +5 more No fix listed No fix yet
ubuntu/pypdf(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/pypdf(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/pypdf(Ubuntu 26.10) All versions No fix listed No fix yet
debian/pypdf(Debian 14) < 6.9.0-1; = 5.4.0-1 6.9.0-1 Fixed
py-pdf pypdf < 6.1.3; = < 6.1.3 6.1.3 Fixed
pypi pypdf(PyPI) < 6.1.3; = 1.0; = 1.1; = 1.2 +75 more 6.1.3 Fixed

Affected products

ProductAffected versionsFixed in
pypi pypdf(PyPI) < 6.1.3 6.1.3
pypi pypdf(PyPI) = 1.0 No fix listed
pypi pypdf(PyPI) = 1.1 No fix listed
pypi pypdf(PyPI) = 1.10 No fix listed
pypi pypdf(PyPI) = 1.11 No fix listed
pypi pypdf(PyPI) = 1.12 No fix listed
pypi pypdf(PyPI) = 1.13 No fix listed
pypi pypdf(PyPI) = 1.2 No fix listed
pypi pypdf(PyPI) = 1.3 No fix listed
pypi pypdf(PyPI) = 1.4 No fix listed
pypi pypdf(PyPI) = 1.5 No fix listed
pypi pypdf(PyPI) = 1.6 No fix listed
pypi pypdf(PyPI) = 1.7 No fix listed
pypi pypdf(PyPI) = 1.8 No fix listed
pypi pypdf(PyPI) = 1.9 No fix listed
pypi pypdf(PyPI) = 3.1.0 No fix listed
pypi pypdf(PyPI) = 3.10.0 No fix listed
pypi pypdf(PyPI) = 3.11.0 No fix listed
pypi pypdf(PyPI) = 3.11.1 No fix listed
pypi pypdf(PyPI) = 3.12.0 No fix listed
pypi pypdf(PyPI) = 3.12.1 No fix listed
pypi pypdf(PyPI) = 3.12.2 No fix listed
pypi pypdf(PyPI) = 3.13.0 No fix listed
pypi pypdf(PyPI) = 3.14.0 No fix listed
pypi pypdf(PyPI) = 3.15.0 No fix listed
Show 70 more
ProductAffected versionsFixed in
pypi pypdf(PyPI) = 3.15.1 No fix listed
pypi pypdf(PyPI) = 3.15.2 No fix listed
pypi pypdf(PyPI) = 3.15.3 No fix listed
pypi pypdf(PyPI) = 3.15.4 No fix listed
pypi pypdf(PyPI) = 3.15.5 No fix listed
pypi pypdf(PyPI) = 3.16.0 No fix listed
pypi pypdf(PyPI) = 3.16.1 No fix listed
pypi pypdf(PyPI) = 3.16.2 No fix listed
pypi pypdf(PyPI) = 3.16.3 No fix listed
pypi pypdf(PyPI) = 3.16.4 No fix listed
pypi pypdf(PyPI) = 3.17.0 No fix listed
pypi pypdf(PyPI) = 3.17.1 No fix listed
pypi pypdf(PyPI) = 3.17.2 No fix listed
pypi pypdf(PyPI) = 3.17.3 No fix listed
pypi pypdf(PyPI) = 3.17.4 No fix listed
pypi pypdf(PyPI) = 3.2.0 No fix listed
pypi pypdf(PyPI) = 3.2.1 No fix listed
pypi pypdf(PyPI) = 3.3.0 No fix listed
pypi pypdf(PyPI) = 3.4.0 No fix listed
pypi pypdf(PyPI) = 3.4.1 No fix listed
pypi pypdf(PyPI) = 3.5.0 No fix listed
pypi pypdf(PyPI) = 3.5.1 No fix listed
pypi pypdf(PyPI) = 3.5.2 No fix listed
pypi pypdf(PyPI) = 3.6.0 No fix listed
pypi pypdf(PyPI) = 3.7.0 No fix listed
pypi pypdf(PyPI) = 3.7.1 No fix listed
pypi pypdf(PyPI) = 3.8.0 No fix listed
pypi pypdf(PyPI) = 3.8.1 No fix listed
pypi pypdf(PyPI) = 3.9.0 No fix listed
pypi pypdf(PyPI) = 3.9.1 No fix listed
pypi pypdf(PyPI) = 4.0.0 No fix listed
pypi pypdf(PyPI) = 4.0.1 No fix listed
pypi pypdf(PyPI) = 4.0.2 No fix listed
pypi pypdf(PyPI) = 4.1.0 No fix listed
pypi pypdf(PyPI) = 4.2.0 No fix listed
pypi pypdf(PyPI) = 4.3.0 No fix listed
pypi pypdf(PyPI) = 4.3.1 No fix listed
pypi pypdf(PyPI) = 5.0.0 No fix listed
pypi pypdf(PyPI) = 5.0.1 No fix listed
pypi pypdf(PyPI) = 5.1.0 No fix listed
pypi pypdf(PyPI) = 5.2.0 No fix listed
pypi pypdf(PyPI) = 5.3.0 No fix listed
pypi pypdf(PyPI) = 5.3.1 No fix listed
pypi pypdf(PyPI) = 5.4.0 No fix listed
pypi pypdf(PyPI) = 5.5.0 No fix listed
pypi pypdf(PyPI) = 5.6.0 No fix listed
pypi pypdf(PyPI) = 5.6.1 No fix listed
pypi pypdf(PyPI) = 5.7.0 No fix listed
pypi pypdf(PyPI) = 5.8.0 No fix listed
pypi pypdf(PyPI) = 5.9.0 No fix listed
pypi pypdf(PyPI) = 6.0.0 No fix listed
pypi pypdf(PyPI) = 6.1.0 No fix listed
pypi pypdf(PyPI) = 6.1.1 No fix listed
pypi pypdf(PyPI) = 6.1.2 No fix listed
debian/pypdf(Debian:13) All versions No fix listed
debian/pypdf(Debian:13) = 5.4.0-1 No fix listed
debian/pypdf(Debian:13) = 6.19.0-1 No fix listed
debian/pypdf(Debian:13) = 6.21.0-1 No fix listed
debian/pypdf(Debian:13) = 6.21.1-1 No fix listed
debian/pypdf(Debian:13) = 6.21.4-1 No fix listed
debian/pypdf(Debian:13) = 6.9.0-1 No fix listed
debian/pypdf(Debian:13) = 6.9.2-1 No fix listed
debian/pypdf(Debian:13) = 6.9.2-2 No fix listed
debian/pypdf(Debian:14) < 6.9.0-1 6.9.0-1
debian/pypdf(Debian:14) = 5.4.0-1 No fix listed
py-pdf pypdf = < 6.1.3 No fix listed
ubuntu/pypdf(Ubuntu:24.04) All versions No fix listed
ubuntu/pypdf(Ubuntu:26.04) All versions No fix listed
ubuntu/pypdf(Ubuntu:26.10) All versions No fix listed
py-pdf pypdf < 6.1.3 6.1.3

References