mittel4.8
CVE-2026-71870
pypdf: Possible large memory usage for large /ToUnicode streams
Auswirkung
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.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer beteiligt sein, etwa indem er Inhalte ansieht. Bei Erfolg: geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | pypdf | < 6.15.0 | 6.15.0 |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| Py-pdf | Pypdf | vor 6.15.0 |
| Pypdf Project | Pypdf | vor 6.15.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-fp3f-mc75-235c
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-fp3f-mc75-235c
- https://github.com/py-pdf/pypdf/pull/3944
- https://github.com/py-pdf/pypdf/commit/afba8080e19d29a3c256a742b340995e695b35aa
- https://github.com/py-pdf/pypdf/releases/tag/6.15.0