Apache Log4j 2.25.4 vulnerabilities

1 published vulnerability affects Apache Log4j 2.25.4.

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

What to upgrade to

The nearest newer release on the 2.25 line with no known CVEs is 2.25.5. The newest release on the 2.25 line is 2.25.6, with no 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.25.5nearest 2.25 release with no known CVEsall 1nonenone
2.25.6newest 2.25 releaseall 1nonenone
2.26.1newest releaseall 1nonenone

"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.25.4

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-2026-49844Apache Log4j API: Improper serialization of non-finite floating-point values in MapMessage.asJson()5.9None knownunder 1%2.25.5NVD

Fixed since 2.25.3

5 CVEs that affect 2.25.3, the release before it, do not affect 2.25.4:

  • CVE-2026-34481 Apache Log4j JSON Template Layout: Improper serialization of non-finite floating-point values in JsonTemplateLayout CVSS 7.5
  • CVE-2026-34480 Apache Log4j Core: Silent log event loss in XmlLayout due to unescaped XML 1.0 forbidden characters CVSS 7.5
  • CVE-2026-34479 Apache Log4j 1 to Log4j 2 bridge: Silent log event loss in Log4j1XmlLayout due to unescaped XML 1.0 forbidden characters CVSS 7.5
  • CVE-2026-34478 Apache Log4j Core: Log injection in Rfc5424Layout due to silent configuration incompatibility CVSS 7.5
  • CVE-2026-34477 Apache Log4j Core: verifyHostName attribute silently ignored in TLS configuration, allowing hostname verification bypass CVSS 5.9

Other Apache Log4j 2.25 releases

2.25.60 2.25.50 2.25.36 2.25.27 2.25.17 2.25.07

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.