CVE-2026-34481Apache Log4j
Media 6.3 Sin autenticación
Seguir: esta CVE · Apache · Apache Log4j Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 53
- CVSS 4.0
- 6.3
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 10 abr 2026
- Actualizada
- 26 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-116
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/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
Apache Log4j's JsonTemplateLayout https://logging.apache.org/log4j/2.x/manual/json-template-layout.html , in versions up to and including 2.25.3, produces invalid JSON output when log events contain non-finite floating-point values (NaN, Infinity, or -Infinity), which are prohibited by RFC 8259. This may cause downstream log processing systems to reject or fail to index affected records.
An attacker can exploit this issue only if both of the following conditions are met:
* The application uses JsonTemplateLayout.
* The application logs a MapMessage, or logs an object directly (e.g., via Logger.info(Object), which wraps it in an ObjectMessage), where the message contains an attacker-controlled floating-point value.
Users are advised to upgrade to Apache Log4j JSON Template Layout 2.25.4, which corrects this issue.
Note: The fix released in version 2.25.4 did not cover all affected code paths. CVE-2026-49844 was assigned to the remaining issue, which concerns the MapMessage.asJson() serialization in Apache Log4j API and is fixed in versions 2.25.5 and 2.26.1.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Log4j.
- 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 |
|---|---|---|---|---|
| Maven | org.apache.logging.log4j:log4j-layout-template-json |
≥ 2.14.0 < 2.25.4 |
2.25.4 |
— |
| Maven | org.apache.logging.log4j:log4j-layout-template-json |
≥ 3.0.0-alpha1 ≤ 3.0.0-beta3 |
sin versión corregida | — |
Según OSV / GitHub Advisories (GHSA-w35j-pv5h-q9q9). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| apache | log4j | ≥ 2.14.0 < 2.25.4 |
| apache | log4j | 3.0.0 |
| apache | log4j | 3.0.0 |
| apache | log4j | 3.0.0 |
| apache | log4j | 3.0.0 |
| apache | log4j | 3.0.0 |
| apache | log4j | 3.0.0 |
Boletines oficiales
- log4j-2.20.0-2.1 on GA media · SUSE · openSUSE-SU-2026:10544-1 · 14 abr 2026 Media
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Issue Tracking
- lists.apache.org Mailing List Vendor Advisory
- logging.apache.org Product
- logging.apache.org Technical Description
- logging.apache.org Vendor Advisory
- www.openwall.com Mailing List Third Party Advisory