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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Log4j Core | 2.0-beta9 – < 2.25.3, 3.0.0-alpha1 – ≤ 3.0.0-beta3 | 2.25.3 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | apache-log4j2 | No fix yet | — |
| Debian 13 | apache-log4j2 | No fix yet | — |
| Debian 12 | apache-log4j2 | No fix yet | — |
| Debian 11 | apache-log4j2 | 2.17.1-1~deb11u2 | DLA-4444-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | apache-log4j2 | No fix yet | — |
| Ubuntu 26.04 LTS | apache-log4j2 | No fix yet | — |
| Ubuntu 25.10 | apache-log4j2 | No fix yet | — |
| Ubuntu 24.04 LTS | apache-log4j2 | No fix yet | — |
| Ubuntu 22.04 LTS | apache-log4j2 | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | apache-log4j2 | No fix yet | — |
| Ubuntu 18.04 LTS | apache-log4j2 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | apache-log4j2 | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | log4j | 2.20.0-150200.4.30.1 | SUSE-SU-2026:0254-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | log4j | 2.20.0-1.1 | openSUSE-SU-2026:10009-1 |
| openSUSE Leap 16.0 | coredns | 1.14.0-bp160.1.1 | openSUSE-SU-2026:20099-1 |
| openSUSE Leap 15.6 | log4j | 2.20.0-150200.4.30.1 | SUSE-SU-2026:0254-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | log4j +2 | 2.17.2-1.amzn2023.0.5 | ALAS2023-2026-1398 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | airflow-3 | 3.2.0-r0 | — |
| Wolfi rolling | airflow-3-bitnami-compat | No fix yet | — |
| Wolfi rolling | akhq | 0.27.0-r1 | — |
| Wolfi rolling | apache-activemq-artemis +1 | 2.44.0-r2 | — |
| Wolfi rolling | apache-tika-3.1 +1 | 3.1.0-r17 | — |
| Wolfi rolling | apache-tika-3.2 +1 | 3.2.3-r2 | — |
| Wolfi rolling | celeborn-0.6 +1 | 0.6.2-r3 | — |
| Wolfi rolling | confluent-kafka | 8.3.0.99-r0 | — |
| Wolfi rolling | druid-compat | 35.0.1-r2 | — |
| Wolfi rolling | flink-2.1 | 2.1.1-r2 | — |
| Wolfi rolling | flink-2.2 +1 | 2.2.0-r1 | — |
| Wolfi rolling | kafka-4.1 +1 | 4.1.1-r1 | — |
| Wolfi rolling | kafka-strimzi-compat +12 | 0.49.1-r2 | — |
| Wolfi rolling | kserve-modelmesh +1 | 0.12.0-r20 | — |
| Wolfi rolling | neo4j-2025.10 +2 | 2025.10.1-r3 | — |
| Wolfi rolling | opensearch-2 | 2.19.4-r6 | — |
| Wolfi rolling | opensearch-3 | 3.5.0-r0 | — |
| Wolfi rolling | sonarqube | 25.12.0.117093-r1 | — |
| Wolfi rolling | spark-4.0 +2 | 4.0.1-r4 | — |
| Wolfi rolling | wavefront-proxy +3 | 13.9-r2 | — |
| Wolfi rolling | zipkin +2 | 3.5.1-r10 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.logging.log4j:log4j-core | >= 2.0-beta9, < 2.25.3 | 2.25.3 | GHSA-vc5p-v9hr-52mj |
Advisories 40
- WID-SEC-2026-2189 Dell PowerProtect Data Domain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 2, 2026
- WID-SEC-2026-1210 Oracle Siebel CRM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 2, 2026
- WID-SEC-2026-4080 Oracle JD Edwards: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 20, 2026
- NCSC-2026-0377 Kwetsbaarheden verholpen in Oracle Enterprise Manager NCSC-NL (Netherlands) · Sep 16, 2026
- WID-SEC-2026-3399 Oracle Enterprise Manager: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 15, 2026
- WID-SEC-2025-2897 Apache log4j: Schwachstelle ermöglicht Offenlegung von Informationen BSI CERT-Bund (WID) · Sep 1, 2026
- WID-SEC-2026-2308 SAP Patch Day Juli 2026 BSI CERT-Bund (WID) · Jul 28, 2026
- NCSC-2026-0257 Kwetsbaarheden verholpen in Oracle Enterprise Manager NCSC-NL (Netherlands) · Jul 22, 2026
- WID-SEC-2026-2450 Oracle Supply Chain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 21, 2026
- WID-SEC-2026-2446 Oracle Enterprise Manager: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 21, 2026
- WID-SEC-2026-2438 Oracle Commerce: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 21, 2026
- NCSC-2026-0230 Kwetsbaarheden verholpen in SAP-producten NCSC-NL (Netherlands) · Jul 17, 2026
- WID-SEC-2026-2260 IBM Operational Decision Manager: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 8, 2026
- WID-SEC-2026-1831 SAP Patchday Juni 2026: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 8, 2026
- WID-SEC-2026-1032 IBM Tivoli Network Manager: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 7, 2026
- NCSC-2026-0140 Kwetsbaarheden verholpen in diverse SAP-producten NCSC-NL (Netherlands) · May 12, 2026
- WID-SEC-2026-1466 SAP Patchday Mai 2026: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 11, 2026
- NCSC-2026-0127 Kwetsbaarheden verholpen in Oracle PeopleSoft NCSC-NL (Netherlands) · Apr 22, 2026
- NCSC-2026-0126 Kwetsbaarheden verholpen in Oracle E-Business Suite NCSC-NL (Netherlands) · Apr 22, 2026
- NCSC-2026-0125 Kwetsbaarheden verholpen in Oracle Enterprise Manager NCSC-NL (Netherlands) · Apr 22, 2026
- WID-SEC-2026-1205 Oracle Enterprise Manager: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 21, 2026
- WID-SEC-2026-1204 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 21, 2026
- WID-SEC-2026-1203 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 21, 2026
- WID-SEC-2026-1194 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 21, 2026
- WID-SEC-2026-1212 Oracle Utilities Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 21, 2026
- WID-SEC-2026-1193 Oracle Construction and Engineering: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 21, 2026
- WID-SEC-2026-1209 Oracle Supply Chain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 21, 2026
- WID-SEC-2026-1192 Oracle E-Business Suite: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 21, 2026
- WID-SEC-2026-1207 Oracle PeopleSoft: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 21, 2026
- WID-SEC-2026-1206 Oracle Retail Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 21, 2026
- WID-SEC-2026-0881 IBM License Metric Tool: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 26, 2026
- openSUSE-SU-2026:20099-1 Security update for coredns SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2026:10009-1 log4j-2.20.0-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:0254-1 Security update for log4j SUSE / openSUSE Security Updates · Mar 23, 2026
- ALAS2023-2026-1398 Moderate: log4j security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 18, 2026
- NCSC-2026-0022 Kwetsbaarheden verholpen in Oracle Communications producten NCSC-NL (Netherlands) · Jan 21, 2026
- NCSC-2026-0021 Kwetsbaarheden verholpen in Oracle Database Server producten NCSC-NL (Netherlands) · Jan 21, 2026
- WID-SEC-2026-0160 Oracle Construction and Engineering: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 20, 2026
- WID-SEC-2026-0153 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 20, 2026
- DLA-4444-1 apache-log4j2 - security update Debian Security (DSA / DLA) · Jan 19, 2026
References
- https://github.com/apache/logging-log4j2/pull/4002 patch
- https://logging.apache.org/security.html#CVE-2025-68161 vendor-advisory
- https://logging.apache.org/cyclonedx/vdr.xml vendor-advisory
- https://logging.apache.org/log4j/2.x/manual/systemproperties.html#log4j2.sslVerifyHostName related
- https://logging.apache.org/log4j/2.x/manual/appenders/network.html#SslConfiguration-attr-verifyHostName related
- https://lists.apache.org/thread/xr33kyxq3sl67lwb61ggvm1fzc8k7dvx vendor-advisory