CVE-2026-34480
ADVISORY - githubSummary
Apache Log4j Core's XmlLayout, in versions up to and including 2.25.3, fails to sanitize characters forbidden by the XML 1.0 specification, producing invalid XML output whenever a log message or MDC value contains such characters.
The impact depends on the StAX implementation in use:
- JRE built-in StAX: Forbidden characters are silently written to the output, producing malformed XML. Conforming parsers must reject such documents with a fatal error, which may cause downstream log-processing systems to drop the affected records.
- Alternative StAX implementations (e.g., Woodstox, a transitive dependency of the Jackson XML Dataformat module): An exception is thrown during the logging call, and the log event is never delivered to its intended appender, only to Log4j's internal status logger.
Users are advised to upgrade to Apache Log4j Core 2.25.4, which corrects this issue by sanitizing forbidden characters before XML output.
Common Weakness Enumeration (CWE)
Improper Encoding or Escaping of Output
Improper Encoding or Escaping of Output
NIST
3.9
CVSS SCORE
6.9mediumGitHub
-
CVSS SCORE
6.9mediumDebian
-
Ubuntu
3.9
CVSS SCORE
7.5mediumChainguard
CGA-wqhw-vh22-jwgm
-
minimos
MINI-2589-36pf-gwmm
-
minimos
MINI-268h-qw5h-mhqh
-
minimos
MINI-28gp-6rr2-24m7
-
minimos
MINI-2hqc-qjfr-jrgp
-
minimos
MINI-32m4-cjmq-q78f
-
minimos
MINI-32p2-96qj-fxqx
-
minimos
MINI-3923-684f-cqp2
-
minimos
MINI-3hhg-jppj-8mp2
-
minimos
MINI-43mr-cfvq-464g
-
minimos
MINI-4hrw-4g69-8vg5
-
minimos
MINI-4mv8-g575-pg3p
-
minimos
MINI-4mx3-p93p-fc4f
-
minimos
MINI-4rh7-cc9x-jmmf
-
minimos
MINI-568v-9j7v-9h5q
-
minimos
MINI-5c62-vfhc-7v5j
-
minimos
MINI-5q6x-7jgg-98j3
-
minimos
MINI-6jc4-j29r-v84p
-
minimos
MINI-6p37-5j3c-w2vr
-
minimos
MINI-7ghf-qjxg-p3vc
-
minimos
MINI-7hvg-j6jr-4fgj
-
minimos
MINI-7j2p-vcg4-8f24
-
minimos
MINI-87xc-xjx6-9864
-
minimos
MINI-8fhg-pv9x-jh34
-
minimos
MINI-8ppp-gvqm-22wq
-
minimos
MINI-8q2w-7frq-hqjv
-
minimos
MINI-95xm-p5qh-x6fq
-
minimos
MINI-9pwq-cr7m-672g
-
minimos
MINI-9rq7-4gqc-qhp8
-
minimos
MINI-9rr6-prjm-f28w
-
minimos
MINI-c2xm-w5v6-rgcj
-
minimos
MINI-c3vg-wf42-95jf
-
minimos
MINI-c8x8-8cmw-p5c5
-
minimos
MINI-cqv8-m92q-9f3m
-
minimos
MINI-cw4r-7xq7-99v9
-
minimos
MINI-ffc9-cr6w-jr28
-
minimos
MINI-g9pp-75j4-qpjm
-
minimos
MINI-h38g-4h2f-qqcj
-
minimos
MINI-h94q-r36w-x3qp
-
minimos
MINI-hqqc-xxr4-mwhj
-
minimos
MINI-j37p-c735-25hq
-
minimos
MINI-j66x-9cqx-hmj5
-
minimos
MINI-m3hm-68vp-7rqj
-
minimos
MINI-m88j-mrfv-fj6j
-
minimos
MINI-mfhj-v9fx-vf33
-
minimos
MINI-p934-hhvm-f2hq
-
minimos
MINI-pc6f-986x-g2q5
-
minimos
MINI-pjf5-8gxj-fvcq
-
minimos
MINI-pqc5-hpq2-x6wg
-
minimos
MINI-q44j-gchf-6qj2
-
minimos
MINI-q7c2-4wj7-g473
-
minimos
MINI-qm8c-rjf2-wwc3
-
minimos
MINI-qwpw-vcqc-p2j2
-
minimos
MINI-rf2r-32gg-78h8
-
minimos
MINI-rq57-m8w3-x28p
-
minimos
MINI-rxqp-gq37-vwff
-
minimos
MINI-v4c6-mx66-v3q9
-
minimos
MINI-v5pv-jmfg-52fm
-
minimos
MINI-v8j2-h48g-gmvv
-
minimos
MINI-v8wf-fg93-qq8c
-
minimos
MINI-vgh2-px44-g6wf
-
minimos
MINI-vh47-rcr2-4v67
-
minimos
MINI-vqj9-7mjr-qqxm
-
minimos
MINI-vvcp-f7q9-97mw
-
minimos
MINI-w37c-74gh-5m5j
-
minimos
MINI-w7qj-h8h7-78mm
-
minimos
MINI-wc2p-mpmq-jxjh
-
minimos
MINI-wcp7-895c-35rj
-
minimos
MINI-wg72-h3f4-hwcg
-
minimos
MINI-wr69-56gx-27pw
-
minimos
MINI-x6v4-cwgm-gp2q
-
minimos
MINI-xcvh-hxgh-rvm8
-