Home

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.

PUBLISHED Reserved 2026-02-17 | Published 2026-02-20 | Updated 2026-02-20 | Assigner GitHub_M




MEDIUM: 6.9CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-834: Excessive Iteration

Product status

< 6.7.1
affected

References

github.com/.../pypdf/security/advisories/GHSA-wgvp-vg3v-2xq3

github.com/py-pdf/pypdf/pull/3646

github.com/...ommit/77d7b8d7cfbe8dd179858dfa42666f73fc6e57a2

github.com/py-pdf/pypdf/releases/tag/6.7.1

cve.org (CVE-2026-27025)

nvd.nist.gov (CVE-2026-27025)

Download JSON