| Name | CVE-2025-66019 |
| Description | pypdf is a free and open-source pure-python PDF library. Prior to version 6.4.0, an attacker who uses this vulnerability can craft a PDF which leads to a memory usage of up to 1 GB per stream. This requires parsing the content stream of a page using the LZWDecode filter. This issue has been patched in version 6.4.0. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| pypdf (PTS) | bookworm | 3.4.1-1+deb12u1 | fixed |
| forky, sid, trixie | 5.4.0-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| pypdf | source | (unstable) | (not affected) |
- pypdf <not-affected> (Vulnerable code introduced later)
https://github.com/py-pdf/pypdf/security/advisories/GHSA-m449-cwjh-6pw7
Fixed by: https://github.com/py-pdf/pypdf/commit/96186725e5e6f237129a58a97cd19204a9ce40b2 (6.4.0)
This is a followup to GHSA-jfx9-29x2-rv3j (CVE-2025-62708) to align the
default limit with the one for zlib.