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.
References
| Link | Resource |
|---|---|
| https://github.com/py-pdf/pypdf/commit/77d7b8d7cfbe8dd179858dfa42666f73fc6e57a2 | Patch |
| https://github.com/py-pdf/pypdf/pull/3646 | Issue Tracking Patch |
| https://github.com/py-pdf/pypdf/releases/tag/6.7.1 | Product Release Notes |
| https://github.com/py-pdf/pypdf/security/advisories/GHSA-wgvp-vg3v-2xq3 | Patch Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-02-20 22:16
Updated : 2026-02-24 15:16
NVD link : CVE-2026-27025
Mitre link : CVE-2026-27025
CVE.ORG link : CVE-2026-27025
JSON object : View
Products Affected
pypdf_project
- pypdf
CWE
CWE-834
Excessive Iteration
