Log4j 보안 취약점 정리
알려진 취약점 20건 · 최근 1년 7건 · 실제 악용 2건 · 데이터 기준 2026-11-28
버전대별 지원 현황
| 버전대 | 상태 | 최신 | 남은 취약점 |
|---|---|---|---|
| 2 | 🟢 지원 중 | 2.26.1 | 0건 |
| 2.12 | 🛑 지원 종료 | 2.12.4 | 4건 |
| 2.3 | 🛑 지원 종료 | 2.3.2 | 4건 |
| 1 | 🛑 지원 종료 | 1.2.17 | 6건 |
지원 종료된 버전대는 새 취약점이 나와도 보안 패치가 나오지 않아요.
🛠 Log4j 버전 확인 방법
서버 전체 검색
find / -name "log4j-core-*.jar" 2>/dev/null
최근 1년 공개된 취약점
- CVE-2026-49844 MEDIUM 5.9
Improper encoding of non-finite floating-point values during MapMessage JSON serialization in Apache Log4j API produces output that is not valid JSON. This issue affects Apache Log4j API versions 2.13.1 through 2.25.4 and version 2.26.0. The fix for CVE-2026-34481 did not cover all code paths: when2026-07-10
- CVE-2026-34477 MEDIUM 5.9
The fix for CVE-2025-68161 https://logging.apache.org/security.html#CVE-2025-68161 was incomplete: it addressed hostname verification only when enabled via the log4j2.sslVerifyHostName https://logging.apache.org/log4j/2.x/manual/systemproperties.html#log4j2.sslVerifyHostName system property, but2026-04-10
- CVE-2026-34478 HIGH 7.5
Apache Log4j Core's Rfc5424Layout https://logging.apache.org/log4j/2.x/manual/layouts.html#RFC5424Layout , in versions 2.21.0 through 2.25.3, is vulnerable to log injection via CRLF sequences due to undocumented renames of security-relevant configuration attributes. Two distinct issues affect user2026-04-10
- CVE-2026-34479 HIGH 7.5
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 processing2026-04-10
- CVE-2026-34480 HIGH 7.5
Apache Log4j Core's XmlLayout https://logging.apache.org/log4j/2.x/manual/layouts.html#XmlLayout , in versions up to and including 2.25.3, fails to sanitize characters forbidden by the XML 1.0 specification https://www.w3.org/TR/xml/#charsets producing invalid XML output whenever a log message or2026-04-10
- CVE-2026-34481 HIGH 7.5
Apache Log4j's JsonTemplateLayout https://logging.apache.org/log4j/2.x/manual/json-template-layout.html , in versions up to and including 2.25.3, produces invalid JSON output when log events contain non-finite floating-point values (NaN, Infinity, or -Infinity), which are prohibited by RFC 8259. Th2026-04-10
- CVE-2025-68161 MEDIUM 4.8
The Socket Appender in Apache Log4j Core versions 2.0-beta9 through 2.25.2 does not perform TLS hostname verification of the peer certificate, even when the verifyHostName https://logging.apache.org/log4j/2.x/manual/appenders/network.html#SslConfiguration-attr-verifyHostName configuration attribut2025-12-18