CVE-2026-34479Apache Log4j 1 to Log4j 2 bridge: Silent log event loss in Log4j1XmlLayout due to…
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.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | apache-log4j1.2 | Fix pending | UBUNTU-CVE-2026-34479 | |
| Ubuntu 26.10 | apache-log4j2 | Fix pending | UBUNTU-CVE-2026-34479 | |
| Ubuntu 26.04 | apache-log4j1.2 | Under investigation | UBUNTU-CVE-2026-34479 | |
| Ubuntu 26.04 | apache-log4j2 | Fix pending | UBUNTU-CVE-2026-34479 | |
| Ubuntu 25.10 | apache-log4j1.2 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-34479 | |
| Ubuntu 25.10 | apache-log4j2 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-34479 | |
| Ubuntu 24.04 | apache-log4j1.2 | Under investigation | UBUNTU-CVE-2026-34479 | |
| Ubuntu 24.04 | apache-log4j2 | Fix pending | UBUNTU-CVE-2026-34479 | |
| Ubuntu 22.04 | apache-log4j1.2 | Under investigation | UBUNTU-CVE-2026-34479 | |
| Ubuntu 22.04 | apache-log4j2 | Fix pending | UBUNTU-CVE-2026-34479 | |
| Ubuntu 20.04 | apache-log4j1.2 | Fix pending | UBUNTU-CVE-2026-34479 | |
| Ubuntu 20.04 | apache-log4j2 | Fix pending | UBUNTU-CVE-2026-34479 | |
| Ubuntu 18.04 | apache-log4j1.2 | Fix pending | UBUNTU-CVE-2026-34479 | |
| Ubuntu 18.04 | apache-log4j2 | Fix pending | UBUNTU-CVE-2026-34479 | |
| Ubuntu 16.04 | apache-log4j1.2 | Fix pending | UBUNTU-CVE-2026-34479 | |
| Ubuntu 16.04 | apache-log4j2 | Fix pending | UBUNTU-CVE-2026-34479 | |
| Ubuntu 14.04 | apache-log4j1.2 | Fix pending | UBUNTU-CVE-2026-34479 | |
| Debian 14 | apache-log4j2 | Fix pending | DEBIAN-CVE-2026-34479 | |
| Debian 13 | apache-log4j2 | Fix pending | DEBIAN-CVE-2026-34479 | |
| Debian 12 | apache-log4j2 | Fix pending | DEBIAN-CVE-2026-34479 | |
| Red Hat Enterprise Linux 9 | log4j | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 9 | log4j-jcl | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 9 | log4j-slf4j | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 8 | log4j | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | log4j-jcl | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | log4j-slf4j | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | log4j-web | Fix pending Fix deferred | ||
| Maven library | org.apache.logging.log4j:log4j-core | Fixed | 2.25.4 | GHSA-h383-gmxw-35v2 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Log4j 1 to Log4j 2 bridge: affected: 2.7 to before 2.25.4, 3.0.0-alpha1 to 3.0.0-beta2; fixed in
2.25.4
Vendor advisories:
- https://github.com/apache/logging-log4j2/pull/4078 (patch)
- https://logging.apache.org/security.html#CVE-2026-34479 (vendor-advisory)
- https://logging.apache.org/cyclonedx/vdr.xml (vendor-advisory)
- https://lists.apache.org/thread/gd0hp6mj17rn3kj279vgy4p7kd4zz5on (vendor-advisory)
References
- https://github.com/apache/logging-log4j2/pull/4078
- https://logging.apache.org/security.html#CVE-2026-34479
- https://logging.apache.org/cyclonedx/vdr.xml
- https://logging.apache.org/log4j/2.x/migrate-from-log4j1.html
- https://lists.apache.org/thread/gd0hp6mj17rn3kj279vgy4p7kd4zz5on
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.