Apache Log4j 1.2 vulnerabilities

8 published vulnerabilities affect Apache Log4j 1.2.

8CVEs
3critical (CVSS 9+)
4high (CVSS 7–8.9)
0exploited in the wild

What to upgrade to

The newest release on the 1.2 line is 1.2.17, with 7 known CVEs. The newest Apache Log4j release we know of is 2.26.1, with no known CVEs.

Upgrade toFixesStill openNew in that release
1.2.17newest 1.2 release1 of 87CVE-2022-23305, CVE-2019-17571, CVE-2020-9493 and 4 morenone
2.26.1newest releaseall 83 criticalnonenone

"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 1.2

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-2022-23305SQL injection in JDBC Appender in Apache Log4j V19.8None known67%–NVD
CVE-2019-17571Included in Log4j 1.2 is a SocketServer class that is vulnerable to deserialization of untrusted data which can be exploited to remotely execute arbitrary code…9.8None known69%–CVE record
CVE-2020-9493Java deserialization in Chainsaw9.8None known5%2.0NVD
CVE-2022-23302Deserialization of untrusted data in JMSSink in Apache Log4j 1.x8.8None known64%–NVD
CVE-2022-23307A deserialization flaw in the Chainsaw component of Log4j 1 can lead to malicious code execution.8.8None known54%2.0NVD
CVE-2021-4104Deserialization of untrusted data in JMSAppender in Apache Log4j 1.27.5None known81%–NVD
CVE-2023-26464Apache Log4j 1.x (EOL) allows DoS in Chainsaw and SocketAppender7.5None known2%2CVE record
CVE-2020-9488Improper validation of certificate with host mismatch in Apache Log4j SMTP appender3.7None known9%2.12.3CVE record

Other Apache Log4j 1.2 releases

1.2.177

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.