Skip to content

Vulnerability catalog

Apache Log4j vulnerabilities

Apache Log4j vulnerabilities, including Log4Shell, affected release branches, and recorded fixes.

Covers Apache Log4j and Log4j 2 product evidence and their core Maven packages. Other Apache logging projects and unrelated repackaged libraries are excluded.

Recent advisories

2 imported advisories · newest published first

medium6.9
CVE-2026-34479Package fixes recorded

Apache Log4j 1 to Log4j 2 bridge: silent log event loss in Log4j1XmlLayout due to unescaped XML 1.0 forbidden characters

The Log4j1XmlLayout from the Apache Log4j 1-to-Log4j 2 bridge fails to escape characters forbidden by the XML 1.0 standard, producing malformed XML output. Conforming XML parsers are required to reject documents containing such characters with a fatal error, which may cause downstream log processing systems to drop or fail to index affected records.

Recorded fixes — org.apache.logging.log4j:log4j-core: 2.25.4. Check your release branch.

Exploitation not established

critical10.0
CVE-2021-44228 Known exploitedSome package fixes recorded

Log4Shell: Remote code injection in Log4j

Log4j versions prior to 2.16.0 are subject to a remote code execution vulnerability via the ldap JNDI parser. As per Apache's Log4j security guide: Apache Log4j2 <=2.14.1 JNDI features used in configuration, log messages, and parameters do not protect against attacker controlled LDAP and other JNDI related endpoints. An attacker who can control log messages or log message parameters can execute arbitrary code loaded from LDAP servers when message lookup substitution is enabled. From log4j 2.16.0, this behavior has been disabled by default.

Recorded fixes — org.apache.logging.log4j:log4j-core: 2.15.0 or 2.3.1 or 2.12.2; org.ops4j.pax.logging:pax-logging-log4j2: 1.9.2 or 1.10.8 or 1.11.10 or 2.0.11. Check your release branch.

Packages in these advisories