{"id":"CVE-2026-40023","aliases":["CVE-2026-40023"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Log4cxx, Apache Log4cxx (Conan), Apache Log4cxx (Brew): Silent log event loss in XMLLayout due to unescaped XML 1.0 forbidden characters","summary":"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.\n\nAn attacker who can influence logged data can exploit this to suppress individual log records, impairing audit trails and detection of malicious activity.\n\nUsers are advised to upgrade to Apache Log4cxx 1.7.0, which fixes this issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nAn attacker who can influence logged data can exploit this to suppress individual log records, impairing audit trails and detection of malicious activity.\n\nUsers are advised to upgrade to Apache Log4cxx 1.7.0, which fixes this issue.","source":"cvelist"},{"lang":"es","text":"El XMLLayout de Apache Log4cxx https://logging.apache.org/log4cxx/1.7.0/classlog4cxx_1_1xml_1_1XMLLayout.html , en versiones anteriores a la 1.7.0, no logra sanear los caracteres prohibidos por la especificación XML 1.0 https://www.w3.org/TR/xml/#charsets en los mensajes de registro, y en las claves y valores de las propiedades NDC y MDC, produciendo una salida XML no válida. Los analizadores XML conformes deben rechazar dichos documentos con un error fatal, lo que puede provocar que los sistemas de procesamiento de registros posteriores descarten o no indexen los registros afectados.\n\nUn atacante que puede influir en los datos registrados puede explotar esto para suprimir registros de log individuales, lo que perjudica las pistas de auditoría y la detección de actividad maliciosa.\n\nSe aconseja a los usuarios actualizar a Apache Log4cxx 1.7.0, que corrige este problema.","source":"nvd"}],"published":"2026-04-10T15:45:52.895Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"apache","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"apache","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-116"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.7.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Log4cxx","cpe":"cpe:2.3:a:apache:log4cxx:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"1.7.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Log4cxx (Conan)","package":"log4cxx","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"1.7.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Log4cxx (Brew)","package":"log4cxx","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.7.0"}],"vendor":"apache","product":"log4cxx","cpe":"cpe:2.3:a:apache:log4cxx:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/apache/logging-log4cxx/pull/609","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://logging.apache.org/security.html#CVE-2026-40023","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://logging.apache.org/cyclonedx/vdr.xml","tags":["product","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://logging.apache.org/log4cxx/1.7.0/classlog4cxx_1_1xml_1_1XMLLayout.html","tags":["product","related"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread/y15cv3zblg3dfwr5vy6ddbnl4zyrzr8b","tags":["mailing-list","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/10/12","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Olawale Titiloye"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-10T17:28:20.094Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40023","url":"https://www.cve.org/CVERecord?id=CVE-2026-40023","licence":"CVE Terms of Use","modified":"2026-04-10T17:29:20.009Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40023","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40023","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:18.503Z","epss":{"score":0.00518,"percentile":0.45532,"date":"2026-12-01T12:00:22.000Z"}}