Apache log4net: AdoNetAppender loses an event whose text the database cannot store

State
Published
Severity
5.3 Medium
Published
Nov 17, 2026
Updated
Nov 18, 2026
Reserved
Nov 15, 2026

Read the record on cve.org

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.

ProductVersions
Apache log4net Apache Software Foundation1.2.9 to before 3.6.0 Affected
Apache log4net Apache Software Foundation02e1e115435888485f2e28b414d267e39e799e07 to before a996aa8d569c709ddf0a5b1011a4f06bac9ce21d Affected

Weaknesses

  • CWE-158 Improper Neutralization of Null Byte or NUL Character

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.