Todas las CVE / Dompdf Project
CVE-2026-59942Dompdf Project Dompdf
Media 6.3 Sin autenticación
Seguir: esta CVE · Dompdf Project · Dompdf Project Dompdf Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 53
- CVSS 4.0
- 6.3
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 28 jul 2026
- Actualizada
- 4 ago 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-400
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
Dompdf is an HTML to PDF converter for PHP. Versions 3.15 and prior are vulnerable to a Denial of Service (DoS) attack via resource exhaustion. An attacker can crash the PHP process by providing a specially crafted HTML document containing a single image with massive dimensions (e.g., 30,000x30,000 pixels). While Dompdf implements internal checks to validate image dimensions, these can be bypassed by using a high-entropy image (such as random noise) encoded in Base64 and wrapped in specific CSS containers. The vulnerability exists because the dimension validation happens early, but the resource allocation for calculating the object's bounding box and internal buffers during the rendering phase does not strictly limit the cumulative CPU time or memory usage for a single object that has passed the initial check. An unauthenticated remote attacker can cause a complete Denial of Service on the web server by submitting a crafted HTML string. This affects any application that allows users to provide HTML content or URLs that are subsequently converted to PDF using Dompdf. This issue has been fixed in version 3.16.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Dompdf.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Packagist | dompdf/dompdf |
< 3.1.6 |
3.1.6 |
composer require "dompdf/dompdf:^3.1.6" |
Según OSV / GitHub Advisories (GHSA-f5gf-2cj8-52g2). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| dompdf_project | dompdf | < 3.1.6 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Patch
- github.com Release Notes
- github.com Exploit Vendor Advisory