
CVE catalog
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 rejec
- Severity
- Medium · CVSS 6.9
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.53% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | apache-log4j2 | sid | 2.26.1-1 | fixed |
| Debian | apache-log4j2 | forky | 2.19.0-2 | vulnerable |
| Debian | apache-log4j2 | trixie | 2.19.0-2 | vulnerable |
| Debian | apache-log4j2 | bookworm | 2.19.0-2 | vulnerable |
| Debian | apache-log4j1.2 | sid | 1.2.17-11 | not affected |
| Debian | apache-log4j1.2 | forky | 1.2.17-11 | not affected |
| Debian | apache-log4j1.2 | trixie | 1.2.17-11 | not affected |
| Debian | apache-log4j1.2 | bookworm | 1.2.17-11 | not affected |
| Cpe | apache-log4j2 | Not reported | Not reported | vulnerable |
| Cpe | log4j | Not reported | 2.25.4 | fixed |
| Cpe | log4j | Not reported | Not reported | unknown |
| Cpe | log4j | Not reported | Not reported | unknown |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | apache-log4j2 | source | sid | 2.26.1-1 | not yet assigned | Not reported | [1133848] |
| Debian | apache-log4j2 | source | forky | (unfixed) | not yet assigned | Not reported | [1133848] |
| Debian | apache-log4j2 | source | trixie | (unfixed) | not yet assigned | Not reported | [1133848] |
| Debian | apache-log4j2 | source | bookworm | (unfixed) | not yet assigned | Not reported | [1133848] |
| Debian | apache-log4j1.2 | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | apache-log4j1.2 | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | apache-log4j1.2 | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | apache-log4j1.2 | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Cpe | log4j | cpe | Not reported | 2.25.4 | Not reported | Not reported | Not reported |
Notes
[trixie] apache-log4j2: Minor issue [bookworm] apache-log4j2: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [liblog4j2-java]Affected
Source package: [apache-log4j2]
Details (2)
2.19.0-2· all · bookwormAffected
nvd · apache-log4j2 · debian · bookworm; nvd · apache-log4j2 · debian · 12
2.19.0-2· all · bookwormAffected
nvd · apache-log4j2 · debian · bookworm; nvd · apache-log4j2 · debian · 12
- [liblog4j1.2-java]Not affected
Source package: [apache-log4j1.2]
Details (2)
1.2.17-11· all · bookwormNot affected
nvd · apache-log4j1.2 · debian · bookworm
1.2.17-11· all · bookwormNot affected
nvd · apache-log4j1.2 · debian · bookworm
- [liblog4j1.2-java-doc]Not affected
Source package: [apache-log4j1.2]
Details (2)
1.2.17-11· all · bookwormNot affected
nvd · apache-log4j1.2 · debian · bookworm
1.2.17-11· all · bookwormNot affected
nvd · apache-log4j1.2 · debian · bookworm
[Debian 13 (Trixie)]
- [liblog4j2-java]Affected
Source package: [apache-log4j2]
Details (2)
2.19.0-2· all · trixieAffected
nvd · apache-log4j2 · debian · 13
2.19.0-2· all · trixieAffected
nvd · apache-log4j2 · debian · 13
Observed:
References
- [http://www.openwall.com/lists/oss-security/2026/04/10/8]
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10544-1.json]
- [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]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-34479]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-34479]
- [https://security-tracker.debian.org/tracker/CVE-2026-34479]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34479.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2260.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]