VDB

CVE-2025-68161

CVE-2025-68161 PUBLISHED CVSS 6.3 MEDIUM

Apache Log4j Core: Missing TLS hostname verification in Socket appender

Reported by apache · Published December 18, 2025

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.

Risk scores

CVSS 4.0
6.3
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

Affected products

VendorProductVersions
Apache Software FoundationApache Log4j Core2.0-beta9, 3.0.0-alpha1
chainguardceleborn-0.50
chainguardelasticsearch-9.10
wolfiflink-2.20
chainguardneo4j-2025.090
chainguardspark-4.00
chainguardconfluent-kafka0
chainguardapache-hop-fips0
wolfikserve-modelmesh0
wolfiflink-2.00
wolficonfluent-kafka0
chainguardconfluent-kafka-jre-bcfips0
chainguardsonarqube0
wolfineo4j-5.260
chainguardpy3-vllm-cuda-12.40
Mavenorg.apache.logging.log4j:log4j-core2.0-beta9
chainguardelasticsearch-8.190
wolfiairflow-30
wolfikafka-4.00
chainguardwso2is0

…and 107 more

Timeline

  • Dec 18, 2025 CVE Published
  • Dec 19, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (9 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Aug 11, 2026 Distribution Patch (4 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-68161
vulnetix vdb fixes CVE-2025-68161

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-68161/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›