CVEfocus › CVE database › CVE-2026-105239

CVE-2026-105239Apache log4net: NUL character truncates EventLogAppender records

CVSS 5.3 MediumEPSS 1.0% (higher than 62% of CVEs)Published 2026-10-06Updated 2026-10-07Assigner: apache

Improper Neutralization of Null Byte or NUL Character vulnerability in the EventLogAppender of Apache log4net. A NUL character in logged content ended the Windows Event Log record at that point, so everything the layout rendered after it, including exception text and trailing fields, was silently not stored. A party whose data reaches a log message could hide the rest of that record. Only applications on Windows that use EventLogAppender 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.

CWE-158

What to do

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10log4netFix pendingUBUNTU-CVE-2026-105239
Ubuntu 26.04log4netUnder investigationUBUNTU-CVE-2026-105239
Ubuntu 24.04log4netUnder investigationUBUNTU-CVE-2026-105239
Ubuntu 22.04log4netUnder investigationUBUNTU-CVE-2026-105239
Ubuntu 20.04log4netFix pendingUBUNTU-CVE-2026-105239
Ubuntu 18.04log4netFix pendingUBUNTU-CVE-2026-105239
Ubuntu 16.04log4netFix pendingUBUNTU-CVE-2026-105239
Debian 14log4netFix pendingDEBIAN-CVE-2026-105239
Debian 13log4netFix pendingDEBIAN-CVE-2026-105239

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.