cve.bz

CVE-2026-34478 apache log4j: Improper Output Neutralization for Logs

6.9 mediumEPSS 1.0%Fix available

Medium (6.9) in apache log4j. EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.logging.log4j:log4j-core 2.25.4.

On this page
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.

Severity

CVSS 4.0

6.9 medium
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
1.0% (unchanged from 1.0% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 63rd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-04-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-117 Improper Output Neutralization for Logs
CWE-684 Incorrect Provision of Specified Functionality
OWASP Top 10
A09:2025 Logging & Alerting Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-34478 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-34478?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-34478?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-34478 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-34478

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-34478](https://cve.bz/cve/badge/CVE-2026-34478.svg)](https://cve.bz/cve/CVE-2026-34478)

HTML:

<a href="https://cve.bz/cve/CVE-2026-34478"><img src="https://cve.bz/cve/badge/CVE-2026-34478.svg" alt="CVE-2026-34478"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Log4j Corefrom 2.21.0 before 2.25.4
Apache Software Foundation Apache Log4j Corefrom 3.0.0-beta1 through 3.0.0-beta3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-445c-vh5m-36rjMavenorg.apache.logging.log4j:log4j-core>=2.21.0 <2.25.42.25.4
GHSA-445c-vh5m-36rjMavenorg.apache.logging.log4j:log4j-core>=3.0.0-beta1 <=3.0.0-beta3no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 3 moreapache-log4j1.2no fix listedUBUNTU-CVE-2026-34478
Ubuntu25.10, 26.10, Pro:16.04:LTSapache-log4j2, apache-log4j1.2no fix listedUBUNTU-CVE-2026-34478

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability allows log injection via CRLF sequences due to silently renamed security attributes in Rfc5424Layout. This affects Red Hat products that directly configure Rfc5424Layout with stream-based syslog services, potentially enabling an attacker to obscure or manipulate log records. This impact is limited to specific configurations, as users of the SyslogAppender are not affected.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
HawtIO HawtIO 4.4.0log4j-coreFixed 2026-06-10RHSA-2026:25089
Red Hat AMQ Broker 7.13.6log4j-coreFixed 2026-09-10RHSA-2026:66545
Red Hat AMQ Broker 7.14.1log4j-coreFixed 2026-09-10RHSA-2026:66488
Red Hat build of Apache Camel 4.18.1.P1 for Spring Boot 3.5.16log4j-coreFixed 2026-07-09RHSA-2026:37390
Red Hat Data Grid 8.6.1log4j-coreFixed 2026-06-02RHSA-2026:22619
Red Hat Data Grid 8.6.1log4j-core-testFixed 2026-06-02RHSA-2026:22619
Streams for Apache Kafka 3.2.1log4j-coreFixed 2026-08-12RHSA-2026:54435
Red Hat Offline Knowledge Portal 1.2.13offline-knowledge-portal/rhokp-rhel9:1779996999Fixed 2026-05-28RHSA-2026:21773
Red Hat OpenShift AI 2.25rhoai/odh-modelmesh-rhel9:1783443816Fixed 2026-07-21RHSA-2026:42644
Red Hat AI Inference Serverredhat-user-workloads/rhaiis-cuda-ubi9-3-2-2Not affected
Red Hat AI Inference Serverredhat-user-workloads/rhaiis-cuda-ubi9-3-3Will not fix
Red Hat build of Apicurio Registry 2log4j-coreWill not fix
Red Hat build of Apicurio Registry 3log4j-coreWill not fix
Red Hat build of OptaPlanner 8log4j-coreAffected
Red Hat Enterprise Linux 8log4j:2/log4jNot affected
Red Hat Enterprise Linux 8pki-core:10.6/resteasyNot affected
Red Hat Enterprise Linux 8pki-deps:10.6/resteasyNot affected
Red Hat Enterprise Linux 9log4jWill not fix
Red Hat Enterprise Linux 9resteasyNot affected
Red Hat Enterprise Linux AI (RHEL AI) 3bazel7Affected
28 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-34478.

Attack patterns (CAPEC)

  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-93 Log Injection-Tampering-Forging Likelihood: High · Severity: High
  • CAPEC-268 Audit Log Manipulation

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON