CVE-2026-48156

NameCVE-2026-48156
Descriptionpypdf is a free and open-source pure-python PDF library. Prior to 6.12.0, an attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires cross-reference streams with /W [0 0 0] values and large /Size values. This vulnerability is fixed in 6.12.0.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1138193

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pypdf (PTS)bookworm3.4.1-1+deb12u1vulnerable
trixie5.4.0-1vulnerable
forky6.19.0-1fixed
sid6.21.0-1fixed
pypdf2 (PTS)bookworm2.12.1-3+deb12u1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pypdfsource(unstable)6.19.0-11138193
pypdf2source(unstable)(unfixed)

Notes

[trixie] - pypdf <no-dsa> (Minor issue)
[bookworm] - pypdf <no-dsa> (Minor issue)
[bookworm] - pypdf2 <no-dsa> (Minor issue)
[bullseye] - pypdf2 <postponed> (Minor issue)
https://github.com/py-pdf/pypdf/security/advisories/GHSA-248m-82v9-q6g6
https://github.com/py-pdf/pypdf/pull/3791
https://github.com/py-pdf/pypdf/commit/507d7c9aa6ea83389b954b9c3c0c528fe5d5da70 (6.12.0)

Search for package or bug name: Reporting problems