Ubuntu CVE Tracker
UBUNTU-CVE-2026-28351
Details
pypdf is a free and open-source pure-python PDF library. Prior to version 6.7.4, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the content stream using the RunLengthDecode filter. This has been fixed in pypdf 6.7.4. As a workaround, consider applying the changes from PR #3664.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | pypdf2 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | pypdf2 | All versions, no fix listed |
| Ubuntu:20.04:LTS | pypdf2 | All versions, no fix listed |
| Ubuntu:22.04:LTS | pypdf2 | All versions, no fix listed |
| Ubuntu:24.04:LTS | pypdf | All versions, no fix listed |
| Ubuntu:24.04:LTS | pypdf2 | All versions, no fix listed |
| Ubuntu:25.10 | pypdf | All versions, no fix listed |
| Ubuntu:26.10 | pypdf | All versions, no fix listed |
| Ubuntu:26.04:LTS | pypdf | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2026-28351
- https://www.cve.org/CVERecord?id=CVE-2026-28351
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-f2v5-7jq9-h8cg
- https://github.com/py-pdf/pypdf/pull/3664
- https://github.com/py-pdf/pypdf/commit/f309c6003746414dc7b5048c19e6d879ff2dc858
- https://github.com/py-pdf/pypdf/releases/tag/6.7.4