Apache log4net <3.5.0 SmtpPickupDirAppender Unicode Encode Handling Flaw
CVE-2026-105241 Published on October 6, 2026
Apache log4net: Unencodable content discards a whole SmtpPickupDirAppender batch
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.
Vulnerability Analysis
CVE-2026-105241 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality, with no impact on integrity, and no impact on availability.
Weakness Type
Improper Handling of Unicode Encoding
The software does not properly handle when an input contains Unicode encoding.
Products Associated with CVE-2026-105241
Want to know whenever a new CVE is published for Apache Log4net? stack.watch will email you.
Affected Versions
Apache Software Foundation Apache log4net:- Version 1.2.9 and below 3.5.0 is affected.
- Version 02e1e115435888485f2e28b414d267e39e799e07 and below 4d2e10f0908199604b4326f9df6d0b43b871e333 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.