XML Parsing Issue in Apache Log4cxx Affects Log Integrity

6.3MEDIUM

Key Information:

Vendor

Apache

CVE ID
CVE ID:
CVE-2026-40023
Vendor
CVE Published:
10 April 2026
Fixed in
Fixed in:
1.7.0

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Yes: Works over the network, no login needed
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Update to a fixed version
Apache Log4cxx 0 to below 1.7.0 is vulnerable
Apache Log4cxx (Brew) 0 to below 1.7.0 is vulnerable
Apache Log4cxx (Conan) 0 to below 1.7.0 is vulnerable
Install Apache Log4cxx 1.7.0 or later
Install Apache Log4cxx (Brew) 1.7.0 or later
Install Apache Log4cxx (Conan) 1.7.0 or later
Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Apache Log4cxx. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • It can be exploited remotely without credentials.
  • Its CVSS severity is medium (6.3).

What is CVE-2026-40023?

An issue in Apache Log4cxx's XMLLayout allows the inclusion of characters forbidden by the XML 1.0 specification, resulting in the generation of invalid XML output in log data. This flaw can enable an attacker to manipulate recorded logs, which may lead to the omission of critical log records essential for maintaining secure audit trails. Consequently, systems relying on these logs for monitoring malicious activities might either fail to index or entirely drop affected records. Users are encouraged to upgrade to Apache Log4cxx version 1.7.0, where this issue has been addressed.

References

Key Exchange Vulnerability in Apache Tomcat

CVE-2026-133325
ApacheApache TomcatπŸ˜„πŸ‘Ύ9.8CRITICAL

Improper Exception Management in Apache Tomcat Affects Multiple Versions

CVE-2026-116561
ApacheApache TomcatπŸ˜„9.1CRITICAL

Deserialization Vulnerability in Apache Roller Affects Multiple Versions

CVE-2026-129448
ApacheApache RollerπŸ˜„πŸ‘Ύ9.8CRITICAL
View more Apache vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V4

Score:
6.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Credit

Olawale Titiloye
.