CVE-2026-105241 (GCVE-0-2026-105241)

Vulnerability from cvelistv5 – Published: 2026-10-06 19:49 – Updated: 2026-10-06 19:49
VLAI
Title
Apache log4net: Unencodable content discards a whole SmtpPickupDirAppender batch
Summary
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.
CWE
  • CWE-176 - Improper Handling of Unicode Encoding
Impacted products
Vendor Product Version CPE status
Apache Software Foundation Apache log4net Affected: 1.2.9 , < 3.5.0 (semver)
guessed Create a notification for this product.
Apache Software Foundation Apache log4net Affected: 02e1e115435888485f2e28b414d267e39e799e07 , < 4d2e10f0908199604b4326f9df6d0b43b871e333 (git)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "collectionURL": "https://nuget.org/packages",
          "defaultStatus": "unaffected",
          "packageName": "log4net",
          "packageURL": "pkg:nuget/log4net",
          "product": "Apache log4net",
          "vendor": "Apache Software Foundation",
          "versions": [
            {
              "lessThan": "3.5.0",
              "status": "affected",
              "version": "1.2.9",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://nuget.org/packages",
          "defaultStatus": "unaffected",
          "packageName": "log4net",
          "packageURL": "pkg:nuget/log4net",
          "product": "Apache log4net",
          "repo": "https://gitbox.apache.org/repos/asf/logging-log4net.git",
          "vendor": "Apache Software Foundation",
          "versions": [
            {
              "lessThan": "4d2e10f0908199604b4326f9df6d0b43b871e333",
              "status": "affected",
              "version": "02e1e115435888485f2e28b414d267e39e799e07",
              "versionType": "git"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "The Apache Software Foundation"
        },
        {
          "lang": "en",
          "type": "tool",
          "value": "Claude Security"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Jan Friedrich"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Improper Handling of Unicode Encoding vulnerability in the SmtpPickupDirAppender of Apache log4net.\u003cbr\u003e\u003cbr\u003eContent 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.\u003cbr\u003e\u003cbr\u003eThis issue affects Apache log4net: from 1.2.9 before 3.5.0.\u003cbr\u003e\u003cbr\u003eUsers are recommended to upgrade to version 3.5.0, which fixes the issue."
            }
          ],
          "value": "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."
        }
      ],
      "metrics": [
        {
          "other": {
            "content": {
              "text": "moderate"
            },
            "type": "Textual description of severity"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-176",
              "description": "CWE-176 Improper Handling of Unicode Encoding",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-06T19:49:03.994Z",
        "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
        "shortName": "apache"
      },
      "references": [
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/apache/logging-log4net/pull/315"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/apache/logging-log4net/commit/4d2e10f0908199604b4326f9df6d0b43b871e333"
        },
        {
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://lists.apache.org/thread.html/hg8dgh3oy8bp3dhb8nsygk9kw2o401ws"
        }
      ],
      "source": {
        "discovery": "INTERNAL"
      },
      "title": "Apache log4net: Unencodable content discards a whole SmtpPickupDirAppender batch",
      "x_generator": {
        "engine": "Vulnogram 1.0.3"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
    "assignerShortName": "apache",
    "cveId": "CVE-2026-105241",
    "datePublished": "2026-10-06T19:49:03.994Z",
    "dateReserved": "2026-10-04T16:20:44.036Z",
    "dateUpdated": "2026-10-06T19:49:03.994Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://nuget.org/packages",
                "defaultStatus": "unaffected",
                "packageName": "log4net",
                "packageURL": "pkg:nuget/log4net",
                "product": "Apache log4net",
                "vendor": "Apache Software Foundation",
                "versions": [
                  {
                    "lessThan": "3.5.0",
                    "status": "affected",
                    "version": "1.2.9",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "collectionURL": "https://nuget.org/packages",
                "defaultStatus": "unaffected",
                "packageName": "log4net",
                "packageURL": "pkg:nuget/log4net",
                "product": "Apache log4net",
                "repo": "https://gitbox.apache.org/repos/asf/logging-log4net.git",
                "vendor": "Apache Software Foundation",
                "versions": [
                  {
                    "lessThan": "4d2e10f0908199604b4326f9df6d0b43b871e333",
                    "status": "affected",
                    "version": "02e1e115435888485f2e28b414d267e39e799e07",
                    "versionType": "git"
                  }
                ]
              }
            ],
            "source": "security@apache.org"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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",
        "lastModified": "2026-10-06T20:17:15.907",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 1.4,
              "source": "security@apache.org",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-10-06T20:17:15.907",
        "references": [
          {
            "source": "security@apache.org",
            "url": "https://github.com/apache/logging-log4net/commit/4d2e10f0908199604b4326f9df6d0b43b871e333"
          },
          {
            "source": "security@apache.org",
            "url": "https://github.com/apache/logging-log4net/pull/315"
          },
          {
            "source": "security@apache.org",
            "url": "https://lists.apache.org/thread.html/hg8dgh3oy8bp3dhb8nsygk9kw2o401ws"
          }
        ],
        "sourceIdentifier": "security@apache.org",
        "vulnStatus": "Received",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-176"
              }
            ],
            "source": "security@apache.org",
            "type": "Primary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…