All vulnerabilities

Servers and applications

CVE-2026-34479

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. Two groups of users are affected: * Those…

Severity
Medium 6.9
Published
10 Apr 2026
Last changed
26 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.25.4
Exploit chance
0.5% in the next 30 daysHigher than 46% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Improper output encoding (CWE-116)
Attack
Over the network · No login needed · No user action needed
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Sources
NVD

Description

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.

Two groups of users are affected:

  • Those using Log4j1XmlLayout directly in a Log4j Core 2 configuration file.
  • Those using the Log4j 1 configuration compatibility layer with org.apache.log4j.xml.XMLLayout specified as the layout class.

Users are advised to upgrade to Apache Log4j 1-to-Log4j 2 bridge version 2.25.4, which corrects this issue.

Note: The Apache Log4j 1-to-Log4j 2 bridge is deprecated and will not be present in Log4j 3. Users are encouraged to consult the Log4j 1 to Log4j 2 migration guide https://logging.apache.org/log4j/2.x/migrate-from-log4j1.html , and specifically the section on eliminating reliance on the bridge.

From NVD.

Affected software

SoftwareAffected versions
Apache Log4jServers and applications · cpe:a:apache:log4j
  • From 2.7 before 2.25.4
  • Version 3.0.0-alpha1
  • Version 3.0.0-alpha1_rc1
  • Version 3.0.0-alpha1_rc2
  • Version 3.0.0-beta1
  • Version 3.0.0-beta2

About Apache Log4j

Java library for logging

From Wikidata, CC0 1.0.
GitHub stars
3,645GitHub, 15 Nov 2026
Forks
1,761GitHub, 15 Nov 2026
Latest release
rel/2.26.1GitHub, 15 Nov 2026
Released
2 Jul 2026GitHub
Developer
Apache Software FoundationWikidata
License
Apache Software License 2.0Wikidata
Written in
JavaWikidata
First published on GitHub
12 Jun 2013GitHub

Release lines

ReleaseLatestSecurity fixes
22.26.1Yes
2.122.12.4Ended 14 Dec 2021
2.32.3.2Ended 20 Sept 2015
11.2.17Ended 15 Oct 2015

From endoflife.date.

Vulnerabilities in Apache Log4j

In our list
20
Published in the last 12 months
7
Critical, last 12 months
0
High, last 12 months
0
Known exploited
2
Search the list for Apache Log4j

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-34479
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-34479