Read the docs
TI-2025-41740 Aliases CVE-2025-68161GHSA-vc5p-v9hr-52mj

Apache Log4j Core: Missing TLS hostname verification in Socket appender

Priority LOW 29CWE-297Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Attack requirements
None
Impact type
Spoofing
Confidentiality · integrity · availability
Low · None · None
Fix status
Partial Red Hat: 28 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-295.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00767 55th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial Apache Log4j Core (Apache Software Foundation): 2.25.3org.apache.logging.log4j:log4j-core (Maven): 2.25.3Red Hat: 28 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Log4j Core2.0-beta9 to before 2.25.3; 3.0.0-alpha1 – 3.0.0-beta32.25.3Patch availableCNA
—org.apache.logging.log4j:log4j-core (Maven)2.0-beta9 to before 2.25.32.25.3Patch availableGHSA-vc5p-v9hr-52mj
  • Apache Log4j Core VendorApache Affected 2.0-beta9 to before 2.25.3; 3.0.0-alpha1 – 3.0.0-beta3 Fixed in 2.25.3 Patch available CNA
  • org.apache.logging.log4j:log4j-core (Maven) Vendor— Affected 2.0-beta9 to before 2.25.3 Fixed in 2.25.3 Patch available GHSA-vc5p-v9hr-52mj

CPE configurations NVD · 6

CPEVersionsRoleVendor
cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*2.0.1 to before 2.25.3VulnerableApache
cpe:2.3:a:apache:log4j:2.0:-:*:*:*:*:*:*2.0VulnerableApache
cpe:2.3:a:apache:log4j:2.0:beta9:*:*:*:*:*:*2.0 beta9VulnerableApache
cpe:2.3:a:apache:log4j:2.0:rc1:*:*:*:*:*:*2.0 rc1VulnerableApache
cpe:2.3:a:apache:log4j:2.0:rc1-rc1:*:*:*:*:*:*2.0 rc1-rc1VulnerableApache
cpe:2.3:a:apache:log4j:2.0:rc2:*:*:*:*:*:*2.0 rc2VulnerableApache
  • cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:* Versions 2.0.1 to before 2.25.3 Vulnerable ·Apache
  • cpe:2.3:a:apache:log4j:2.0:-:*:*:*:*:*:* Versions 2.0 Vulnerable ·Apache
  • cpe:2.3:a:apache:log4j:2.0:beta9:*:*:*:*:*:* Versions 2.0 beta9 Vulnerable ·Apache
  • cpe:2.3:a:apache:log4j:2.0:rc1:*:*:*:*:*:* Versions 2.0 rc1 Vulnerable ·Apache
  • cpe:2.3:a:apache:log4j:2.0:rc1-rc1:*:*:*:*:*:* Versions 2.0 rc1-rc1 Vulnerable ·Apache
  • cpe:2.3:a:apache:log4j:2.0:rc2:*:*:*:*:*:* Versions 2.0 rc2 Vulnerable ·Apache

Remediation

  • Fix · CNA Apache Log4j Core (Apache Software Foundation) Fixed in 2.25.3
  • Fix · GHSA-vc5p-v9hr-52mj org.apache.logging.log4j:log4j-core (Maven) Fixed in 2.25.3 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Logging Subsystem for Red Hat OpenShiftAffectedNo fix yet: Fix deferred
Red Hat AI Inference ServerAffectedNo fix yet: Fix deferred
Red Hat AMQ Broker 7AffectedNo fix yet: Fix deferred
Red Hat AMQ ClientsAffectedNo fix yet: Fix deferred
Red Hat Ceph Storage 6AffectedNo fix yet: Fix deferred
Red Hat Ceph Storage 7AffectedNo fix yet: Fix deferred
Red Hat Ceph Storage 8AffectedNo fix yet: Fix deferred
Red Hat Data Grid 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 6AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3AffectedNo fix yet: Fix deferred
Red Hat Fuse 7AffectedNo fix yet: Fix deferred
Red Hat JBoss Enterprise Application Platform 7AffectedNo fix yet: Fix deferred
Red Hat JBoss Enterprise Application Platform 8AffectedNo fix yet: Fix deferred
Red Hat JBoss Enterprise Application Platform Expansion PackAffectedNo fix yet: Fix deferred
Red Hat JBoss Web Server 6AffectedNo fix yet: Fix deferred
Red Hat Offline Knowledge PortalAffectedNo fix yet: Fix deferred
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet: Fix deferred
Red Hat build of Apache Camel - HawtIO 4AffectedNo fix yet: Fix deferred
Red Hat build of Apache Camel for Spring Boot 4AffectedNo fix yet: Fix deferred
Red Hat build of Apicurio Registry 2AffectedNo fix yet: Fix deferred
Red Hat build of Apicurio Registry 3AffectedNo fix yet: Fix deferred
Red Hat build of OptaPlanner 8AffectedNo fix yet: Fix deferred
streams for Apache Kafka 2AffectedNo fix yet: Fix deferred
streams for Apache Kafka 3AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-68161
  2. 2026-10-03 Alias added: GHSA-vc5p-v9hr-52mj

References

  • TI-2021-19919 Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints KEVCVSS 3.1CRITICAL 10.0
  • TI-2021-20393 Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack KEVCVSS 3.1CRITICAL 9.0
  • TI-2017-03645 Deserialization of untrusted data in Apache Log4j CVSS 3.1CRITICAL 9.8
  • TI-2019-13113 Deserialization of untrusted data in Apache Log4j CVSS 3.1CRITICAL 9.8
  • TI-2022-07428 SQL injection in JDBC Appender in Apache Log4j V1 CVSS 3.1CRITICAL 9.8
  • TI-2022-07425 Deserialization of untrusted data in JMSSink in Apache Log4j 1.x CVSS 3.1HIGH 8.8
See all 19 →

Sources