CVE-2026-27025
pypdf is a free and open-source pure-python PDF library. Prior to …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/py-pdf/pypdf/security/advisories/GHSA-wgvp-vg3v-2xq3
- github.com/py-pdf/pypdf/pull/3646
- github.com/py-pdf/pypdf/commit/77d7b8d7cfbe8dd179858dfa42666f73fc6e57a2
- github.com/py-pdf/pypdf/releases/tag/6.7.1
- github.com/advisories/GHSA-wgvp-vg3v-2xq3
- nvd.nist.gov/vuln/detail/CVE-2026-27025
- nvd.nist.gov/vuln/detail/CVE-2026-27025
- cve.org/CVERecord?id=CVE-2026-27025
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.