Apache log4net log event suppression in AdoNetAppender
Apache Software Foundation Apache log4net
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software Foundation Apache log4net |
| No fix yet |
| Apache Software Foundation Apache log4net |
| No fix yet |
Original description
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.
From the CVE record · apache
References
- github.com/apache/logging-log4net/pull/355Patch
- github.com/apache/logging-log4net/commit/a996aa8d569c709ddf0a5b1011a4f06bac9ce21dPatch
- lists.apache.org/thread.html/jgrh2z1l8tyk33ds6jp5ck18f7wckbch
- openwall.com/lists/oss-security/2026/11/17/36
- nuget.org/packages
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129512.json
- nvd.nist.gov/vuln/detail/CVE-2026-129512
- gitbox.apache.org/repos/asf/logging-log4net.git