Apache Software FoundationCVE-2026-129512
Improper Neutralization of Null Byte or NUL Character vulnerability in the...
Fix: upgrade to 3.6.0 or later (2 fixed versions below)
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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| Apache log4net Product | >= 1.2.9, < 3.6.0 | 3.6.0 |
| >= 02e1e115435888485f2e28b414d267e39e799e07, < a996aa8d569c709ddf0a5b1011a4f06bac9ce21d | a996aa8d569c709ddf0a5b1011a4f06bac9ce21d |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-158
- www.cve.org/CVERecord?id=CVE-2026-129512
- nvd.nist.gov/vuln/detail/CVE-2026-129512
- github.com/apache/logging-log4net/commit/a996aa8d569c709ddf0a5b1011a4f06bac9ce21d
- github.com/apache/logging-log4net/pull/355
- lists.apache.org/thread.html/jgrh2z1l8tyk33ds6jp5ck18f7wckbch
- www.openwall.com/lists/oss-security/2026/11/17/36