CVE-2025-68161
published medium CVSS 4.0 · 6.3Apache Log4j Core: Missing TLS hostname verification in Socket appender
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.0-beta9 to < 2.25.3 · 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 evaluationALAS2023-2026-1398 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | apache-log4j2 | Advisory build | 2.17.1-1~deb11u2 | DLA-4444-1 |
| SUSE / openSUSE | SLE-15-SP7 | log4jnoarch | Advisory build | 2.20.0-150200.4.30.1 | SUSE-SU-2026:0254-1 |
| Amazon Linux | AL2023 | log4jnoarch | Listed in advisory | Not stated | ALAS2023-2026-1398 |
| SUSE / openSUSE | SLE-15-SP7 | log4j-javadocnoarch | Advisory build | 2.20.0-150200.4.30.1 | SUSE-SU-2026:0254-1 |
| SUSE / openSUSE | SLE-15-SP7 | log4j-jclnoarch | Advisory build | 2.20.0-150200.4.30.1 | SUSE-SU-2026:0254-1 |
Show 46 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP7 | log4j-slf4jnoarch | Advisory build | 2.20.0-150200.4.30.1 | SUSE-SU-2026:0254-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | log4jnoarch | Advisory build | 2.20.0-150200.4.30.1 | SUSE-SU-2026:0254-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | log4j-javadocnoarch | Advisory build | 2.20.0-150200.4.30.1 | SUSE-SU-2026:0254-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | log4j-jclnoarch | Advisory build | 2.20.0-150200.4.30.1 | SUSE-SU-2026:0254-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | log4j-slf4jnoarch | Advisory build | 2.20.0-150200.4.30.1 | SUSE-SU-2026:0254-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | corednsaarch64 | Advisory build | 1.14.0-bp160.1.1 | OPENSUSE-SU-2026:20099-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | corednsppc64le | Advisory build | 1.14.0-bp160.1.1 | OPENSUSE-SU-2026:20099-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | corednsx86_64 | Advisory build | 1.14.0-bp160.1.1 | OPENSUSE-SU-2026:20099-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | coredns-extrasnoarch | Advisory build | 1.14.0-bp160.1.1 | OPENSUSE-SU-2026:20099-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4jaarch64 | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4jppc64le | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4js390x | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4jx86_64 | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-bomaarch64 | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-bomppc64le | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-boms390x | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-bomx86_64 | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-javadocaarch64 | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-javadocppc64le | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-javadocs390x | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-javadocx86_64 | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jclaarch64 | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jclppc64le | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jcls390x | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jclx86_64 | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jmx-guiaarch64 | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jmx-guippc64le | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jmx-guis390x | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-jmx-guix86_64 | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-nosqlaarch64 | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-nosqlppc64le | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-nosqls390x | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-nosqlx86_64 | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-slf4jaarch64 | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-slf4jppc64le | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-slf4js390x | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-slf4jx86_64 | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-taglibaarch64 | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-taglibppc64le | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-taglibs390x | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-taglibx86_64 | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-webaarch64 | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-webppc64le | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-webs390x | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | log4j-webx86_64 | Advisory build | 2.20.0-1.1 | OPENSUSE-SU-2026:10009-1 |
| Amazon Linux | AL2023 | log4jsrc | Listed in advisory | Not stated | ALAS2023-2026-1398 |
Description
The Socket Appender in Apache Log4j Core versions 2.0-beta9 through 2.25.2 does not perform TLS hostname verification of the peer certificate, even when the verifyHostName https://logging.apache.org/log4j/2.x/manual/appenders/network.html#SslConfiguration-attr-verifyHostName configuration attribute or the log4j2.sslVerifyHostName https://logging.apache.org/log4j/2.x/manual/systemproperties.html#log4j2.sslVerifyHostName system property is set to true. This issue may allow a man-in-the-middle attacker to intercept or redirect log traffic under the following conditions: * The attacker is able to intercept or redirect network traffic between the client and the log receiver. * The attacker can present a server certificate issued by a certification authority trusted by the Socket Appender’s configured trust store (or by the default Java trust store if no custom trust store is configured). Users are advised to upgrade to Apache Log4j Core version 2.25.3, which addresses this issue. As an alternative mitigation, the Socket Appender may be configured to use a private or restricted trust root to limit the set of trusted certificates.
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.0-beta9 to < 2.25.3 (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
8- http://www.openwall.com/lists/oss-security/2025/12/18/1
- https://github.com/apache/logging-log4j2/pull/4002
- https://lists.apache.org/thread/xr33kyxq3sl67lwb61ggvm1fzc8k7dvx
- https://lists.debian.org/debian-lts-announce/2026/01/msg00015.html
- 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/log4j/2.x/manual/systemproperties.html#log4j2.sslVerifyHostName
- https://logging.apache.org/security.html#CVE-2025-68161
Provider assertions
3apache · cna
Apache Log4j Core: Missing TLS hostname verification in Socket appender
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4633653d09cc85b6733dc961647a7877189a915e1d32e715317af95d9805d86b
- Ingested
- 23 Sep 2026, 08:57:02 UTC
- Source record
- Official CVE record