Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-105241 EUVD-2026-93866GHSA-r5vq-477m-wcfc

Apache log4net: Unencodable content discards a whole SmtpPickupDirAppender batch

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

Description

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.

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