CVE-2026-40023
mediumpriority · track · 21EPSS 0.005 · 43 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 1.7–6.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (16)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-2292Apache log4j und Log4cxx: Mehrere Schwachstellen ermöglichen Manipulation von DateienDeutsch2026-07-12csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Apache log4j und Apache Log4cxx ausnutzen, um Dateien zu manipulieren.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (18)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2026/04/10/12cnnvd
- https://github.com/apache/logging-log4cxx/pull/609cnnvd
- https://lists.apache.org/thread/y15cv3zblg3dfwr5vy6ddbnl4zyrzr8bcnnvd
- https://logging.apache.org/cyclonedx/vdr.xmlcnnvd
- https://logging.apache.org/log4cxx/1.7.0/classlog4cxx_1_1xml_1_1XMLLayout.htmlcnnvd
- https://logging.apache.org/log4cxx/1.7.0/download.htmlPatchcnnvd
- https://logging.apache.org/security.html#CVE-2026-40023cnnvd
- https://github.com/apache/logging-log4cxx/pull/609enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan