Ubuntu CVE Tracker
UBUNTU-CVE-2026-27025
Details
pypdf is a free and open-source pure-python PDF library. Prior to 6.7.1, an attacker who uses this vulnerability can craft a PDF which leads to long runtimes and large memory consumption. This requires parsing the /ToUnicode entry of a font with unusually large values, for example during text extraction. This vulnerability is fixed in 6.7.1.
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-27025
- https://www.cve.org/CVERecord?id=CVE-2026-27025
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-wgvp-vg3v-2xq3
- https://github.com/py-pdf/pypdf/pull/3646
- https://github.com/py-pdf/pypdf/commit/77d7b8d7cfbe8dd179858dfa42666f73fc6e57a2
- https://github.com/py-pdf/pypdf/releases/tag/6.7.1