CVEvulnerability
CVE-2026-27025
6.9 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-02-20
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 6.9 MEDIUM — CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-834
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.
Affected configurations
• pypdf project pypdf (< 6.7.1)
Related
Weakness · CWE (1)
- CWE-834 Excessive Iteration weakness
References
- 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