Apache Log4j 2.12.3 vulnerabilities

5 published vulnerabilities affect Apache Log4j 2.12.3. The 2.12 line no longer gets security fixes.

5CVEs
0critical (CVSS 9+)
2high (CVSS 7–8.9)
0exploited in the wild

What to upgrade to

The newest release on the 2.12 line is 2.12.4, with 4 known CVEs. The newest Apache Log4j release we know of is 2.26.1, with no known CVEs.

Upgrade toFixesStill openNew in that release
2.12.4newest 2.12 release1 of 54CVE-2026-34480, CVE-2026-34479, CVE-2026-34477 and 1 morenone
2.26.1newest releaseall 5nonenone

"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.

CVEs affecting Apache Log4j 2.12.3

Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.

CVECVSSExploitationEPSSFixed in
CVE-2021-44832Apache Log4j2 vulnerable to RCE via JDBC Appender when attacker controls configuration6.6None known98%2.12.4NVD
CVE-2026-34480Apache Log4j Core: Silent log event loss in XmlLayout due to unescaped XML 1.0 forbidden characters7.5None known1%2.25.4CVE record
CVE-2026-34479Apache Log4j 1 to Log4j 2 bridge: Silent log event loss in Log4j1XmlLayout due to unescaped XML 1.0 forbidden characters7.5None knownunder 1%2.25.4NVD
CVE-2026-34477Apache Log4j Core: verifyHostName attribute silently ignored in TLS configuration, allowing hostname verification bypass5.9None knownunder 1%2.25.4CVE record
CVE-2025-68161Apache Log4j Core: Missing TLS hostname verification in Socket appender4.8None knownunder 1%2.25.3CVE record

Fixed since 2.12.2

3 CVEs that affect 2.12.2, the release before it, do not affect 2.12.3 (1 exploited, 1 critical):

  • CVE-2021-45046 Apache Log4j2 Thread Context Message Pattern and Context Lookup Pattern vulnerable to a denial of service attack CVSS 9.0 · exploited in the wild
  • CVE-2021-45105 Apache Log4j2 does not always protect from infinite recursion in lookup evaluation CVSS 5.9
  • CVE-2020-9488 Improper validation of certificate with host mismatch in Apache Log4j SMTP appender CVSS 3.7

Support for the 2.12 line

The 2.12 line was first released 26 June 2019. Security fixes for it ended 14 December 2021, so vulnerabilities found since then stay open on every 2.12 release. Its latest release is 2.12.4. Dates and latest release from endoflife.date.

Other Apache Log4j 2.12 releases

2.12.44 2.12.28

All Apache Log4j versions

How this list is made

These are the CVEs Dawnsentry matches to each Apache Log4j version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.

Updated 2 December 2026.