{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-34477", "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09", "state": "PUBLISHED", "assignerShortName": "apache", "dateReserved": "2026-03-28T11:26:04.052Z", "datePublished": "2026-04-10T15:36:19.740Z", "dateUpdated": "2026-04-10T17:38:57.154Z" }, "containers": { "cna": { "affected": [ { "collectionURL": "https://repo.maven.apache.org/maven2", "cpes": [ "cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*" ], "defaultStatus": "unaffected", "packageName": "org.apache.logging.log4j:log4j-core", "packageURL": "pkg:maven/org.apache.logging.log4j/log4j-core", "product": "Apache Log4j Core", "vendor": "Apache Software Foundation", "versions": [ { "lessThan": "2.25.4", "status": "affected", "version": "2.12.0", "versionType": "maven" }, { "lessThanOrEqual": "3.0.0-beta3", "status": "affected", "version": "3.0.0-alpha1", "versionType": "maven" } ] } ], "credits": [ { "lang": "en", "type": "finder", "value": "Samuli Leinonen (original reporter)" }, { "lang": "en", "type": "finder", "value": "Naresh Kandula (independently)" }, { "lang": "en", "type": "finder", "value": "Vitaly Simonovich (independently)" }, { "lang": "en", "type": "finder", "value": "Raijuna (independently)" }, { "lang": "en", "type": "finder", "value": "Danish Siddiqui (djvirus, independently)" }, { "lang": "en", "type": "finder", "value": "Markus Magnuson (independently)" }, { "lang": "en", "type": "finder", "value": "Haruki Oyama (Waseda University, independently)" } ], "descriptions": [ { "lang": "en", "supportingMedia": [ { "base64": false, "type": "text/html", "value": "
The fix for CVE-2025-68161 was incomplete: it addressed hostname verification only when enabled via the log4j2.sslVerifyHostName system property, but not when configured through the 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:
<Ssl> element.This issue does not affect users of the HTTP appender, which uses a separate 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.
" } ], "value": "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