CVE details
CVE-2026-105241
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 ports (1)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| devel/log4net | log4net | 1.2.10_5 | unaddressed | ports@FreeBSD.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>log4net</name>
<range><lt>3.5.0</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</body>
</description>
<references>
<cvename>CVE-2026-105241</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2026-105241</url>
</references>
<dates>
<discovery>2026-10-06</discovery>
<entry>2026-10-25</entry>
</dates>
</vuln>