
CVE catalog
CVE-2025-68161
apache-log4j2: CVE-2025-68161
- Severity
- Medium · CVSS 5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.77% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | apache-log4j2 | sid | 2.26.1-1 | fixed |
| Debian | apache-log4j2 | forky | 2.19.0-2 | vulnerable |
| Debian | apache-log4j2 | trixie | 2.19.0-2 | vulnerable |
| Debian | apache-log4j2 | bookworm | 2.19.0-2 | vulnerable |
| Opensuse | log4j | tumbleweed | 2.20.0-1.1 | fixed |
| Suse | log4j | linux enterprise module for basesystem 15 sp7 | 2.20.0-150200.4.30.1 | fixed |
| Opensuse | log4j | leap 15.6 | 2.20.0-150200.4.30.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | apache-log4j2 | source | sid | 2.26.1-1 | not yet assigned | Not reported | [1123744] |
| Debian | apache-log4j2 | source | forky | (unfixed) | not yet assigned | Not reported | [1123744] |
| Debian | apache-log4j2 | source | trixie | (unfixed) | not yet assigned | Not reported | [1123744] |
| Debian | apache-log4j2 | source | bookworm | (unfixed) | not yet assigned | Not reported | [1123744] |
| Opensuse | log4j | rpm | tumbleweed | 2.20.0-1.1 | Not reported | OPENSUSE-SU-2026:10009-1 | Not reported |
| Suse | log4j | rpm | linux enterprise module for basesystem 15 sp7 | 2.20.0-150200.4.30.1 | Not reported | SUSE-SU-2026:0254-1 | Not reported |
| Opensuse | log4j | rpm | leap 15.6 | 2.20.0-150200.4.30.1 | Not reported | SUSE-SU-2026:0254-1 | Not reported |
Notes
[trixie] apache-log4j2: Minor issue [bookworm] apache-log4j2: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [liblog4j2-java]Affected
Source package: [apache-log4j2]
Details (2)
2.19.0-2· all · bookwormAffected
dsa · apache-log4j2 · debian · bookworm; dsa · apache-log4j2 · debian · 12
2.19.0-2· all · bookwormAffected
dsa · apache-log4j2 · debian · bookworm; dsa · apache-log4j2 · debian · 12
[Debian 13 (Trixie)]
- [liblog4j2-java]Affected
Source package: [apache-log4j2]
Details (2)
2.19.0-2· all · trixieAffected
dsa · apache-log4j2 · debian · 13
2.19.0-2· all · trixieAffected
dsa · apache-log4j2 · debian · 13
[openSUSE Tumbleweed]
- [log4j-bom]Unknown
Source package: [log4j]
Details (1)
2.26.1-2.1· noarch · tumbleweedUnknown · Fixed:
2.20.0-1.1Version impact unknown
dsa · log4j · opensuse · tumbleweed
- [log4j-javadoc]Unknown
Source package: [log4j]
Details (1)
2.26.1-2.1· noarch · tumbleweedUnknown · Fixed:
2.20.0-1.1Version impact unknown
dsa · log4j · opensuse · tumbleweed
- [log4j-jcl]Unknown
Source package: [log4j]
Details (1)
2.26.1-2.1· noarch · tumbleweedUnknown · Fixed:
2.20.0-1.1Version impact unknown
dsa · log4j · opensuse · tumbleweed
- [log4j-nosql]Unknown
Source package: [log4j]
Details (1)
2.26.1-2.1· noarch · tumbleweedUnknown · Fixed:
2.20.0-1.1Version impact unknown
dsa · log4j · opensuse · tumbleweed
- [log4j-slf4j]Unknown
Source package: [log4j]
Details (1)
2.26.1-2.1· noarch · tumbleweedUnknown · Fixed:
2.20.0-1.1Version impact unknown
dsa · log4j · opensuse · tumbleweed
- [log4j-taglib]Unknown
Source package: [log4j]
Details (1)
2.26.1-2.1· noarch · tumbleweedUnknown · Fixed:
2.20.0-1.1Version impact unknown
dsa · log4j · opensuse · tumbleweed
- [log4j-web]Unknown
Source package: [log4j]
Details (1)
2.26.1-2.1· noarch · tumbleweedUnknown · Fixed:
2.20.0-1.1Version impact unknown
dsa · log4j · opensuse · tumbleweed
- [log4j]Fixed
Source package: [log4j]
Details (1)
2.26.1-2.1· noarch · tumbleweedFixed · Fixed:
2.20.0-1.1dsa · log4j · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10009-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-68161]
- [https://osv.dev/vulnerability/DLA-4444-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:0254-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10009-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-68161]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-68161.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-0881.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]