log4net — security advisory
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.
- Products
- log4net
- Affected versions
- 1.2.10+dfsg-10, 1.2.10+dfsg-9
- Fixed versions
- Not specified
- CVEs
- CVE-2026-105241
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 29 Oct 2026, 07:14 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2026-105241
log4net
Fixed versions: Not specified
log4net
Fixed versions: Not specified
Complete source record
{
"id": "c391e21a45447f3771f115643bfad8d5bd13ef09c7be63dad2b07054c9b7e9d0",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-105241",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-105241",
"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.",
"evidence": "osv:DEBIAN-CVE-2026-105241",
"products": [
{
"name": {
"value": "log4net",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.10+dfsg-10",
"evidence": "/affected/0/versions"
},
{
"value": "1.2.10+dfsg-9",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "log4net",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.10+dfsg-10",
"evidence": "/affected/1/versions"
},
{
"value": "1.2.10+dfsg-9",
"evidence": "/affected/1/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2026-105241",
"aliases": [
"DEBIAN-CVE-2026-105241"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "log4net",
"purl": "pkg:deb/debian/log4net?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"1.2.10+dfsg-10",
"1.2.10+dfsg-9"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-105241.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "log4net",
"purl": "pkg:deb/debian/log4net?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"1.2.10+dfsg-10",
"1.2.10+dfsg-9"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-105241.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-10T09:47:47.665518510Z",
"provider": "osv",
"upstream": [
"CVE-2026-105241"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-105241"
]
},
"related_cves": [
{
"value": "CVE-2026-105241",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 228538,
"published_at": "2026-10-06T20:17:15.907+00:00"
}