A critical vulnerability has been disclosed in Apache Log4j Core, specifically affecting the Socket Appender component in versions 2.0-beta9 through 2.25.2. The flaw arises from improper verification of the TLS hostname in peer certificates, even when administrators have enabled hostname verification in the configuration. This oversight allows attackers positioned between a client and a log receiver to intercept or redirect sensitive logging traffic by presenting a certificate trusted by the application's configured trust store, potentially exposing mission-critical log data to unauthorized third parties.
The vulnerability, identified as CVE-2025-6816 and assigned a CVSS 4.0 score of 6.3 (medium severity), requires attackers to intercept network traffic and leverage a trusted certificate to succeed. Apache has released version 2.25.3 of Log4j Core to address this issue, and organizations using affected versions are urged to upgrade immediately to secure their logging infrastructure and prevent unauthorized access to sensitive log streams. The flaw highlights the importance of robust TLS implementation in logging frameworks, which often handle highly sensitive information by design.

See affected versions and whether adversaries are exploiting it.
3 events from the most recent confirmed update back to the earliest known activity.
Apache disclosed CVE-2026-34477, an incomplete fix issue in Log4j Core where the verifyHostName attribute in nested TLS <Ssl> configurations was silently ignored, enabling possible hostname verification bypass in affected SMTP, Socket, and Syslog appenders. Apache said versions 2.12.0 through 2.25.3 and 3.0.0-alpha1 through 3.0.0-beta3 are affected and released Log4j Core 2.25.4 to remediate the flaw.
Apache released Log4j Core version 2.25.3 to remediate CVE-2025-6816 and advised organizations to upgrade immediately. As a mitigation for those unable to patch, Apache recommended limiting trust stores to only necessary CA certificates.
A vulnerability identified as CVE-2025-6816 was disclosed in Apache Log4j Core affecting the Socket Appender in versions 2.0-beta9 through 2.25.2. The flaw stems from improper TLS hostname verification, allowing a man-in-the-middle attacker with a trusted certificate to intercept or redirect sensitive log data.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
3 references tracked. Mallory keeps watching after this page renders.
seclists.org
Open sourcecybersecuritynews.com
Open sourcesecurityonline.info
Open sourceMap indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.