CVE-2025-68161
CVE-2025-68161 — Apache Log4j Core: Missing TLS hostname verification in Socket appender
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).…
Published Updated Sources: cvelistV5, apache
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
6.3
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.3 | CVSS 4.0 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-297
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching //logging.apache.org/log4j/2.x/manual/appenders/network.html#SslConfiguration-attr-verifyHostName, //logging.apache.org/log4j/2.x/manual/systemproperties.html#log4j2.sslVerifyHostName.
References
8 on the record
- github.com/apache/logging-log4j2/pull/4002
patch
- logging.apache.org/security.html#CVE-2025-68161
vendor-advisory
- logging.apache.org/cyclonedx/vdr.xml
vendor-advisory
- logging.apache.org/log4j/2.x/manual/systemproperties.html#log4j2.sslVerifyHostName
related
- logging.apache.org/log4j/2.x/manual/appenders/network.html#SslConfiguration-attr-verifyHostName
related
- lists.apache.org/thread/xr33kyxq3sl67lwb61ggvm1fzc8k7dvx
vendor-advisory
- www.openwall.com/lists/oss-security/2025/12/18/1
reference
- lists.debian.org/debian-lts-announce/2026/01/msg00015.html
reference
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-81084 Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Validation of Certificate with Host…CVSS 7.1
- CVE-2026-79636 Dell SCG 5.0 Appliance versions prior to 5.36.00.16 and Dell SCG 5.0 Application versions prior to 5.36.00.00, contains an Improper…CVSS 7.0
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.