CVE-2026-34479

The Log4j1XmlLayout from the Apache Log4j 1-to-Log4j 2 bridge fails to escape characters forbidden by the XML 1.0 standard, producing malformed XML output. Conforming XML parsers are required to reject documents containing such characters with a fatal error, which may cause downstream log processing systems to drop or fail to index affected records. Two groups of users are affected: * Those using Log4j1XmlLayout directly in a Log4j Core 2 configuration file. * Those using the Log4j 1 configuration compatibility layer with org.apache.log4j.xml.XMLLayout specified as the layout class. Users are advised to upgrade to Apache Log4j 1-to-Log4j 2 bridge version 2.25.4, which corrects this issue. Note: The Apache Log4j 1-to-Log4j 2 bridge is deprecated and will not be present in Log4j 3. Users are encouraged to consult the Log4j 1 to Log4j 2 migration guide https://logging.apache.org/log4j/2.x/migrate-from-log4j1.html , and specifically the section on eliminating reliance on the bridge.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:log4j:3.0.0:alpha1:*:*:*:*:*:*
cpe:2.3:a:apache:log4j:3.0.0:alpha1_rc1:*:*:*:*:*:*
cpe:2.3:a:apache:log4j:3.0.0:alpha1_rc2:*:*:*:*:*:*
cpe:2.3:a:apache:log4j:3.0.0:beta1:*:*:*:*:*:*
cpe:2.3:a:apache:log4j:3.0.0:beta2:*:*:*:*:*:*

History

26 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) El Log4j1XmlLayout del puente Apache Log4j 1-a-Log4j 2 no logra escapar caracteres prohibidos por el estándar XML 1.0, produciendo una salida XML mal formada. Los analizadores XML conformes deben rechazar documentos que contengan dichos caracteres con un error fatal, lo que puede causar que los sistemas de procesamiento de registros posteriores descarten o no logren indexar los registros afectados. Dos grupos de usuarios se ven afectados: * Aquellos que utilizan Log4j1XmlLayout directamente en un archivo de configuración de Log4j Core 2. * Aquellos que utilizan la capa de compatibilidad de configuración de Log4j 1 con org.apache.log4j.xml.XMLLayout especificado como la clase de diseño. Se aconseja a los usuarios actualizar al puente Apache Log4j 1-a-Log4j 2 versión 2.25.4, que corrige este problema. Nota: El puente Apache Log4j 1-a-Log4j 2 está obsoleto y no estará presente en Log4j 3. Se anima a los usuarios a consultar la guía de migración de Log4j 1 a Log4j 2 https://logging.apache.org/log4j/2.x/migrate-from-log4j1.html, y específicamente la sección sobre la eliminación de la dependencia del puente.

Information

Published : 2026-04-10 16:16

Updated : 2026-10-26 21:10


NVD link : CVE-2026-34479

Mitre link : CVE-2026-34479

CVE.ORG link : CVE-2026-34479


JSON object : View

Products Affected

apache

  • log4j
CWE
CWE-116

Improper Encoding or Escaping of Output