CVE-2026-105241
CVE-2026-105241 · Apache log4net: Unencodable content discards a whole SmtpPickupDirAppender batch
CVSS 5.3 · Medium · EPSS 1.0% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- apache log4netUpdate to 3.5.0
- log4net Debian 13No fix published
- log4net Debian 14No fix published
- log4net Ubuntu 16.04 LTSNo fix published
- and 6 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="log4net"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Stack: system
Affected products and versions
apache log4net
- Versions
- ≥ 1.2.9, < 3.5.0: Affected (semver)
Update to 3.5.0
apache log4net
- Versions
- ≥ 02e1e115435888485f2e28b414d267e39e799e07, < 4d2e10f0908199604b4326f9df6d0b43b871e333: Affected (git)
No fix published
log4net Debian 13
- Versions
- 1.2.10+dfsg-10
- 1.2.10+dfsg-9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
log4net Debian 14
- Versions
- 1.2.10+dfsg-10
- 1.2.10+dfsg-9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
log4net Ubuntu 16.04 LTS
- Versions
- 1.2.10+dfsg-6
- 1.2.10+dfsg-7
- 1.2.10+dfsg-7ubuntu0.16.04.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
log4net Ubuntu 18.04 LTS
- Versions
- 1.2.10+dfsg-7
- 1.2.10+dfsg-7ubuntu0.18.04.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
log4net Ubuntu 20.04 LTS
- Versions
- 1.2.10+dfsg-7
- 1.2.10+dfsg-7ubuntu0.20.04.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
log4net Ubuntu 22.04 LTS
- Versions
- 1.2.10+dfsg-8
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
log4net Ubuntu 24.04 LTS
- Versions
- 1.2.10+dfsg-8
- 1.2.10+dfsg-9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
log4net Ubuntu 26.10
- Versions
- 1.2.10+dfsg-9build1
- 1.2.10+dfsg-10
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
log4net Ubuntu 26.04 LTS
- Versions
- 1.2.10+dfsg-9
- 1.2.10+dfsg-9build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/apache/logging-log4net/pull/315
- https://github.com/apache/logging-log4net/commit/4d2e10f0908199604b4326f9df6d0b43b871e333
- https://lists.apache.org/thread.html/hg8dgh3oy8bp3dhb8nsygk9kw2o401ws
- http://www.openwall.com/lists/oss-security/2026/10/07/15
- https://nvd.nist.gov/vuln/detail/CVE-2026-105241