Todas las CVE / Pypdf2 Project
CVE-2022-24859Pypdf2 Project Pypdf2
Media 5.5
Seguir: esta CVE · Pypdf2 Project · Pypdf2 Project Pypdf2 Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 33
- CVSS 3.1
- 5.5
- EPSS
- 1.3% probabilidad de explotación en 30 días · percentil 71
- Requiere autenticación
- Sí
- Publicada
- 18 abr 2022
- Actualizada
- 17 jun 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
PyPDF2 is an open source python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. In versions prior to 1.27.5 an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop if the PyPDF2 if the code attempts to get the content stream. The reason is that the last while-loop in `ContentStream._readInlineImage` only terminates when it finds the `EI` token, but never actually checks if the stream has already ended. This issue has been resolved in version `1.27.5`. Users unable to upgrade should validate and PDFs prior to iterating over their content stream.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Pypdf2.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | pypdf2 |
< 1.27.5 |
1.27.5 |
pip install "pypdf2>=1.27.5" |
| PyPI | pypdf2 |
< 1.27.5 |
1.27.5 |
pip install "pypdf2>=1.27.5" |
Según OSV / GitHub Advisories (GHSA-xcjx-m2pj-8g79, PYSEC-2022-194). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| pypdf2_project | pypdf2 | < 1.27.5 |
| debian | debian_linux | 9.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Exploit Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org