Skip to content
NewA calmer, faster ZeroHour

CVE-2026-129512

NUL handling in Apache log4net AdoNetAppender drops log events

CVSS 3.1
5.3 medium
EPSS
—
Published
·
Modified
Analyze CVE-2026-129512 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

Apache log4net's AdoNetAppender binds text parameters unchanged, so a NUL byte or unpaired UTF-16 surrogate is sent to the database as-is. Anyone whose data is written into a log message can trigger this over the network with no authentication. Databases that reject those values, such as PostgreSQL, drop the insert and the event is lost; only the first loss per appender is reported. Versions from 1.2.9 before 3.6.0 are affected.

What to do: Upgrade Apache log4net to 3.6.0, which fixes NUL and unpaired surrogate handling in AdoNetAppender.

ProductAffectedFixed in
Apache log4netfrom 1.2.9 before 3.6.03.6.0
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

In the news

1 story