CVE & CISA-KEV Catalog

CVE-2025-68161

MEDIUM
4.8
CVSS v3
NVD

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.

How to fix

Remediation Available
apache-log4j2Debian
Fixed in:2.17.1-1~deb11u2CVE-2025-68161

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Exploit Intelligence

0.76%probability of exploitation in 30 days
52ndpercentile

Moderate risk: more likely to be exploited than 52% of all known CVEs.

References

Related Vulnerabilities

Other CWE-297 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2014-3522Medium4.05.6%-Fix
CVE-2018-10936High8.12.9%-Fix
CVE-2024-2466Medium6.51.3%-Fix
CVE-2020-1887Critical9.11.3%-Fix
CVE-2020-14387High7.41.1%-Fix
CVE-2020-15260Medium6.81.0%-Fix

Common questions

How do I fix CVE-2025-68161?

Upgrade apache-log4j2 on debian 11 to 2.17.1-1~deb11u2 or later.

Is CVE-2025-68161 being actively exploited?

Not that we know of. CVE-2025-68161 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.76% is the estimated probability that it will be exploited in the next 30 days. That is higher than 52% of all scored CVEs.

How severe is CVE-2025-68161?

CVE-2025-68161 has a CVSS v3 base score of 4.8, rated moderate. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2025-68161 affect?

Published advisories record a fix for apache-log4j2 (Debian). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2025-68161
CVE-2025-68161 severity badge

Markdown

[![CVE-2025-68161](https://tridentstack.com/cve/badge/CVE-2025-68161.svg)](https://tridentstack.com/cve/CVE-2025-68161)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-68161"><img src="https://tridentstack.com/cve/badge/CVE-2025-68161.svg" alt="CVE-2025-68161"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-01-20.