#VU120231 Improper validation of certificate with host mismatch in Apache Log4j - CVE-2025-68161
Published: December 22, 2025
Apache Log4j
Apache Foundation
Description
The vulnerability allows a remote attacker to perform MitM attack.
The vulnerability exists due to the Socket Appender does not perform TLS hostname verification of the peer certificate, even when the "verifyHostName" configuration attribute or the "log4j2.sslVerifyHostName" system property is set to true. A remote attacker can perform MitM attack and intercept or redirect the log traffic.