CVE-2026-34479 Apache Log4j 1 to Log4j 2 bridge: Silent log event loss in Log4j1XmlLayout due to unescaped XML 1.0 forbidden characters
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
25 packages: 3 fixed, 22 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/apache-log4j2(Debian 12) | = 2.19.0-2; = 2.26.1-1; All versions | No fix listed | No fix yet |
| debian/apache-log4j2(Debian 13) | = 2.19.0-2; = 2.26.1-1; All versions | No fix listed | No fix yet |
| debian/apache-log4j2(Debian 14) | = 2.19.0-2; = 2.26.1-1; All versions | No fix listed | No fix yet |
| redhat/log4j-1.2-api(Red Hat amq_streams 3) | All versions | No fix listed | No fix yet |
| redhat/log4j-1.2-api(Red Hat jboss_data_grid 8) | All versions | No fix listed | No fix yet |
| redhat/log4j-1.2-api(Red Hat jboss_enterprise_application_platform 7) | All versions | No fix listed | No fix yet |
| redhat/log4j-1.2-api(Red Hat jboss_enterprise_application_platform 8) | All versions | No fix listed | No fix yet |
| redhat/log4j-1.2-api(Red Hat jboss_fuse 7) | All versions | No fix listed | No fix yet |
| redhat/log4j-1.2-api(Red Hat jbosseapxp) | All versions | No fix listed | No fix yet |
| redhat/log4j:2/log4j(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/offline-knowledge-portal/rhokp-rhel9:1779996999(Red Hat offline_knowledge_portal 1.2 el9) | All versions | No fix listed | No fix yet |
| redhat/redhat-user-workloads/rhokp-core-encrypted(Red Hat offline_knowledge_portal 1) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-modelmesh-rhel8(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-modelmesh-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| ubuntu/apache-log4j1.2(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/apache-log4j1.2(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/apache-log4j1.2(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/apache-log4j1.2(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/apache-log4j2(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/apache-log4j2(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/apache-log4j2(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/apache-log4j2(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| apache log4j | = 3.0.0-alpha1; = 3.0.0-alpha1_rc1; = 3.0.0-alpha1_rc2; = 3.0.0-beta1 +2 more | 2.25.4 | Fixed |
| apache log4j 1 2 api(Maven) | >= 2.7, < 2.25.4; >= 3.0.0-alpha1, <= 3.0.0-beta2 | 2.25.4 | Fixed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.7; = 2.8; = 2.8.1; = 2.8.2 +43 more | 2.25.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apache log4j 1 2 api(Maven) | >= 2.7, < 2.25.4 | 2.25.4 |
| apache log4j 1 2 api(Maven) | >= 3.0.0-alpha1, <= 3.0.0-beta2 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | >= 2.7, < 2.25.4 | 2.25.4 |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.10.0 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.11.0 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.11.1 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.11.2 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.12.0 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.12.1 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.12.2 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.12.3 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.12.4 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.13.0 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.13.1 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.13.2 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.13.3 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.14.0 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.14.1 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.15.0 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.16.0 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.17.0 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.17.1 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.17.2 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.18.0 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.19.0 | No fix listed |
Show 59 more
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.logging.log4j/log4j-core(Maven) | = 2.20.0 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.21.0 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.21.1 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.22.0 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.22.1 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.23.0 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.23.1 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.24.0 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.24.1 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.24.2 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.24.3 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.25.0 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.25.1 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.25.2 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.25.3 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.7 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.8 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.8.1 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.8.2 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.9.0 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 2.9.1 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | >= 3.0.0-beta1, <= 3.0.0-beta2 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 3.0.0-beta1 | No fix listed |
| org.apache.logging.log4j/log4j-core(Maven) | = 3.0.0-beta2 | No fix listed |
| debian/apache-log4j2(Debian:12) | All versions | No fix listed |
| debian/apache-log4j2(Debian:12) | = 2.19.0-2 | No fix listed |
| debian/apache-log4j2(Debian:12) | = 2.26.1-1 | No fix listed |
| debian/apache-log4j2(Debian:13) | All versions | No fix listed |
| debian/apache-log4j2(Debian:13) | = 2.19.0-2 | No fix listed |
| debian/apache-log4j2(Debian:13) | = 2.26.1-1 | No fix listed |
| debian/apache-log4j2(Debian:14) | All versions | No fix listed |
| debian/apache-log4j2(Debian:14) | = 2.19.0-2 | No fix listed |
| debian/apache-log4j2(Debian:14) | = 2.26.1-1 | No fix listed |
| redhat/offline-knowledge-portal/rhokp-rhel9:1779996999(Red Hat:offline_knowledge_portal:1.2::el9) | All versions | No fix listed |
| redhat/log4j-1.2-api(Red Hat:jboss_data_grid:8) | All versions | No fix listed |
| redhat/log4j:2/log4j(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/log4j(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/log4j-1.2-api(Red Hat:jboss_fuse:7) | All versions | No fix listed |
| redhat/log4j-1.2-api(Red Hat:jboss_enterprise_application_platform:7) | All versions | No fix listed |
| redhat/log4j-1.2-api(Red Hat:jboss_enterprise_application_platform:8) | All versions | No fix listed |
| redhat/log4j-1.2-api(Red Hat:jbosseapxp) | All versions | No fix listed |
| redhat/redhat-user-workloads/rhokp-core-encrypted(Red Hat:offline_knowledge_portal:1) | All versions | No fix listed |
| redhat/rhoai/odh-modelmesh-rhel8(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-modelmesh-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/log4j-1.2-api(Red Hat:amq_streams:3) | All versions | No fix listed |
| ubuntu/apache-log4j1.2(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/apache-log4j2(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/apache-log4j1.2(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/apache-log4j2(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/apache-log4j1.2(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/apache-log4j2(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/apache-log4j1.2(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/apache-log4j2(Ubuntu:26.10) | All versions | No fix listed |
| apache log4j | >= 2.7, < 2.25.4 | 2.25.4 |
| apache log4j | = 3.0.0-alpha1 | No fix listed |
| apache log4j | = 3.0.0-alpha1_rc1 | No fix listed |
| apache log4j | = 3.0.0-alpha1_rc2 | No fix listed |
| apache log4j | = 3.0.0-beta1 | No fix listed |
| apache log4j | = 3.0.0-beta2 | No fix listed |
References
- github.com exploit issue-tracking patch
- logging.apache.org vendor-advisory
- logging.apache.org vendor-advisory
- logging.apache.org mitigation related
- lists.apache.org mailing-list vendor-advisory
- www.openwall.com mailing-list
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com
- Debian Security Tracker CVE-2026-34479 vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:21773 patch vendor-advisory
- Red Hat Bugzilla 2457313 issue-tracking
- www.cve.org
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking