Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit input containing NUL or lone surrogate
-
ExploitValue bound unchanged into AdoNetAppender parameter
-
ExecutionPostgreSQL rejects the insert
-
ImpactLog event silently suppressed
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Metacharacter neutralization
|
| Exploitation Conditions | Requires an application using log4net's AdoNetAppender to write text parameters into a database that rejects NUL characters or invalid/unpaired UTF-16 surrogates - PostgreSQL is named as such a database - and attacker-influenced data must reach one of those bound log parameters. Limiting factors: databases that accept such bytes are unaffected; the impact is confined to losing the single rejected event, and only the first loss per appender is reported, so it does not cascade. Per CVSS PR:N exploitation needs no authentication, but it is bounded by the specific appender choice and backend database, making realistic risk lower than the base score alone suggests. |
| Impact | Signals point to a low-to-moderate, integrity-only issue rather than a priority emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) scores 5.3, but the only impact is I:L with C:N and A:N, reflecting that an attacker whose data reaches a logged field can cause that single log event to be dropped (audit/log suppression) - not code execution or data theft. No EPSS score was supplied in the input, so exploitation probability cannot be quantified. The vulnerability is not listed in CISA KEV and no exploit code is referenced, so there is no public exploit identified at time of analysis. The vuln.today priority is 'this_month' (not act_now/emergency), consistent with a real but non-urgent integrity weakness. A key limiter the raw score hides: impact only materializes when the AdoNetAppender writes to a database that rejects NUL or invalid UTF-16 such as PostgreSQL, and only the first such loss per appender is reported - so damage is bounded and deployment-dependent. The 'Information Disclosure' tag conflicts with the CVSS vector (C:N, I:L): this is a log-integrity/event-suppression flaw, not a confidentiality disclosure. |
| Exploit ScenarioDerived | An attacker submits input (for example a web request field) containing a NUL character or an unpaired UTF-16 surrogate, knowing the application logs that value through log4net's AdoNetAppender into a strict database such as PostgreSQL. The database rejects the insert, the offending log event is silently lost, and because only the first such loss per appender is reported, the attacker can suppress evidence of their own activity. No public exploit code is referenced; exploitation is straightforward where attacker-influenced data is logged over the network. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Log event suppression in Apache log4net's AdoNetAppender (1.2.9 through 3.5.x) lets attacker-influenced data quietly delete a log record: text parameters were bound to the database unchanged, so a NUL character or an unpaired UTF-16 surrogate is passed straight through, and a backend that refuses such values - PostgreSQL is named - rejects the insert and the event is lost, with only the first such loss per appender ever reported. An application is exposed only if it uses AdoNetAppender against such a database and untrusted data reaches one of those bound parameters; the result is integrity-only (CVSS 5.3, C:N/I:L/A:N) and bounded to the individual rejected event rather than cascading. No public exploit identified at time of analysis and the issue is not in CISA KEV; Apache ships 3.6.0 as the fix, and the priority is this_month rather than an emergency.
RemediationAI
Upgrade to Apache log4net 3.6.0, the version the vendor states fixes this issue (patch references: PR https://github.com/apache/logging-log4net/pull/355 and commit https://github.com/apache/logging-log4net/commit/a996aa8d569c709ddf0a5b1011a4f06bac9ce21d; advisory https://lists.apache.org/thread.html/jgrh2z1l8tyk33ds6jp5ck18f7wckbch). Plan for observable output changes: lone surrogates are now escaped as \uXXXX for every appender via AppenderSkeleton.RenderLoggingEvent with no opt-out, AdoNetAppender escapes NUL as \0 together with lone surrogates and truncates text parameters to Size without splitting a surrogate pair, so stored and rendered records that previously contained ?, U+FFFD or raw bytes will differ, and XML layouts still mask lone surrogates as ? - downstream parsers and log-diff tooling should be re-validated, and the retry cap change means a database failing after start-up now costs one round trip per event. If upgrading cannot be scheduled immediately, strip U+0000 and unpaired surrogates from untrusted data before it reaches the logged parameters (accepting that the malicious fragment is no longer recorded verbatim), or point the appender at a store that accepts those values (which keeps raw control characters in the log and preserves the injection surface), and monitor appender error output because only the first rejected event per appender is reported, so further suppressions are silent unless logging is instrumented.
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
CWE-158 (Improper Neutralization of Null Byte or NUL Character) applies here to the .NET string model: log4net messages are UTF-16 strings, and a U+0000 code point or a lone (unpaired) surrogate is representable in memory but not valid in the text types of many relational backends. AdoNetAppender builds its INSERT by binding layout-rendered strings as DbParameters; before this fix those parameters were handed to the provider verbatim, so on PostgreSQL (which rejects 0x00 and malformed UTF-16/UTF-8 sequences in text columns) the statement fails, the batch is rejected and the event never lands in the log table, while the appender's own error reporting surfaces only the first such failure. The upstream fix in 3.6.0 escapes NUL as \0 and lone surrogates as \uXXXX, cuts text parameters to the configured Size without splitting a surrogate pair, and escapes lone surrogates centrally in AppenderSkeleton.RenderLoggingEvent for every appender (third-party ones included) with no opt-out, while NUL escaping remains per sink. The same change set also caps AdoNetAppender retries only while the database has not yet accepted an insert, so a backend that fails after start-up costs one round trip per event. CPE data pins the affected component to cpe:2.3:a:apache_software_foundation:apache_log4net.
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
Attacker-supplied data reaches logging remotely without auth (AV:N/PR:N); only the single audit record is suppressed, so integrity is Low and confidentiality/availability are None.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
DescriptionCVE.org
Improper Neutralization of Null Byte or NUL Character vulnerability in the AdoNetAppender of Apache log4net.
Text parameters were bound unchanged, so a NUL character or an unpaired UTF-16 surrogate reached the database as it was. A database that refuses such a value, such as PostgreSQL, rejected the insert and the event was lost; only the first such loss per appender was reported. A party whose data reaches a log message could suppress that event.
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
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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
Improper output neutralization in Apache log4net's XML logging path lets data that reaches a log message forge complete
EUVD-2026-128197
GHSA-qwr2-h49j-j5m8
NVD
CVE.org
EPSS
Exploit-DB