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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-06 · Modified: 2026-10-07
- Aliases: UBUNTU-CVE-2026-105241, DEBIAN-CVE-2026-105241
- Record: https://cvemate.com/vulnerability/CVE-2026-105241 · JSON: https://cvemate.com/vulnerability/CVE-2026-105241/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.824%, percentile 58.664%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache log4net: ≥ 1.2.9, \< 3.5.0 \| ≥ 02e1e115435888485f2e28b414d267e39e799e07, \< 4d2e10f0908199604b4326f9df6d0b43b871e333
- apache log4net: ≥ 1.2.9, \< 3.5.0
- debian log4net (Debian): All versions (No fix recorded)
- ubuntu log4net (Ubuntu): All versions (No fix recorded)

## References

- <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://ubuntu.com/security/CVE-2026-105241>
- <https://www.cve.org/CVERecord?id=CVE-2026-105241>
- <https://lists.apache.org/thread/hg8dgh3oy8bp3dhb8nsygk9kw2o401ws>
- <https://security-tracker.debian.org/tracker/CVE-2026-105241>

---

Data as of 2026-12-05T06:45:28.133Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
