CVE-2026-34477
published medium CVSS 4.0 · 6.3Apache Log4j Core: verifyHostName attribute silently ignored in TLS configuration, allowing hostname verification bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | org.apache.logging.log4j:log4j-coreApache Log4j Core · 2.12.0 to < 2.25.4 · 3.0.0-alpha1 through 3.0.0-beta3 · Other versions: unaffected | Affected | Not stated | apache |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP7 | log4jnoarch | Advisory build | 2.20.0-150200.4.33.1 | SUSE-SU-2026:1843-1 |
| SUSE / openSUSE | SLE-15-SP7 | log4j-javadocnoarch | Advisory build | 2.20.0-150200.4.33.1 | SUSE-SU-2026:1843-1 |
| SUSE / openSUSE | SLE-15-SP7 | log4j-jclnoarch | Advisory build | 2.20.0-150200.4.33.1 | SUSE-SU-2026:1843-1 |
| SUSE / openSUSE | SLE-15-SP7 | log4j-slf4jnoarch | Advisory build | 2.20.0-150200.4.33.1 | SUSE-SU-2026:1843-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4jaarch64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
Show 35 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | log4jppc64le | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4js390x | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4jx86_64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-bomaarch64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-bomppc64le | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-boms390x | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-bomx86_64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-javadocaarch64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-javadocppc64le | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-javadocs390x | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-javadocx86_64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jclaarch64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jclppc64le | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jcls390x | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jclx86_64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jmx-guiaarch64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jmx-guippc64le | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jmx-guis390x | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jmx-guix86_64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-nosqlaarch64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-nosqlppc64le | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-nosqls390x | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-nosqlx86_64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-slf4jaarch64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-slf4jppc64le | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-slf4js390x | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-slf4jx86_64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-taglibaarch64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-taglibppc64le | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-taglibs390x | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-taglibx86_64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-webaarch64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-webppc64le | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-webs390x | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-webx86_64 | Advisory build | 2.20.0-2.1 | OPENSUSE-SU-2026:10544-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- apache · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Log4j Core | 2.12.0 to < 2.25.4 (affected · maven)3.0.0-alpha1 through 3.0.0-beta3 (affected · maven)Default: unaffected | apache · cna |
Weaknesses
1- CWE-297 CWE-297 Improper Validation of Certificate with Host Mismatch
References
5- https://github.com/apache/logging-log4j2/pull/4075
- https://lists.apache.org/thread/lkx8cl46t2bvkcwfcb2pd43ygc097lq4
- https://logging.apache.org/cyclonedx/vdr.xml
- https://logging.apache.org/log4j/2.x/manual/appenders/network.html#SslConfiguration-attr-verifyHostName
- https://logging.apache.org/security.html#CVE-2026-34477
Provider assertions
2apache · cna
Apache Log4j Core: verifyHostName attribute silently ignored in TLS configuration, allowing hostname verification bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fe7325052b508bb5bc9cd99a8676f1156f687cdb0ef08564c65fe58038742a32
- Ingested
- 23 Sep 2026, 09:11:13 UTC
- Source record
- Official CVE record