Skip to main content
CVE-2026-40023VulnerabilityPublished Updated

Apache Log4cxx's XMLLayout https://logging.apache.org/log4cxx/1.7.0/classlog4cxx_1_1xml_1_1XMLLayout.html , in

Affects log4cxxSource GCVE Database

0
Compare
Authoritative record:CVE-2026-40023· Medium 6.3

Not known to be exploited · CVSS 6.3 Medium.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Ubuntu 26.10log4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=stonkingOther threatsAffected
  • =1.5.0-1
Fixed in–
Ubuntu 26.04 LTSlog4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=resoluteOther threatsAffected
  • =1.4.0-1
  • =1.5.0-1
Fixed in–
Ubuntu 25.10log4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=questingOther threatsAffected
  • =1.3.1-1
  • =1.4.0-1
Fixed in–
Ubuntu 24.04 LTSlog4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=nobleOther threatsAffected
  • 1.1.0-1 – 1.1.0-1build3
4 affected builds
Fixed in–
Ubuntu 22.04 LTSlog4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=jammyOther threatsAffected
  • =0.11.0-2ubuntu1
  • =0.11.0-3ubuntu2
  • =0.12.1-4
Fixed in–
Ubuntu 20.04 LTSlog4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=focalOther threatsAffected
  • =0.10.0-15ubuntu1
  • =0.10.0-15ubuntu2
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

Community reviews

Loading reviews…