CVEfocus › CVE database › CVE-2026-40023

CVE-2026-40023Apache Log4cxx, Apache Log4cxx (Conan), Apache Log4cxx (Brew): Silent log event loss in…

CVSS 6.3 MediumEPSS 1.0% (higher than 62% of CVEs)Published 2026-04-10Updated 2026-04-10Assigner: apache

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.

CWE-116

What to do

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

8Fix pending
3Under investigation
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10log4cxxFix pendingUBUNTU-CVE-2026-40023
Ubuntu 26.04log4cxxUnder investigationUBUNTU-CVE-2026-40023
Ubuntu 25.10log4cxxWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-40023
Ubuntu 24.04log4cxxUnder investigationUBUNTU-CVE-2026-40023
Ubuntu 22.04log4cxxUnder investigationUBUNTU-CVE-2026-40023
Ubuntu 20.04log4cxxFix pendingUBUNTU-CVE-2026-40023
Ubuntu 18.04log4cxxFix pendingUBUNTU-CVE-2026-40023
Ubuntu 16.04log4cxxFix pendingUBUNTU-CVE-2026-40023
Ubuntu 14.04log4cxxFix pendingUBUNTU-CVE-2026-40023
Debian 14log4cxxFix pendingDEBIAN-CVE-2026-40023
Debian 13log4cxxFix pendingDEBIAN-CVE-2026-40023
Debian 12log4cxxFix pendingDEBIAN-CVE-2026-40023
Red Hat Enterprise Linux 7log4cxxWill not fix
Out of support scope
Red Hat Enterprise Linux 7log4cxx-develWill not fix
Out of support scope

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.