CVE-2026-71870
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.15.0, a crafted PDF can cause large memory consumption when pypdf/_cmap.py function parse_bfrange parses unusually large source-code or destination-string tokens in a font /ToUnicode CMap during text extraction. This issue is fixed in 6.15.0.
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/commit/afba8080e19d29a3c256a742b340995e695b35aa
- github.com/py-pdf/pypdf/pull/3944
- github.com/py-pdf/pypdf/releases/tag/6.15.0
- github.com/py-pdf/pypdf/security/advisories/GHSA-fp3f-mc75-235c
- github.com/advisories/GHSA-fp3f-mc75-235c
- nvd.nist.gov/vuln/detail/CVE-2026-71870
- cve.org/CVERecord?id=CVE-2026-71870
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.