CVE-2026-34478
Apache Log4j Core: Log injection in Rfc5424Layout due to silent configuration incompatibility
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.989% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T18:36:01.564Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 6.9 · published by apacheCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
Assessment source · checked 2026-11-19T12:58:24.097Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T18:36:01.564Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:24.097Z | CVE Program |
| epss | verified | 2026-11-19T18:27:20.210Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:09.801Z | OSV |
| affected | verified | 2026-11-19T12:58:24.097Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:24.097Z | CVE Program |
Affected versions and configuration
Apache Software Foundation Apache Log4j Core; default status: unaffected: 2.21.0 to < 2.25.4 [affected; scheme: maven]; 3.0.0-beta1 to ≤ 3.0.0-beta3 [affected; scheme: maven]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"cpes": [
"cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*"
],
"vendor": "Apache Software Foundation",
"product": "Apache Log4j Core",
"versions": [
{
"status": "affected",
"version": "2.21.0",
"lessThan": "2.25.4",
"versionType": "maven"
},
{
"status": "affected",
"version": "3.0.0-beta1",
"versionType": "maven",
"lessThanOrEqual": "3.0.0-beta3"
}
],
"packageURL": "pkg:maven/org.apache.logging.log4j/log4j-core",
"packageName": "org.apache.logging.log4j:log4j-core",
"collectionURL": "https://repo.maven.apache.org/maven2",
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2026/04/10/7"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2026-04-10T16:18:17.528Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-34478",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-04-10T17:48:27.852992Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-04-10T17:50:12.484Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-445c-vh5m-36rj",
"aliases": [
"CVE-2026-34478"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.21.0"
},
{
"fixed": "2.25.4"
}
]
}
],
"package": {
"name": "org.apache.logging.log4j:log4j-core",
"purl": "pkg:maven/org.apache.logging.log4j/log4j-core",
"ecosystem": "Maven"
},
"versions": [
"2.21.0",
"2.21.1",
"2.22.0",
"2.22.1",
"2.23.0",
"2.23.1",
"2.24.0",
"2.24.1",
"2.24.2",
"2.24.3",
"2.25.0",
"2.25.1",
"2.25.2",
"2.25.3"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-445c-vh5m-36rj/GHSA-445c-vh5m-36rj.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.0.0-beta1"
},
{
"last_affected": "3.0.0-beta3"
}
]
}
],
"package": {
"name": "org.apache.logging.log4j:log4j-core",
"purl": "pkg:maven/org.apache.logging.log4j/log4j-core",
"ecosystem": "Maven"
},
"versions": [
"3.0.0-beta1",
"3.0.0-beta2",
"3.0.0-beta3"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-445c-vh5m-36rj/GHSA-445c-vh5m-36rj.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-34478",
"type": "ADVISORY"
},
{
"url": "https://github.com/apache/logging-log4j2/pull/4074",
"type": "WEB"
},
{
"url": "https://github.com/apache/logging-log4j2",
"type": "PACKAGE"
},
{
"url": "https://lists.apache.org/thread/3k1clr2l6vkdnl4cbhjrnt1nyjvb5gwt",
"type": "WEB"
},
{
"url": "https://logging.apache.org/cyclonedx/vdr.xml",
"type": "WEB"
},
{
"url": "https://logging.apache.org/log4j/2.x/manual/layouts.html#RFC5424Layout",
"type": "WEB"
},
{
"url": "https://logging.apache.org/security.html#CVE-2026-34478",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2026/04/10/7",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-117",
"CWE-684"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-04-10T16:16:31Z",
"github_reviewed_at": "2026-04-14T00:13:29Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Maven / package | org.apache.logging.log4j:log4j-core | Not a distribution channel | 2.25.4 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:09.801ZArchived source JSON
Source publication: 2026-04-10T18:31:17.000Z
Source modification: 2026-09-10T03:50:42.646ZDocument fingerprint
edcc612efb32443d1e557c6501b6748e60e6d4874284b361d7a44a5485f760f9 - CVE ProgramConsulted: 2026-11-19T12:58:24.097ZArchived source JSON
Source publication: 2026-04-10T15:40:17.713Z
Source modification: 2026-04-10T17:50:12.484ZDocument fingerprint
5e5fb52e23c8c9b5474fac837d1f3beda149a8c6952997f51a333105584cd790 - FIRST EPSSConsulted: 2026-11-19T18:27:20.210ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
52fb16c35815c191c610894b8944a7ef8839e9aba34ba618bf57b130142763e5 - CISA KEVConsulted: 2026-11-19T18:36:01.564ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56
Official status history
- UNKNOWN → PUBLISHED · · evidence