CVEfocus › CVE database › CVE-2026-105241

CVE-2026-105241Apache log4net: Unencodable content discards a whole SmtpPickupDirAppender batch

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

Improper Handling of Unicode Encoding vulnerability in the SmtpPickupDirAppender of Apache log4net. Content that the mail file writer cannot encode, such as an unpaired UTF-16 surrogate, made the write throw. Every buffered event in the batch was discarded, not only the one carrying the content, and a truncated mail could be left in the pickup directory. A party whose data reaches a log message could suppress the records of other events. Only applications that use SmtpPickupDirAppender 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-176

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-105241
Ubuntu 26.04log4netUnder investigationUBUNTU-CVE-2026-105241
Ubuntu 24.04log4netUnder investigationUBUNTU-CVE-2026-105241
Ubuntu 22.04log4netUnder investigationUBUNTU-CVE-2026-105241
Ubuntu 20.04log4netFix pendingUBUNTU-CVE-2026-105241
Ubuntu 18.04log4netFix pendingUBUNTU-CVE-2026-105241
Ubuntu 16.04log4netFix pendingUBUNTU-CVE-2026-105241
Debian 14log4netFix pendingDEBIAN-CVE-2026-105241
Debian 13log4netFix pendingDEBIAN-CVE-2026-105241

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.