CVE-2026-34479Apache Log4j 1 to Log4j 2 bridge: silent log event loss in Log4j1XmlLayout due to unescaped XML 1.0 forbidden characters
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.9% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.9%
- percentile 60%
- Fix
- Named by a source
- CVE published 10 Apr 2026
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.9% (+1) · Public exploit or proof of concept (+15) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- org.apache.logging.log4j:log4j-core (Maven): upgrade to 2.25.4 or later on your release line.
- Mitigation: https://logging.apache.org/log4j/2.x/migrate-from-log4j1.html
- Advisory: https://logging.apache.org/cyclonedx/vdr.xml
- Advisory: https://logging.apache.org/security.html#CVE-2026-34479
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-34479
Who should check
org.apache.logging.log4j:log4j-core (Maven) pkg:maven/org.apache.logging.log4j/log4j-core
- Affected>= 2.7, < 2.25.4Fixed in2.25.4OSV (GHSA-h383-gmxw-35v2)
- Affected>= 3.0.0-beta1, <= 3.0.0-beta2Last known affected3.0.0-beta2OSV (GHSA-h383-gmxw-35v2)
apache log4j product:apache/log4j
- Affected>= 2.7, < 2.25.4Affected range ends before2.25.4as published by CPE data (via the NVD API)
- Affected3.0.0-alpha1Fixed innot namedas published by CPE data (via the NVD API)
- Affected3.0.0-alpha1_rc1Fixed innot namedas published by CPE data (via the NVD API)
- Affected3.0.0-alpha1_rc2Fixed innot namedas published by CPE data (via the NVD API)
- Affected3.0.0-beta1Fixed innot namedas published by CPE data (via the NVD API)
- Affected3.0.0-beta2Fixed innot namedas published by CPE data (via the NVD API)
Apache Software Foundation Apache Log4j 1 to Log4j 2 bridge product:apache/log4j12api
- Affected>= 2.7, < 2.25.4Affected range ends before2.25.4as published by CNA (CVE List)
- Affected>= 3.0.0-alpha1, <= 3.0.0-beta2Last known affected3.0.0-beta2as published by CNA (CVE List)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 7.5 HIGH (version 3.1)
- Score from
- NVD
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-116
- Exploitation (CISA SSVC)
- none
- Automatable (CISA SSVC)
- yes
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 10 Apr 2026Published
References
- exploithttps://github.com/apache/logging-log4j2/pull/4078
- otherhttps://lists.apache.org/thread/gd0hp6mj17rn3kj279vgy4p7kd4zz5on
- advisoryhttps://logging.apache.org/cyclonedx/vdr.xml
- mitigationhttps://logging.apache.org/log4j/2.x/migrate-from-log4j1.html
- advisoryhttps://logging.apache.org/security.html#CVE-2026-34479
- otherhttp://www.openwall.com/lists/oss-security/2026/04/10/8
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-34479
- otherhttps://github.com/apache/logging-log4j2
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2026-34479 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-h383-gmxw-35v2 (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 31 min ago · osv 31 min ago · nvd just now · epss 31 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-h383-gmxw-35v2