SecurityContext

CVE-2026-40023: Apache Log4cxx - Denial of Service

  • Cve: CVE-2026-40023
  • Name: Apache Log4cxx - Denial of Service
  • 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.
  • Impact: Attackers can suppress log records, impairing audit trails and detection of malicious activity.
  • Remediation: Upgrade to Apache Log4cxx 1.7.0 or later.
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Epss score: 0.00518
  • Epss percentile: 0.44917
  • Assignee: [email protected]
  • Published at: 2026-04-10T16:16:32Z
  • Age in days: 228
  • Modified at: 2026-10-26T21:10:00Z
  • Patch available: yes
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40023
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-116Improper Encoding or Escaping of Output

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/apache/logging-log4cxx/pull/609Issue Tracking, Patch
https://logging.apache.org/security.html#CVE-2026-40023Vendor Advisory
https://lists.apache.org/thread/y15cv3zblg3dfwr5vy6ddbnl4zyrzr8bMailing List, Vendor Advisory
http://www.openwall.com/lists/oss-security/2026/04/10/12Mailing List, Third Party Advisory
https://logging.apache.org/cyclonedx/vdr.xmlProduct
https://logging.apache.org/log4cxx/1.7.0/classlog4cxx_1_1xml_1_1XMLLayout.htmlProduct

Products

ProductAffectedPlatform boundSourcesUrl
apache:log4cxx< 1.7.0nonvd/v1/products/apache/log4cxx

Projects

RepositoryLink kindsIndexedUrl
apache/logging-log4cxxfix, pullyes/v1/repositories/apache/logging-log4cxx

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts