Feed
7.5HIGH

CVE-2026-34480Apache Log4j Core: Silent log event loss in XmlLayout due to unescaped XML 1.0 forbidden characters

A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 1.2% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
1.2%
percentile 69%
Priority
25/100 medium
how it is computed
Fix
Named by a source
CVE published 10 Apr 2026

Reference

None of the "Needs attention" rules apply right now.

EPSS 1.2% (+1) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • org.apache.logging.log4j:log4j-core (Maven) pkg:maven/org.apache.logging.log4j/log4j-core

    • Affected>= 2.0-alpha1, < 2.25.4Fixed in2.25.4OSV (GHSA-3pxv-7cmr-fjr4)
    • Affected>= 3.0.0-alpha1, <= 3.0.0-beta3Last known affected3.0.0-beta3OSV (GHSA-3pxv-7cmr-fjr4)
  • apache log4j product:apache/log4j

    • Affected>= 2.0-alpha1, < 2.25.4Affected range ends before2.25.4as published by CNA (CVE List)
    • Affected>= 3.0.0-alpha1, <= 3.0.0-beta3Last known affected3.0.0-beta3as published by CNA (CVE List)
    • Affected>= 2.0, < 2.25.4Affected range ends before2.25.4as published by CPE data (via the NVD API)
    • Affected3.0.0-alpha1Fixed innot namedas published by CPE data (via the NVD API)
    • Affected3.0.0-alpha1_rc1Fixed innot namedas published by CPE data (via the NVD API)
    • Affected3.0.0-alpha1_rc2Fixed innot namedas published by CPE data (via the NVD API)
    • Affected3.0.0-beta1Fixed innot namedas published by CPE data (via the NVD API)
    • Affected3.0.0-beta2Fixed innot namedas published by CPE data (via the NVD API)

Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.

Confirmed facts

CVSS
7.5 HIGH (version 3.1)
Score from
NVD
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-116
Exploitation (CISA SSVC)
none
Automatable (CISA SSVC)
yes
Assigned by
[email protected]

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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 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 https://github.com/FasterXML/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.

Update history

  • 10 Apr 2026Published

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 50 min ago · osv 50 min ago · nvd 19 min ago · epss 50 min ago · JSON · ask via MCP: explain_vulnerability

Also known as GHSA-3pxv-7cmr-fjr4