CVE-2023-36464Py-pdf Pypdf
Media 5.5
Seguir: esta CVE · Py-pdf · Py-pdf Pypdf Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 33
- CVSS 3.1
- 5.5
- EPSS
- 0.3% probabilidad de explotación en 30 días · percentil 20
- Requiere autenticación
- Sí
- Publicada
- 27 jun 2023
- Actualizada
- 2 nov 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-835
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Qué pasa
pypdf is an open source, pure-python PDF library. In affected versions an attacker may craft a PDF which leads to an infinite loop if `__parse_content_stream` is executed. That is, for example, the case if the user extracted text from such a PDF. This issue was introduced in pull request #969 and resolved in pull request #1828. Users are advised to upgrade. Users unable to upgrade may modify the line `while peek not in (b"\r", b"\n")` in `pypdf/generic/_data_structures.py` to `while peek not in (b"\r", b"\n", b"")`.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Pypdf.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | pypdf |
≥ 3.1.0 < 3.9.0 |
3.9.0 |
pip install "pypdf>=3.9.0" |
| PyPI | pypdf |
≥ 3.1.0 < 3.9.0 |
3.9.0 |
pip install "pypdf>=3.9.0" |
| PyPI | pypdf2 |
≥ 2.2.0 ≤ 3.0.1 |
sin versión corregida | — |
| PyPI | pypdf2 |
≥ 2.2.0 < 3.9.0 |
3.9.0 |
pip install "pypdf2>=3.9.0" |
Según OSV / GitHub Advisories (GHSA-4vvm-4w3v-6mr8, PYSEC-2026-3008, PYSEC-2026-1835). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| py-pdf | pypdf | < 3.9.0 |
| pypdf2_project | pypdf2 | ≥ 2.2.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Issue Tracking Patch
- github.com Exploit Patch