GHSA-vc5p-v9hr-52mj · Severity: medium · Ecosystem: maven — Apache Log4j does not verify the TLS hostname in its Socket Appender
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.
Conclusion & alert: CVE-2025-68161 is rated Exploit Available (50/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.03%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-03-21 | 0.10% | 0.03% | -0.07% |
| 2 | 2026-03-04 | 0.33% | 0.10% | -0.23% |
| 3 | 2026-01-29 | — | 0.33% | — |
Full EPSS history (6 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.3 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 4.8 | 3.1 | MEDIUM |
|
2.2 | 2.5 | [email protected] |
GHSA-vc5p-v9hr-52mj · Severity: medium · Ecosystem: maven — Apache Log4j does not verify the TLS hostname in its Socket Appender
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2025-68161 not yet assigned priority: Debian including 1 source packages (apache-log4j2), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 4, resolved 1. | https://security-tracker.debian.org/tracker/CVE-2025-68161 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2025-68161 |
suse
|
medium | CVE-2025-68161 severity moderate: SUSE including 255 source package names (5.1.2.8.13.2:log4j-2.20.0-150200.4.30.1, 5.1.2.8.13.2:log4j-jcl-2.20.0-150200.4.30.1, …), 288 product×package rows across 24 product lines (Container suse/manager/5.0/x86_64/server, Container suse/manager/5.0/x86_64/server-attestation, … (24 product lines)): Known Affected 231, Fixed 47, Known Not Affected 10. | https://www.suse.com/security/cve/CVE-2025-68161/ |
ubuntu
|
medium | CVE-2025-68161 medium priority: Ubuntu including 1 source packages (apache-log4j2), 8 status rows across 8 suites (bionic, focal, jammy, noble, plucky, questing, upstream, xenial): needs-triage 7, ignored 1. | https://ubuntu.com/security/CVE-2025-68161 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| apache | log4j | >= 2.0.1, < 2.25.3 | cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:* |
| apache | log4j | 2.0 | cpe:2.3:a:apache:log4j:2.0:-:*:*:*:*:*:* |
| apache | log4j | 2.0 | cpe:2.3:a:apache:log4j:2.0:beta9:*:*:*:*:*:* |
| apache | log4j | 2.0 | cpe:2.3:a:apache:log4j:2.0:rc1:*:*:*:*:*:* |
| apache | log4j | 2.0 | cpe:2.3:a:apache:log4j:2.0:rc1-rc1:*:*:*:*:*:* |
| apache | log4j | 2.0 | cpe:2.3:a:apache:log4j:2.0:rc2:*:*:*:*:*:* |