Vulnerability
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.
417 advisories report this vulnerability, across 8 ecosystems.
Advisories in Wolfi
- CGA-256p-hfmh-m2pg
- CGA-2qx3-mv95-vqx9
- CGA-373g-rc87-mpch
- CGA-38r6-3q5v-2pfw
- CGA-3p8c-9q4r-qwjg
- CGA-422f-pwxf-qrfr
- CGA-47g6-56v7-2jm3
- CGA-4g69-wmxj-c55v
- CGA-4q4v-rhgg-p7r5
- CGA-59p9-q4q3-694v
- CGA-5jh2-mx43-2mm5
- CGA-5w86-8vcv-f278
- CGA-67gm-c444-cp9j
- CGA-6x7r-px35-qwq3
- CGA-7463-qc7p-vf4p
- CGA-75g4-3m4c-g4ch
- CGA-8496-pj67-mg99
- CGA-84jm-6pvq-cxxm
- CGA-8fgc-qw83-p2qw
- CGA-978h-6jp5-3m73
- CGA-99v9-x58x-3xwq
- CGA-9r9p-hjcm-7825
- CGA-c356-86r4-jvqx
- CGA-f4xh-337p-fjcj
- CGA-f678-rhjp-4xwx
- CGA-g2v3-76j3-fx47
- CGA-g3p4-5f86-5rmp
- CGA-gfrf-vrf2-fg2r
- CGA-h3jr-fw8q-q2x3
- CGA-hf69-v27v-qr7x
- CGA-hqmh-6vrc-9jr7
- CGA-hrjc-vq77-24fm
- CGA-hx3j-mv4h-8466
- CGA-jfrr-3q95-7j28
- CGA-jwrm-7cvm-92h9
- CGA-m2wv-pc3g-27rg
- CGA-m75c-cc8g-c8vm
- CGA-pcff-4hpm-r27c
- CGA-q9f4-hxfr-22jx
- CGA-qm78-v377-jcmw
- CGA-qv26-mv93-qjcf
- CGA-rxmq-h796-59v4
- CGA-v9pv-722f-hw7q
- CGA-wfqm-xw34-5878
- CGA-x358-g8wh-rw5v
- CGA-xcp2-4xfg-mpr2
- CGA-xhf5-h6p2-j4w5
- CGA-xpq2-9h6f-qjv6
References
- https://github.com/apache/logging-log4j2/pull/4078
- https://lists.apache.org/thread/gd0hp6mj17rn3kj279vgy4p7kd4zz5on
- https://logging.apache.org/cyclonedx/vdr.xml
- https://logging.apache.org/log4j/2.x/migrate-from-log4j1.html
- https://logging.apache.org/security.html#CVE-2026-34479
- http://www.openwall.com/lists/oss-security/2026/04/10/8