Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-105240 EUVD-2026-93864GHSA-q2xj-998m-58gf

Apache log4net: NUL character truncates OutputDebugStringAppender records

Published Oct 6, 2026 · Updated Oct 7, 2026 · Assigned by apache

Description

Improper Neutralization of Null Byte or NUL Character vulnerability in the OutputDebugStringAppender of Apache log4net.

A NUL character in logged content ended the debug output record at that point, so everything the layout rendered after it, including exception text and trailing fields, was silently lost. A party whose data reaches a log message could hide the rest of that record. Only applications on Windows that use OutputDebugStringAppender are affected.

This issue affects Apache log4net: from 1.2.9 before 3.5.0.

Users are recommended to upgrade to version 3.5.0, which fixes the issue.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache log4net 1.2.9 – < 3.5.0 3.5.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 log4net No fix yet —
Debian 13 log4net No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 log4net No fix yet —
Ubuntu 26.04 LTS log4net No fix yet —
Ubuntu 24.04 LTS log4net No fix yet —
Ubuntu 22.04 LTS log4net No fix yet —
Ubuntu 20.04 LTS log4net No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS log4net No fix yet —
Ubuntu 16.04 LTS log4net No fix yet —

Advisories 1

References