Skip to content
VulniPulse
Medium 2 vendors · 2 advisories

CVE-2026-40023: Apache Log4cxx, Apache Log4cxx (Conan), Apache Log4cxx (Brew): Silent log event loss in XMLLayout due to unescaped XML 1.0 forbidden characters

CVE-2026-40023 key facts

CISA KEV
Not listed (catalogue checked )
Highest advisory rating
Medium
CVSS base score
6.3 (Apache), 6.3 (NetApp)
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, .
Fixed releases
  • Apache: 1.7.0
Vendor advisories
2 from Apache, NetApp
Assigned by
apache (CNA)
CVE record published
Listed by VulniPulse
Record changed

Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-40023; each belongs to its advisory, not to every product listed. How records are collected and checked.

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
Apache: 1.7.0No fixed release on this branch listed by the vendor
NetApp: 1.7.0No fixed release on this branch listed by the vendor

Also listed as fixed: Apache: 1.7.0

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.

Text from the CVE.org record (apache).

How do I fix CVE-2026-40023?

Upgrade to a fixed release named by the vendor:

  • Apache: 1.7.0

Vendor advisories for CVE-2026-40023

Apache

1 advisory
  • Advisory severityMedium6.3

    Medium [CVE-2026-40023] Apache Log4cxx's XMLLayout https://logging.apache.org/log4cxx/1.7.0/classlog4cxx_1_1xml_1_1XMLLayout.html , in versions before…

    CVE-2026-40023Source published Source updated

    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.

    Affected products in this advisory
    • Apache Log4cxx
    Source-reported affected versions
    • 1.7.0
    Source-reported fixed versions
    • 1.7.0
    Mitigation guidance
    No mitigation guidance extracted; consult the source.

NetApp

1 advisory
  • Advisory severityMedium6.3

    Medium [CVE-2026-40023] Apache Log4cxx Vulnerability in NetApp Products

    NTAP-20260710-0003Source published Source updated

    Apache Log4cxx versions prior to 1.7.0 are susceptible to a vulnerability which when successfully exploited could lead to addition or modification of data. Successful exploitation of this vulnerability could lead to addition or modification of data. NetApp reports that one or more additional products remain under investigation; review the canonical advisory for current status. NetApp states there is no workaround available at this time.

    Affected products in this advisory
    No product details extracted. Check the source bulletin.
    Source-reported affected versions
    • 1.7.0
    Source-reported fixed versions
    No fixed-version detail extracted. This does not mean no fix exists.
    Mitigation guidance
    No mitigation guidance extracted; consult the source.

References

Timeline

  1. CVE record published
  2. CVE record last updated
  3. First vendor advisory listed by VulniPulse

All Apache 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