pypdf: Possible large memory usage when parsing font data
Impact
An attacker who uses this vulnerability can craft a PDF which leads to large memory consumption. This requires parsing the /Widths entry of a TrueType or Type1 fonts with unusually large values, for example during text extraction.
Patches
This has been fixed in pypdf==6.18.1.
Workarounds
If you cannot upgrade yet, consider applying the changes from PR #4072.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | pypdf | < 6.18.1 | 6.18.1 |
Verweise
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-g9cg-prrw-2r8q
- https://nvd.nist.gov/vuln/detail/CVE-2026-102996
- https://github.com/py-pdf/pypdf/pull/4072
- https://github.com/py-pdf/pypdf/commit/0fb26eb8cdd01c44b3b2c9fe8329751be2f7cfd5
- https://github.com/py-pdf/pypdf
- https://github.com/py-pdf/pypdf/releases/tag/6.18.1
- https://pypi.org/project/pypdf
- https://github.com/advisories/GHSA-g9cg-prrw-2r8q
- CVSS-Vektor
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N- Schwäche (CWE)
CWE-400- Plattform
- Python (PyPI)
- Paket
pypdf- Veröffentlicht
- 01.10.2026
- Aktualisiert
- 11.10.2026 15:18
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2026-4155 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-g9cg-prrw-2r8q - CC BY 4.0
Schwachstellenhistorie: pypdf
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 51
- Erste → letzte
- 06.2023 10.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Hoch 10
- Mittel 38
- Niedrig 3
Veröffentlichungen pro Jahr
- 2023: 2
- 2024: 0
- 2025: 4
- 2026: 45
-
pypdf: Possible large memory usage when parsing font data dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.