Apache Log4cxx's XMLLayout https://logging.apache.org/log4cxx/1.7.0/classlog4cxx_1_1xml_1_1XMLLayout.html , in
Affects log4cxxSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10log4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlog4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10log4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlog4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlog4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSlog4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
Apache Log4cxx's XMLLayout https://logging.apache.org/log4cxx/1.7.0/classlog4cxx_1_1xml_1_1XMLLayout.html , in versions before 1.7.0, fails to sanitize characters forbidden by the XML 1.0 specification https://www.w3.org/TR/xml/#charsets in log messages, NDC, and MDC property keys and values, producing invalid XML output. Conforming XML parsers must reject such documents with a fatal error, which may cause downstream log processing systems to drop or fail to index affected records. An attacker who can influence logged data can exploit this to suppress individual log records, impairing audit trails and detection of malicious activity. Users are advised to upgrade to Apache Log4cxx 1.7.0, which fixes this issue.
References
- ubuntu.com/security/CVE-2026-40023 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-40023 (opens in a new tab)
- github.com/apache/logging-log4cxx/pull/609 (opens in a new tab)
- logging.apache.org/security.html (opens in a new tab)
- lists.apache.org/thread/y15cv3zblg3dfwr5vy6ddbnl4zyrzr8b (opens in a new tab)
- logging.apache.org/cyclonedx/vdr.xml (opens in a new tab)
- logging.apache.org/log4cxx/1.7.0/classlog4cxx_1_1xml_1_1XMLLayout.html (opens in a new tab)
- openwall.com/lists/oss-security/2026/04/10/12 (opens in a new tab)