Skip to content
VulniPulse
Medium6.3Apache Software Foundation

CVE-2026-40023: Apache Log4cxx's XMLLayout

This Apache advisory covers CVE-2026-40023 in Apache Log4cxx.

Open the Apache advisory

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.

AffectedFixed in
1.7.0No 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

Apache Software FoundationApache Log4cxx

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

Compare every advisory for CVE-2026-40023

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.

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.

Alert me about Apache