CVE-2026-129512

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

Medium published · updated

5.3
CVSS score out of 10 · NVD (apache.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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
log4net nuget 1.2.9 → <3.6.03.6.0 CVE.org
apache log4net apache software foundation 1.2.9 → <3.6.03.6.0 CVE.org
log4net nuget 02e1e115435888485f2e28b414d267e39e799e07 → <a996aa8d569c709ddf0a5b1011a4f06bac9ce21da996aa8d569c709ddf0a5b1011a4f06bac9ce21d CVE.org
apache log4net apache software foundation 02e1e115435888485f2e28b414d267e39e799e07 → <a996aa8d569c709ddf0a5b1011a4f06bac9ce21da996aa8d569c709ddf0a5b1011a4f06bac9ce21d CVE.org

References