SEVERITY AND EXPLOITATION CONTEXT

CVE-2025-68161: Apache Log4j Core: Missing TLS hostname verification in Socket appender

Review published vectors, EPSS probability and CISA KEV status independently.

Lookup reads saved CVE and CISA snapshots from this site and requests EPSS from FIRST. The CVE source is contacted when a saved record is unavailable or you request a refresh. External providers receive your IP address. Finding notes and saved assessments are not sent by this feature.

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). 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.

Published CVE snapshot: 2026-10-22. Record last updated: 2026-04-10T16:18:50.424Z. The live panels refresh separately; this snapshot remains available if a source cannot be reached.

View the CVE Program source record

apache · CVSS 4.0: 6.3 Medium

Calculated from the published vector. Base score: 6.3. Provider-reported Base score: 6.3.

Vector and metric explanationsCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N
MetricValueMeaning
Attack vector (AV)NReachable across a network boundary, including internet or routed network paths.
Attack complexity (AC)HExploitation depends on overcoming a specific security-enhancing condition, such as defeating a mitigation.
Attack requirements (AT)NNo particular deployment or execution prerequisite is needed.
Privileges required (PR)NThe attacker needs no privileges before exploiting the vulnerability.
User interaction (UI)NNo other user must participate for exploitation to succeed.
Confidentiality (VC)LSome information is disclosed, with limited scope or seriousness of the direct consequence.
Integrity (VI)NNo integrity impact is demonstrated.
Availability (VA)NNo availability impact is demonstrated.
Confidentiality (SC)NNo impact to this property is established in a subsequent system.
Integrity (SI)LLimited impact is established in a system beyond the vulnerable system.
Availability (SA)NNo impact to this property is established in a subsequent system.

These definitions explain provider selections; they do not independently verify exploitation.

Review vector in calculator

Affected products reported by the provider

  • Apache Software Foundation · Apache Log4j Core

Consult the advisory for affected version ranges, configurations and remediation. A product listing alone does not establish that your installation is vulnerable.

Source references (6)

Interpret severity and exploitation separately

CVSS measures technical severity. EPSS estimates exploitation probability over the next 30 days. CISA KEV lists known exploited vulnerabilities. A missing EPSS result is not zero probability, and absence from KEV does not prove no exploitation. Review your deployment and retain the version, vector and evidence when documenting a finding.

Browse CVEs from 2025 · All published CVEs · Calculation methodology