{"id":"CVE-2026-34479","published":"2026-04-10T15:41:07Z","modified":"2026-04-10T17:47:34Z","title":"Apache Log4j 1 to Log4j 2 bridge: Silent log event loss in Log4j1XmlLayout due to unescaped XML 1.0 forbidden characters","vendor":"Apache","product":"Apache Log4j 1 to Log4j 2 bridge","tier":"tail","description":{"text":"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.\n\nTwo groups of users are affected:\n\n  *  Those using Log4j1XmlLayout directly in a Log4j Core 2 configuration file.\n  *  Those using the Log4j 1 configuration compatibility layer with org.apache.log4j.xml.XMLLayout specified as the layout class.\n\n\nUsers are advised to upgrade to Apache Log4j 1-to-Log4j 2 bridge version 2.25.4, which corrects this issue.\n\nNote: 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00544,"percentile":0.46584,"provenance":"source"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/apache/logging-log4j2/pull/4078","tags":["patch"]},{"url":"https://logging.apache.org/security.html#CVE-2026-34479","tags":["vendor-advisory"]},{"url":"https://logging.apache.org/cyclonedx/vdr.xml","tags":["vendor-advisory"]},{"url":"https://logging.apache.org/log4j/2.x/migrate-from-log4j1.html","tags":["related"]},{"url":"https://lists.apache.org/thread/gd0hp6mj17rn3kj279vgy4p7kd4zz5on","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/10/8","tags":[]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":9.32},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Log4j 1 to Log4j 2 bridge","versions":[">= 2.7, < 2.25.4",">= 3.0.0-alpha1, <= 3.0.0-beta2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-10T17:45:24.466114Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.logging.log4j:log4j-core","vulnerableRanges":[">=2.7, <2.25.4",">=3.0.0-beta1, <=3.0.0-beta2"],"patched":["2.25.4"],"from":["GHSA-h383-gmxw-35v2"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-21409","exploited":false,"provenance":"source"}}