CVE-2025-68161
Apache Log4j Core: Missing TLS hostname verification in 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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.796% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 6.3 · published by apacheCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N
Assessment source · checked 2026-11-19T12:57:46.159Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:46.159Z | CVE Program |
| epss | verified | 2026-11-19T16:04:42.360Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:09.801Z | OSV |
| affected | verified | 2026-11-19T12:57:46.159Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:46.159Z | CVE Program |
Affected versions and configuration
Apache Software Foundation Apache Log4j Core; default status: unaffected: 2.0-beta9 to < 2.25.3 [affected; scheme: maven]; 3.0.0-alpha1 to ≤ 3.0.0-beta3 [affected; scheme: maven]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"cpes": [
"cpe:2.3:a:apache:log4j:*:*:*:*:*:*:*:*"
],
"vendor": "Apache Software Foundation",
"product": "Apache Log4j Core",
"versions": [
{
"status": "affected",
"version": "2.0-beta9",
"lessThan": "2.25.3",
"versionType": "maven"
},
{
"status": "affected",
"version": "3.0.0-alpha1",
"versionType": "maven",
"lessThanOrEqual": "3.0.0-beta3"
}
],
"packageURL": "pkg:maven/org.apache.logging.log4j/log4j-core",
"packageName": "org.apache.logging.log4j:log4j-core",
"collectionURL": "https://repo.maven.apache.org/maven2",
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-68161",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-12-18T21:34:24.735166Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-12-18T21:46:19.782Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2025/12/18/1"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2026/01/msg00015.html"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2026-01-20T00:13:44.911Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-vc5p-v9hr-52mj",
"aliases": [
"CVE-2025-68161"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.0-beta9"
},
{
"fixed": "2.25.3"
}
]
}
],
"package": {
"name": "org.apache.logging.log4j:log4j-core",
"purl": "pkg:maven/org.apache.logging.log4j/log4j-core",
"ecosystem": "Maven"
},
"versions": [
"2.0",
"2.0-beta9",
"2.0-rc1",
"2.0-rc2",
"2.0.1",
"2.0.2",
"2.1",
"2.10.0",
"2.11.0",
"2.11.1",
"2.11.2",
"2.12.0",
"2.12.1",
"2.12.2",
"2.12.3",
"2.12.4",
"2.13.0",
"2.13.1",
"2.13.2",
"2.13.3",
"2.14.0",
"2.14.1",
"2.15.0",
"2.16.0",
"2.17.0",
"2.17.1",
"2.17.2",
"2.18.0",
"2.19.0",
"2.2",
"2.20.0",
"2.21.0",
"2.21.1",
"2.22.0",
"2.22.1",
"2.23.0",
"2.23.1",
"2.24.0",
"2.24.1",
"2.24.2",
"2.24.3",
"2.25.0",
"2.25.1",
"2.25.2",
"2.3",
"2.3.1",
"2.3.2",
"2.4",
"2.4.1",
"2.5",
"2.6",
"2.6.1",
"2.6.2",
"2.7",
"2.8",
"2.8.1",
"2.8.2",
"2.9.0",
"2.9.1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-vc5p-v9hr-52mj/GHSA-vc5p-v9hr-52mj.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-68161",
"type": "ADVISORY"
},
{
"url": "https://github.com/apache/logging-log4j2/pull/4002",
"type": "WEB"
},
{
"url": "https://github.com/apache/logging-log4j2/commit/3b93748497e1adbbd027fda8a5e7268ec5d0d578",
"type": "WEB"
},
{
"url": "https://github.com/apache/logging-log4j2",
"type": "WEB"
},
{
"url": "https://lists.apache.org/thread/xr33kyxq3sl67lwb61ggvm1fzc8k7dvx",
"type": "WEB"
},
{
"url": "https://logging.apache.org/cyclonedx/vdr.xml",
"type": "WEB"
},
{
"url": "https://logging.apache.org/log4j/2.x/manual/appenders/network.html#SslConfiguration-attr-verifyHostName",
"type": "WEB"
},
{
"url": "https://logging.apache.org/log4j/2.x/manual/systemproperties.html#log4j2.sslVerifyHostName",
"type": "WEB"
},
{
"url": "https://logging.apache.org/security.html#CVE-2025-68161",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2025/12/18/1",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-297"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2025-12-18T21:15:57Z",
"github_reviewed_at": "2025-12-19T22:08:02Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Maven / package | org.apache.logging.log4j:log4j-core | Not a distribution channel | 2.25.3 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:09.801ZArchived source JSON
Source publication: 2025-12-18T21:31:44.000Z
Source modification: 2026-09-10T03:50:32.126ZDocument fingerprint
edcc612efb32443d1e557c6501b6748e60e6d4874284b361d7a44a5485f760f9 - CVE ProgramConsulted: 2026-11-19T12:57:46.159ZArchived source JSON
Source publication: 2025-12-18T20:47:49.123Z
Source modification: 2026-04-10T16:18:50.424ZDocument fingerprint
4633653d09cc85b6733dc961647a7877189a915e1d32e715317af95d9805d86b - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:42.360ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f3e0006c4bf23264f8d6151e6627f3c4e610e9660acb6cdae7bca2bafe3eb770
Official status history
- UNKNOWN → PUBLISHED · · evidence