All vulnerabilities

Servers and applications

CVE-2026-34478

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…

Severity
Medium 6.9
Published
10 Apr 2026
Last changed
26 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.25.4
Exploit chance
1% in the next 30 daysHigher than 63% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-117CWE-684
Attack
Over the network · No login needed · No user action needed
CVSS vector
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
Sources
NVD

Description

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.

From NVD.

Affected software

SoftwareAffected versions
Apache Log4jServers and applications · cpe:a:apache:log4j
  • From 2.21.0 before 2.25.4
  • Version 3.0.0-beta1
  • Version 3.0.0-beta2
  • Version 3.0.0-beta3

About Apache Log4j

Java library for logging

From Wikidata, CC0 1.0.
GitHub stars
3,645GitHub, 15 Nov 2026
Forks
1,761GitHub, 15 Nov 2026
Latest release
rel/2.26.1GitHub, 15 Nov 2026
Released
2 Jul 2026GitHub
Developer
Apache Software FoundationWikidata
License
Apache Software License 2.0Wikidata
Written in
JavaWikidata
First published on GitHub
12 Jun 2013GitHub

Release lines

ReleaseLatestSecurity fixes
22.26.1Yes
2.122.12.4Ended 14 Dec 2021
2.32.3.2Ended 20 Sept 2015
11.2.17Ended 15 Oct 2015

From endoflife.date.

Vulnerabilities in Apache Log4j

In our list
20
Published in the last 12 months
7
Critical, last 12 months
0
High, last 12 months
0
Known exploited
2
Search the list for Apache Log4j

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-34478
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-34478