Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit input containing fullwidth < > " characters
-
DeliveryData written to XmlLayout/XmlLayoutSchemaLog4J appender
-
ExploitSingle-byte encoding best-fit converts to real markup
-
ExecutionXML escaping bypassed after layout runs
-
ImpactForge fake audit/log event entry
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log output neutralization
|
| Exploitation Conditions | Exploitation requires the application to use one of the affected appenders (FileAppender, RollingFileAppender, UdpAppender, SmtpAppender) with the XmlLayout or XmlLayoutSchemaLog4J layout, AND an output encoding whose best-fit fallback is active. On .NET Framework this needs no special configuration wherever the ANSI code page is single-byte, because that is the default encoding; on .NET (Core) it requires an explicitly configured single-byte encoding such as ISO-8859-1. The attacker must be able to place data (e.g. fullwidth characters U+FF1C/U+FF1E/U+FF02) into a message that reaches the log. LIMITING FACTORS: multi-byte/UTF-8 encodings are not affected, non-XML layouts are not affected, and the impact is confined to forging log content - no confidentiality or availability impact. Complete fix is to upgrade to log4net 3.6.0. |
| Impact | This is a medium-severity log-forgery issue (CVSS 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N), and the impact profile is narrow: integrity-only (I:L) with no confidentiality (C:N) and no availability (A:N) impact. The network vector and lack of required privileges (PR:N) are offset by the fact that the only outcome is forged entries in an XML audit/event log, not code execution or data theft. No EPSS score, CISA KEV listing, or confirmed public exploit was supplied; the attached GitHub links are the fix PR #355 and the fixing commit, not working exploit code, so exploitation status is 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a conditional, integrity-only flaw. CONFLICT TO NOTE: the input Tags label this 'Information Disclosure,' but the CVSS vector and description describe log-event forgery (integrity), with C:N - treat the disclosure label as inaccurate. Realistic priority is moderate: patch within the normal maintenance window rather than as an emergency, and prioritize where log4net feeds security/audit pipelines whose integrity is relied upon. |
| Exploit ScenarioDerived | An attacker supplies input containing fullwidth characters (U+FF1C, U+FF1E, U+FF02) into a field that the application logs through a log4net FileAppender, RollingFileAppender, UdpAppender or SmtpAppender configured with XmlLayout or XmlLayoutSchemaLog4J and a single-byte output encoding. Because the encoding's best-fit fallback rewrites those characters into <, > and " after the XML layout has already escaped the text, the attacker injects syntactically valid XML and forges complete log events - for example a fabricated audit entry. No public exploit code was identified; exploitation requires the specific XmlLayout plus single-byte-encoding conditions described below. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Improper output neutralization in Apache log4net's XML logging path lets data that reaches a log message forge complete log events - for example a fabricated audit entry - in FileAppender, RollingFileAppender, UdpAppender and SmtpAppender deployments that use XmlLayout or XmlLayoutSchemaLog4J. The integrity-only impact (CVSS 5.3, C:N/I:L/A:N) applies to log4net from 1.2.9 before 3.6.0, and on .NET Framework it is reachable with no special configuration wherever the ANSI code page is single-byte, since that is the default encoding; on .NET (Core) it requires an explicitly configured single-byte encoding such as ISO-8859-1. No public exploit code and no confirmed active exploitation were identified at time of analysis; Apache has released 3.6.0 as the complete fix.
RemediationAI
Upgrade Apache log4net to 3.6.0, the version Apache names as the complete fix; vendor-released patch: 3.6.0. The upstream change is visible in https://github.com/apache/logging-log4net/pull/355 and commit https://github.com/apache/logging-log4net/commit/735db80ab163ef08c54d2cc4d3d576b22b77f4bc, with the advisory at https://lists.apache.org/thread.html/v2oljwjcboxk0tvyy5v86o2fjlslx1zt. Where an upgrade cannot be scheduled immediately, the practical compensating controls follow directly from the exploitation prerequisites: reconfigure the affected appenders to a multi-byte or UTF-8 encoding instead of a single-byte best-fit encoding (this removes the fallback substitution entirely, but changes the byte representation of existing log output and may break downstream parsers or log shippers that assume the old code page), or move the affected sinks to a non-XML layout such as a pattern layout with an appropriate escaping scheme (this eliminates the XML forgery primitive but changes the log format and any consumers that parse the XML schema). Neither workaround is described by the vendor as a complete fix, and the Escaping-based hardening added in the upstream patch series is only delivered by upgrading; note also that an ASF priority of this_month applies rather than an emergency designation, and no public exploit code or confirmed active exploitation was identified at time of analysis.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-117 (Improper Output Neutralization for Logs), realized through a character-encoding best-fit fallback rather than a missing escape. XmlLayout and XmlLayoutSchemaLog4J correctly escape text before it is written, but the escaping happens in the character domain; when the configured encoding cannot represent a character, the encoder's best-fit fallback substitutes an ASCII lookalike. Fullwidth forms such as U+FF1C, U+FF1E and U+FF02 are mapped by that fallback to '<', '>' and '"', which are the exact delimiters the XML layouts had already neutralized. The substitution therefore occurs after escaping and re-introduces live markup, so an attacker who can place text into a log message can close the current element and inject a complete, well-formed fake log event. The research community refers to this class as the WorstFit conversion. Reachability depends on the platform's default encoding: on .NET Framework the default ANSI code page is single-byte, so the condition is met without configuration, whereas on .NET (Core) an administrator must have configured a single-byte encoding such as ISO-8859-1. Multi-byte and UTF-8 encodings do not exhibit the substitution and are not affected, and non-XML layouts are not affected because there is no XML structure to forge.
Know when Apache Log4Net gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Untrusted data reaching a log can be injected remotely without privileges (AV:N, PR:N), but the only effect is forging XML log content, so integrity-only I:L with C:N and A:N.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
DescriptionCVE.org
Improper Output Neutralization for Logs vulnerability in the FileAppender, RollingFileAppender, UdpAppender and SmtpAppender of Apache log4net.
Characters the configured encoding could not represent were converted by that encoding's best-fit fallback, which turns fullwidth characters such as U+FF1C, U+FF1E and U+FF02 into <, > and ". The conversion happened after XmlLayout or XmlLayoutSchemaLog4J had escaped the text, so a party whose data reaches a log message could forge complete log events in an XML log, for example a fake audit entry. On .NET Framework this needs no configuration where the ANSI code page is single-byte, since that is the default encoding; on .NET it needs a configured single-byte encoding such as ISO-8859-1. This is the best-fit conversion described by the WorstFit research.
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Apache Log4Net
View allApache Log4net versions before 3.3.0 fail to sanitize XML 1.0-forbidden characters in MDC property keys and values, as w
Log event suppression in Apache log4net's AdoNetAppender (1.2.9 through 3.5.x) lets attacker-influenced data quietly del
EUVD-2026-128194
GHSA-jqh7-qm7m-vcgg
NVD
CVE.org
EPSS
Exploit-DB