Apache Log4j

11 CVEs affecting Apache Log4j. Latest disclosed: 2026-04-10. Critical: 3, High: 4.

Top CVEs affecting Apache Log4j
CVESeverityScorePublishedSummary
CVE-2022-23305Critical9.82022-01-18By design, the JDBCAppender in Log4j 1.2.x accepts an SQL statement as a configuration parameter where the values to be inserted are converters from PatternLay…
CVE-2019-17571Critical9.82019-12-20Included 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…
CVE-2017-5645Critical9.82017-04-17In Apache Log4j 2.x before 2.8.2, when using the TCP socket server or UDP socket server to receive serialized log events from another application, a specially…
CVE-2022-23307High8.82022-01-18CVE-2020-9493 identified a deserialization issue that was present in Apache Chainsaw. Prior to Chainsaw V2.0 Chainsaw was a component of Apache Log4j 1.2.x whe…
CVE-2022-23302High8.82022-01-18JMSSink in all versions of Log4j 1.x is vulnerable to deserialization of untrusted data when the attacker has write access to the Log4j configuration or if the…
CVE-2026-34479High7.52026-04-10The 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. Con…
CVE-2021-4104High7.52021-12-14JMSAppender in Log4j 1.2 is vulnerable to deserialization of untrusted data when the attacker has write access to the Log4j configuration. The attacker can pro…
CVE-2021-44832Medium6.62021-12-28Apache Log4j2 versions 2.0-beta7 through 2.17.0 (excluding security fix releases 2.3.2 and 2.12.4) are vulnerable to a remote code execution (RCE) attack when…
CVE-2026-34477Medium5.92026-04-10The fix for CVE-2025-68161 https://logging.apache.org/security.html#CVE-2025-68161 was incomplete: it addressed hostname verification only when enabled via t…
CVE-2021-45105Medium5.92021-12-18Apache Log4j2 versions 2.0-alpha1 through 2.16.0 (excluding 2.12.3 and 2.3.1) did not protect from uncontrolled recursion from self-referential lookups. This a…
CVE-2020-9488Low3.72020-04-27Improper validation of certificate with host mismatch in Apache Log4j SMTP appender. This could allow an SMTPS connection to be intercepted by a man-in-the-mid…