Description
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.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| py-pdf | pypdf | < 6.7.1 |
References
- https://github.com/py-pdf/pypdf/commit/77d7b8d7cfbe8dd179858dfa42666f73fc6e57a2Patch
- https://github.com/py-pdf/pypdf/pull/3646Issue Tracking, Patch
- https://github.com/py-pdf/pypdf/releases/tag/6.7.1Product, Release Notes
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-wgvp-vg3v-2xq3Patch, Vendor Advisory
Timeline
- Published
- Feb 20, 2026
- Last modified
- Nov 2, 2026
- NVD status
- Analyzed