Log injection via silently ignored framing attributes
Published Apr 10, 2026 · Updated Apr 10, 2026
Log injection in Apache Log4j Core 2.21.0 through 2.25.3 and 3.0.0-beta1 through 3.0.0-beta3 allows attackers to forge syslog records. Rfc5424Layout silently ignores the former newLineEscape and useTlsMessageFormat attributes, disabling CRLF escaping or downgrading TLS framing to unframed TCP. Exploitation requires a stream-based syslog service configured with Rfc5424Layout directly and attacker-controlled logged content; SyslogAppender configurations are unaffected.
Summary
What happened
Log injection in Apache Log4j Core 2.21.0 through 2.25.3 and 3.0.0-beta1 through 3.0.0-beta3 allows attackers to forge syslog records. Rfc5424Layout silently ignores the former newLineEscape and useTlsMessageFormat attributes, disabling CRLF escaping or downgrading TLS framing to unframed TCP. Exploitation requires a stream-based syslog service configured with Rfc5424Layout directly and attacker-controlled logged content; SyslogAppender configurations are unaffected.
The record
- CVE
- CVE-2026-34478
- Published
- Apr 10, 2026
- Updated
- Apr 10, 2026
- Vendor
- The Apache Software Foundation
- Product
- Apache Log4j Core
- Classifications
- CWE-117, CWE-684, T1565.001
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 10, 2026CVE publishedPublication date reported by the CVE source.
- Apr 10, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.21.0 <2.25.4
- Affected versionversion=3.0.0-beta1 <=3.0.0-beta3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo