{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "02e1e115435888485f2e28b414d267e39e799e07"
            },
            {
              "fixed": "4d2e10f0908199604b4326f9df6d0b43b871e333"
            }
          ],
          "repo": "https://gitbox.apache.org/repos/asf/logging-log4net.git",
          "type": "GIT"
        },
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "1.2.9"
              },
              {
                "fixed": "3.5.0"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "18a96716af733f7c6e4956526acdcc117a1bd461"
            },
            {
              "fixed": "f7794ae187ab2e228e1754cb478568dd305d1b32"
            },
            {
              "fixed": "4d2e10f0908199604b4326f9df6d0b43b871e333"
            }
          ],
          "repo": "https://github.com/apache/logging-log4net",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "apache",
    "cwe_ids": [
      "CWE-176"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105241.json"
  },
  "details": "Improper Handling of Unicode Encoding vulnerability in the SmtpPickupDirAppender of Apache log4net.\n\nContent 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.\n\nThis issue affects Apache log4net: from 1.2.9 before 3.5.0.\n\nUsers are recommended to upgrade to version 3.5.0, which fixes the issue.",
  "id": "CVE-2026-105241",
  "modified": "2026-10-09T02:30:43.646246659Z",
  "published": "2026-10-06T19:49:03.994Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/10/07/15"
    },
    {
      "type": "WEB",
      "url": "https://nuget.org/packages"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105241.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://lists.apache.org/thread.html/hg8dgh3oy8bp3dhb8nsygk9kw2o401ws"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-105241"
    },
    {
      "type": "FIX",
      "url": "https://github.com/apache/logging-log4net/commit/4d2e10f0908199604b4326f9df6d0b43b871e333"
    },
    {
      "type": "FIX",
      "url": "https://github.com/apache/logging-log4net/pull/315"
    },
    {
      "type": "PACKAGE",
      "url": "https://gitbox.apache.org/repos/asf/logging-log4net.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Apache log4net: Unencodable content discards a whole SmtpPickupDirAppender batch"
}