CVE-2026-129510

Apache log4net: Culture-sensitive CDATA end search in XmlLayout hides later log events

Published Nov 17, 2026 CVSS 3.1 · 5.3 Medium EPSS n/a KEV · Not listed
Description
Improper Output Neutralization for Logs vulnerability in the XmlLayout and XmlLayoutSchemaLog4J of Apache log4net.

Both layouts split a message holding the CDATA end marker into several CDATA sections, but searched for the marker with a culture-sensitive comparison. Ignorable characters or a combining mark around the marker made the search miss it, so the CDATA section stayed open. From 3.3.1 on, an XML parser then reads the following log events as part of that message; earlier versions leave the log file not well-formed. A party whose data reaches a log message could hide later log events from a consumer that parses the XML log.

This issue affects Apache log4net: from 1.2.9 before 3.6.0.

Users are recommended to upgrade to version 3.6.0, which fixes the issue.

Analysis

AI-generated

Technical impact

Improper Output Neutralization for Logs in Apache log4net's XmlLayout and XmlLayoutSchemaLog4J causes the CDATA end marker to be missed when a culture-sensitive comparison is used. As a result, the CDATA section remains open and subsequent log events are read as part of the earlier message. The consequence is that later log events are hidden from a consumer that parses the XML log, leading to incomplete or corrupted logs and hindering the detection and investigation of suspicious activity.

Affected Systems

Apache Software Foundation: Apache log4net vers 1.2.9 through 3.5.99 inclusive. Users employing any of these versions are affected by the flaw.

Risk and Exploitability

The vulnerability carries a CVSS score of 5.3, indicating medium impact. EPSS is not available and the flaw is not listed in the CISA KEV catalog, suggesting that exploitation is possible but not widely observed. The attack requires an attacker to inject log data that contains a CDATA end marker surrounded by ignorable or combining characters. Successful exploitation would allow the attacker to hide subsequent log entries from tooling that processes the XML log, which can weaken incident response and auditing.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache log4net to version 3.6.0 or newer to apply the official fix.
  • If an upgrade is not immediately possible, validate that log messages do not include a CDATA end marker or contain combining characters that could be misinterpreted by the layout.
  • Temporarily disable XML logging or switch to a safer layout until the patch can be applied.

Generated by OpenCVE AI on November 18, 2026 at 03:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Improper Output Neutralization for Logs vulnerability in the XmlLayout and XmlLayoutSchemaLog4J of Apache log4net. Both layouts split a message holding the CDATA end marker into several CDATA sections, but searched for the marker with a culture-sensitive comparison. Ignorable characters or a combining mark around the marker made the search miss it, so the CDATA section stayed open. From 3.3.1 on, an XML parser then reads the following log events as part of that message; earlier versions leave the log file not well-formed. A party whose data reaches a log message could hide later log events from a consumer that parses the XML log. This issue affects Apache log4net: from 1.2.9 before 3.6.0. Users are recommended to upgrade to version 3.6.0, which fixes the issue.
Title Apache log4net: Culture-sensitive CDATA end search in XmlLayout hides later log events
Weaknesses CWE-117
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

Subscriptions

No data.

Weaknesses
  • CWE-117

    Improper Output Neutralization for Logs

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Nov 18, 2026, 2:06 AM
Reserved
Nov 15, 2026, 8:28 PM
Status
Received
Published
Nov 17, 2026, 10:19 PM
Modified
Nov 18, 2026, 2:17 AM