Skip to content
Heist/ feed
Medium

Apache log4net: Unencodable content discards a whole SmtpPickupDirAppender batch

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-105241

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-105241

Apache log4net

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Apache log4net

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "Apache Software Foundation",
    "product": "Apache log4net",
    "versions": [
      {
        "status": "affected",
        "version": "1.2.9",
        "lessThan": "3.5.0",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:nuget/log4net",
    "packageName": "log4net",
    "collectionURL": "https://nuget.org/packages",
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://gitbox.apache.org/repos/asf/logging-log4net.git",
    "vendor": "Apache Software Foundation",
    "product": "Apache log4net",
    "versions": [
      {
        "status": "affected",
        "version": "02e1e115435888485f2e28b414d267e39e799e07",
        "lessThan": "4d2e10f0908199604b4326f9df6d0b43b871e333",
        "versionType": "git"
      }
    ],
    "packageURL": "pkg:nuget/log4net",
    "packageName": "log4net",
    "collectionURL": "https://nuget.org/packages",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-105241

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#11883 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement