CVE-2026-34478Apache Log4j Core: log injection in `Rfc5424Layout` due to silent configuration incompatibility
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 1.2% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 1.2%
- percentile 69%
- Fix
- Named by a source
- CVE published 10 Apr 2026
Reference
None of the "Needs attention" rules apply right now.
EPSS 1.2% (+1) · 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.
- Patch: https://github.com/apache/logging-log4j2/pull/4074
- Advisory: https://lists.apache.org/thread/3k1clr2l6vkdnl4cbhjrnt1nyjvb5gwt
- Advisory: https://logging.apache.org/security.html#CVE-2026-34478
- Advisory: http://www.openwall.com/lists/oss-security/2026/04/10/7
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-34478
Who should check
org.apache.logging.log4j:log4j-core (Maven) pkg:maven/org.apache.logging.log4j/log4j-core
- Affected>= 2.21.0, < 2.25.4Fixed in2.25.4OSV (GHSA-445c-vh5m-36rj)
- Affected>= 3.0.0-beta1, <= 3.0.0-beta3Last known affected3.0.0-beta3OSV (GHSA-445c-vh5m-36rj)
apache log4j product:apache/log4j
- Affected>= 2.21.0, < 2.25.4Affected range ends before2.25.4as published by CNA (CVE List)
- Affected>= 3.0.0-beta1, <= 3.0.0-beta3Last known affected3.0.0-beta3as published by CNA (CVE List)
- Affected>= 2.21.0, < 2.25.4Affected range ends before2.25.4as 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)
- Affected3.0.0-beta3Fixed innot namedas published by CPE data (via the NVD API)
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-117, CWE-684
- 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)Apache Log4j Core's Rfc5424Layout https://logging.apache.org/log4j/2.x/manual/layouts.html#RFC5424Layout , in versions 2.21.0 through 2.25.3, is vulnerable to log injection via CRLF sequences due to undocumented renames of security-relevant configuration attributes. Two distinct issues affect users of stream-based syslog services who configure Rfc5424Layout directly: * The newLineEscape attribute was silently renamed, causing newline escaping to stop working for users of TCP framing (RFC 6587), exposing them to CRLF injection in log output. * The useTlsMessageFormat attribute was silently renamed, causing users of TLS framing (RFC 5425) to be silently downgraded to unframed TCP (RFC 6587), without newline escaping. Users of the SyslogAppender are not affected, as its configuration attributes were not modified. Users are advised to upgrade to Apache Log4j Core 2.25.4, which corrects this issue.
Update history
- 10 Apr 2026Published
References
- patchhttps://github.com/apache/logging-log4j2/pull/4074
- advisoryhttps://lists.apache.org/thread/3k1clr2l6vkdnl4cbhjrnt1nyjvb5gwt
- otherhttps://logging.apache.org/cyclonedx/vdr.xml
- otherhttps://logging.apache.org/log4j/2.x/manual/layouts.html#RFC5424Layout
- advisoryhttps://logging.apache.org/security.html#CVE-2026-34478
- advisoryhttp://www.openwall.com/lists/oss-security/2026/04/10/7
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-34478
- otherhttps://github.com/apache/logging-log4j2
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2026-34478 (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-445c-vh5m-36rj (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 19 min ago · osv 19 min ago · nvd 80 min ago · epss 19 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-445c-vh5m-36rj