CVE-2026-34477
Apache Log4j Core: verifyHostName attribute silently ignored in TLS configuration, allowing hostname verification bypass
The fix for CVE-2025-68161 https://logging.apache.org/security.html#CVE-2025-68161 was incomplete: it addressed hostname verification only when enabled via the log4j2.sslVerifyHostName https://logging.apache.org/log4j/2.x/manual/systemproperties.html#log4j2.sslVerifyHostName system property, but not when configured through the verifyHostName https://logging.apache.org/log4j/2.x/manual/appenders/network.html#SslConfiguration-attr-verifyHostName attribute of the <Ssl> element. Although the verifyHostName configuration attribute was introduced in Log4j Core 2.12.0, it was silently ignored in all versions through 2.25.3, leaving TLS connections vulnerable to interception regardless of the configured value. A network-based attacker may be able to perform a man-in-the-middle attack when all of the following conditions are met: * An SMTP, Socket, or Syslog appender is in use. * TLS is configured via a nested <Ssl> element. * The attacker can present a certificate issued by a CA trusted by the appender's configured trust store, or by the default Java trust store if none is configured. This issue does not affect users of the HTTP appender, which uses a separate verifyHostname https://logging.apache.org/log4j/2.x/manual/appenders/network.html#HttpAppender-attr-verifyHostName attribute that was not subject to this bug and verifies host names by default. 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.569% · 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-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 6.3 · published by apacheCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N
Assessment source · checked 2026-11-19T12:58:24.056Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:24.056Z | CVE Program |
| epss | verified | 2026-11-19T16:04:49.143Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:09.801Z | OSV |
| affected | verified | 2026-11-19T12:58:24.056Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:24.056Z | CVE Program |
Affected versions and configuration
Apache Software Foundation Apache Log4j Core; default status: unaffected: 2.12.0 to < 2.25.4 [affected; scheme: maven]; 3.0.0-alpha1 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.12.0",
"lessThan": "2.25.4",
"versionType": "maven"
},
{
"status": "affected",
"version": "3.0.0-alpha1",
"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": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-34477",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-04-10T17:36:46.652477Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-04-10T17:38:57.154Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-6hg6-v5c8-fphq",
"aliases": [
"CVE-2026-34477"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.12.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.12.0",
"2.12.1",
"2.12.2",
"2.12.3",
"2.12.4",
"2.13.0",
"2.13.1",
"2.13.2",
"2.13.3",
"2.14.0",
"2.14.1",
"2.15.0",
"2.16.0",
"2.17.0",
"2.17.1",
"2.17.2",
"2.18.0",
"2.19.0",
"2.20.0",
"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-6hg6-v5c8-fphq/GHSA-6hg6-v5c8-fphq.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.0.0-alpha1"
},
{
"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-alpha1",
"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-6hg6-v5c8-fphq/GHSA-6hg6-v5c8-fphq.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-34477",
"type": "ADVISORY"
},
{
"url": "https://github.com/apache/logging-log4j2/pull/4075",
"type": "WEB"
},
{
"url": "https://github.com/apache/logging-log4j2",
"type": "PACKAGE"
},
{
"url": "https://lists.apache.org/thread/lkx8cl46t2bvkcwfcb2pd43ygc097lq4",
"type": "WEB"
},
{
"url": "https://logging.apache.org/cyclonedx/vdr.xml",
"type": "WEB"
},
{
"url": "https://logging.apache.org/log4j/2.x/manual/appenders/network.html#SslConfiguration-attr-verifyHostName",
"type": "WEB"
},
{
"url": "https://logging.apache.org/security.html#CVE-2026-34477",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-297"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-04-10T16:16:30Z",
"github_reviewed_at": "2026-04-14T00:11:55Z"
}
}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:43.570ZDocument fingerprint
edcc612efb32443d1e557c6501b6748e60e6d4874284b361d7a44a5485f760f9 - CVE ProgramConsulted: 2026-11-19T12:58:24.056ZArchived source JSON
Source publication: 2026-04-10T15:36:19.740Z
Source modification: 2026-04-10T17:38:57.154ZDocument fingerprint
fe7325052b508bb5bc9cd99a8676f1156f687cdb0ef08564c65fe58038742a32 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:49.143ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
4ef96dbbcf31fec4681315361f2b1707ba6405e039231678b6857545cf9eacd1
Official status history
- UNKNOWN → PUBLISHED · · evidence