log4net AdoNetAppender Null Byte Injection (3.5)
CVE-2026-129512 Published on November 17, 2026
Apache log4net: AdoNetAppender loses an event whose text the database cannot store
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.
Vulnerability Analysis
CVE-2026-129512 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality, with no impact on integrity, and no impact on availability.
Weakness Type
Improper Neutralization of Null Byte or NUL Character
The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes NUL characters or null bytes when they are sent to a downstream component. As data is parsed, an injected NUL character or null byte may cause the software to believe the input is terminated earlier than it actually is, or otherwise cause the input to be misinterpreted. This could then be used to inject potentially dangerous input that occurs after the null byte or otherwise bypass validation routines and other protection mechanisms.
Products Associated with CVE-2026-129512
Want to know whenever a new CVE is published for Apache Log4net? stack.watch will email you.
Affected Versions
Apache Software Foundation Apache log4net:- Version 1.2.9 and below 3.6.0 is affected.
- Version 02e1e115435888485f2e28b414d267e39e799e07 and below a996aa8d569c709ddf0a5b1011a4f06bac9ce21d is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.