CVE-2026-129512 Apache log4net: AdoNetAppender loses an event whose text the database cannot store
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-129512?
CVE-2026-129512 is a medium-severity vulnerability in Apache log4net, published on 17 Nov 2026.
Official 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.
Weakness: CWE-158
Which versions are affected by CVE-2026-129512?
1 open source package ship an affected version, including log4net.
| Package | Affected | Fixed in |
|---|---|---|
log4net NuGetpkg:nuget/log4net | From 1.2.9 | 3.6.0 |
How do I fix CVE-2026-129512?
Upgrade log4net to 3.6.0 or later.
Is CVE-2026-129512 being exploited?
There is no known exploitation of CVE-2026-129512 in the wild and no public exploit code.
Sources
Also known as GHSA-qwr2-h49j-j5m8.