CVEBrief

Home / Apache Software Foundation / Apache Log4j Core / CVE-2025-68161

CVE-2025-68161: is it exploited, and which versions of Apache Software Foundation Apache Log4j Core are affected and fixed?

CVE-2025-68161 is a certificate host not checked vulnerability in Apache Software Foundation Apache Log4j Core. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: org.apache.logging.log4j:log4j-core from 2.0-beta9 before 2.25.3 (GitHub advisory GHSA-vc5p-v9hr-52mj). Fixed in 2.25.3 (GitHub advisory GHSA-vc5p-v9hr-52mj). Severity: Medium (6.3, CVSS 4.0, from apache).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:15 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:38 UTC
Affected
org.apache.logging.log4j:log4j-core from 2.0-beta9 before 2.25.3
GitHub advisory GHSA-vc5p-v9hr-52mj
Fixed in
2.25.3
GitHub advisory GHSA-vc5p-v9hr-52mj
Severity
Medium 6.3
CVSS 4.0 from apache
Exploit odds (EPSS)
0.80% in 30 days
higher than 58% of CVEs; FIRST, December 2, 2026

What is 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.

From the CVE record by apache, last updated April 10, 2026, 16:18 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Apache Software FoundationApache Log4j Core org.apache.logging.log4j:log4j-corefrom 2.0-beta9 before 2.25.3
from 3.0.0-alpha1 through 3.0.0-beta3
2.25.3

As the CVE record by apache states it, last updated April 10, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Mavenorg.apache.logging.log4j:log4j-core>= 2.0-beta9, < 2.25.32.25.3GHSA-vc5p-v9hr-52mj

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 19, 2025. Summary: Apache Log4j does not verify the TLS hostname in its Socket Appender.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
apachelog4jfrom 2.0.1 before 2.25.3application
apachelog4j2.0application

NVD analysis (status Modified), last modified June 17, 2026, 09:58 UTC.

How severe is CVE-2025-68161?

ScoreVersionVectorSource
Medium 6.3CVSS 4.0CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:L/SA:Napache
Medium 4.8CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2025-68161 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, December 18, 2025)
EPSS
0.80% probability of exploitation activity in the next 30 days, percentile 57.7 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
December 16, 2025
Published
December 18, 2025, 20:47 UTC
CVE record updated
April 10, 2026, 16:18 UTC by apache
NVD
Modified, last modified June 17, 2026, 09:58 UTC
Last checked
CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Apache Log4j Core?

Every CVE in Apache Log4j Core

Questions about CVE-2025-68161

Is CVE-2025-68161 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.80% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Apache Software Foundation Apache Log4j Core are affected by CVE-2025-68161?

org.apache.logging.log4j:log4j-core from 2.0-beta9 before 2.25.3, per the GitHub advisory GHSA-vc5p-v9hr-52mj. The tables above give every range the sources list.

Which version fixes CVE-2025-68161?

2.25.3, per the GitHub advisory GHSA-vc5p-v9hr-52mj. Check the vendor's advisory before you rely on it.

How severe is CVE-2025-68161?

Medium (6.3, CVSS 4.0, from apache). The severity table above shows each score with its source.

Where is the official record of CVE-2025-68161?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.