CVE-2026-34479
published medium CVSS 4.0 · 6.9Apache Log4j 1 to Log4j 2 bridge: Silent log event loss in Log4j1XmlLayout due to unescaped XML 1.0 forbidden characters
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.logging.log4j:log4j-1.2-apiApache Log4j 1 to Log4j 2 bridge · 2.7 to < 2.25.4 · 3.0.0-alpha1 through 3.0.0-beta2 · Other versions: unaffected | Affected | Not stated | apache |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP7 | log4jnoarch | Advisory build | 2.20.0-150200.4.33.1 | SUSE-SU-2026:1843-1 |
| SUSE / openSUSE | SLE-15-SP7 | log4j-javadocnoarch | Advisory build | 2.20.0-150200.4.33.1 | SUSE-SU-2026:1843-1 |
| SUSE / openSUSE | SLE-15-SP7 | log4j-jclnoarch | Advisory build | 2.20.0-150200.4.33.1 | SUSE-SU-2026:1843-1 |
| SUSE / openSUSE | SLE-15-SP7 | log4j-slf4jnoarch | Advisory build | 2.20.0-150200.4.33.1 | SUSE-SU-2026:1843-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4jaarch64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
Show 35 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | log4jppc64le | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4js390x | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4jx86_64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-bomaarch64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-bomppc64le | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-boms390x | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-bomx86_64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-javadocaarch64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-javadocppc64le | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-javadocs390x | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-javadocx86_64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jclaarch64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jclppc64le | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jcls390x | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jclx86_64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jmx-guiaarch64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jmx-guippc64le | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jmx-guis390x | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jmx-guix86_64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-nosqlaarch64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-nosqlppc64le | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-nosqls390x | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-nosqlx86_64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-slf4jaarch64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-slf4jppc64le | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-slf4js390x | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-slf4jx86_64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-taglibaarch64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-taglibppc64le | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-taglibs390x | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-taglibx86_64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-webaarch64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-webppc64le | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-webs390x | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-webx86_64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- apache · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Log4j 1 to Log4j 2 bridge | 2.7 to < 2.25.4 (affected · maven)3.0.0-alpha1 through 3.0.0-beta2 (affected · maven)Default: unaffected | apache · cna |
Weaknesses
1- CWE-116 CWE-116 Improper Encoding or Escaping of Output
References
6- http://www.openwall.com/lists/oss-security/2026/04/10/8
- 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
Provider assertions
3apache · cna
Apache Log4j 1 to Log4j 2 bridge: Silent log event loss in Log4j1XmlLayout due to unescaped XML 1.0 forbidden characters
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 307e5cdc8ac94975f4e5633be35907836642b0bd77a6bd7dbd4fd772b0b2b268
- Ingested
- 23 Sep 2026, 09:11:13 UTC
- Source record
- Official CVE record