pypdf: Possible infinite loop for not terminated inline images (ASCII85 and ASCIIHex filter)
Impact
An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires parsing the content stream of a page with a not terminated inline image, as done when extracting the page text for example. It only affects the ASCII85 and ASCIIHex filters.
Patches
This has been fixed in pypdf==6.14.2.
Workarounds
If you cannot upgrade yet, consider applying the changes from PR #3892.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | pypdf | < 6.14.2 | 6.14.2 |
Referencias
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-g867-7843-wf8q
- https://nvd.nist.gov/vuln/detail/CVE-2026-59935
- https://github.com/py-pdf/pypdf/pull/3892
- https://github.com/py-pdf/pypdf/commit/5a33a46416aa1ae6c025ff90a3cca57631fdafd2
- https://github.com/py-pdf/pypdf
- https://github.com/py-pdf/pypdf/releases/tag/6.14.2
- https://pypi.org/project/pypdf
- https://github.com/advisories/GHSA-g867-7843-wf8q
- Vector CVSS
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- Debilidad (CWE)
CWE-835- Plataforma
- Python (PyPI)
- Paquete
pypdf- Publicada
- 23.07.2026
- Actualizado
- 11.10.2026 15:17
Fuentes y licencias
OSV / GitHub Advisory Database - PYSEC-2026-3613 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-g867-7843-wf8q - CC BY 4.0
Historial de vulnerabilidades: pypdf
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 51
- Primera → última
- 06.2023 10.2026
- Sin corrección
- 0
- Explotada en ataques
- 0
Distribución por gravedad
- Alta 10
- Media 38
- Baja 3
Divulgaciones por año
- 2023: 2
- 2024: 0
- 2025: 4
- 2026: 45
-
pypdf: Possible infinite loop for not terminated inline images (ASCII85 and ASCIIHex filter) esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.