CVE-2026-40023: Apache Log4cxx's XMLLayout
This Apache advisory covers CVE-2026-40023 in Apache Log4cxx.
Am I affected by CVE-2026-40023?
You are affected if you run Apache Log4cxx at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected | Fixed in |
|---|---|
| 1.7.0 | No fixed release on this branch listed by the vendor |
Also listed as fixed: 1.7.0
Official advisory · high-confidence parse· fetched ·verify at source
Key facts
- Vendor rating
- Medium, CVSS 6.3
- CVSS vector
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· base score 6.3, scored by apacheAttack vector: network. Attack complexity: high. Attack requirements: none. Privileges required: none. User interaction: none. Confidentiality impact on the vulnerable system: none. Integrity impact on the vulnerable system: none. Availability impact on the vulnerable system: none. Confidentiality impact on subsequent systems: none. Integrity impact on subsequent systems: low. Availability impact on subsequent systems: none.- Weakness
- CWE-116 Improper Encoding or Escaping of Output
- EPSS
- 0.52% chance of exploitation in the next 30 days (44th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: partial. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Source published
- Source revised
- Listed by VulniPulse
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
Description
Apache Log4cxx's XMLLayout, in versions before 1.7.0, fails to sanitize characters forbidden by the XML 1.0 specification 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.
Text from the source record.
CVE-2026-40023 in other vendors' advisories
- NetApp: NTAP-20260710-0003, medium severity
CVE-2026-40023 questions
Is CVE-2026-40023 being exploited?
CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Apache advisory does not report exploitation. That is not proof it is unexploited.
Am I affected by CVE-2026-40023?
You are affected if you run Apache Log4cxx at one of the versions below. If you do, upgrade to the fixed release listed for your version. The table above lists each version.
How do I fix CVE-2026-40023?
Upgrade to a fixed release Apache lists for your version: 1.7.0.
How likely is CVE-2026-40023 to be exploited?
FIRST's EPSS model gives it a 0.52% chance of exploitation in the next 30 days (44th percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.
How serious is CVE-2026-40023?
Apache rates it medium, CVSS 6.3 out of 10.
More Apache Software Foundation advisories
CVE-2026-71501Nov 25, 2026Apache JSPWiki cross-site scripting (XSS)CVE-2026-71902Nov 25, 2026Apache JSPWiki: XSS vulnerability (Group.jsp)CVE-2026-71903Nov 25, 2026Cross Site Scripting (XSS) in JSPWIKI in versions 2.12.4 and olderCVE-2026-78089Nov 25, 2026Apache JSPWiki: XSS in SvnStyleDiffProviderCVE-2026-78090Nov 25, 2026Apache JSPWiki: XSS InsertPageCVE-2026-78091Nov 25, 2026Apache JSPWIKI: XSS in ReferringUndefinedPagesPlugin
Apache Software Foundation advisories, April 2026All Apache Software Foundation advisories
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro.