Red Hat VEX
RHVEX-CVE-2026-34480
org.apache.logging.log4j/log4j-core: Apache Log4j Core: Invalid XML output causes denial of service in logging
Details
A flaw was found in Apache Log4j Core. The XmlLayout component, responsible for formatting log messages into XML, does not properly remove or replace characters that are not allowed in XML 1.0. When log messages or diagnostic information contain these forbidden characters, the resulting XML output becomes invalid. This can lead to two main issues: either systems processing these logs will fail to read the affected records, or the logging process itself will stop delivering events, both resulting in a denial of service for logging operations.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:9 | log4j | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | log4j-jcl | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | log4j-slf4j | All versions, will not be fixed |
References
- https://access.redhat.com/security/cve/CVE-2026-34480
- https://bugzilla.redhat.com/show_bug.cgi?id=2457328
- https://www.cve.org/CVERecord?id=CVE-2026-34480
- https://nvd.nist.gov/vuln/detail/CVE-2026-34480
- https://github.com/apache/logging-log4j2/pull/4077
- https://lists.apache.org/thread/5x0hcnng0chhghp6jgjdp3qmbbhfjzhb
- https://logging.apache.org/cyclonedx/vdr.xml
- https://logging.apache.org/log4j/2.x/manual/layouts.html#XmlLayout
- https://logging.apache.org/security.html#CVE-2026-34480