Skip to content
VulniPulse
Medium6.3Apache Software Foundation

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…

This medium-severity Apache Software Foundation advisory covers CVE-2026-40023 affecting Apache Log4cxx.

CVE-2026-40023 Published Apr 10, 2026Updated by vendor Jun 17, 2026
Affected products & platforms
Apache Software FoundationUnclassified
Open vendor advisory

Android app · Google Play

Monitor future Apache Software Foundation CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

Summary

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 versions
  • 1.7.0

Official advisory · high-confidence parse· fetched 2 months ago·verify at source

Fixed versions
  • 1.7.0

Official advisory · high-confidence parse· fetched 2 months ago·verify at source

Mitigation

Upgrade to a fixed release: 1.7.0. That is the remediation for this advisory.

The vendor advisory may list additional interim mitigations or workarounds not captured here — review it before change work.

Official advisory · high-confidence parse· fetched 2 months ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.