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.
{
"cna_assigner": "apache",
"cwe_ids": [
"CWE-158"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129512.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "02e1e115435888485f2e28b414d267e39e799e07"
},
{
"fixed": "a996aa8d569c709ddf0a5b1011a4f06bac9ce21d"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
{
"extracted_events": [
{
"range": [
{
"introduced": "1.2.9"
},
{
"fixed": "3.6.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "a996aa8d569c709ddf0a5b1011a4f06bac9ce21d"
}
],
"source": "REFERENCES_COMMIT"
}
]
}