CVE-2026-105240
Improper Neutralization of Null Byte or NUL Character vulnerability in the OutputDebugStringAppender of Apache log4net.
A NUL character in logged content ended the debug output record at that point, so everything the layout rendered after it, including exception text and trailing fields, was silently lost. A party whose data reaches a log message could hide the rest of that record. Only applications on Windows that use OutputDebugStringAppender 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.
Timeline
Built from our own data: NVD, CISA KEV and other exploitation catalogues, FIRST EPSS, public exploits, specialised media and Orbitaley coverage.
- CVE record published in NVD
- Record last modified in NVD
ATT&CK techniques
How this vulnerability is exploited and what the attacker gains, in MITRE ATT&CK terms.
- Exploitation
T1190Exploit Public-Facing Applicationinitial access45 %
CWE-158 (improper neutralization of NUL character) permite inyectar datos en logs que truncan registros; afecta a OutputDebugStringAppender en Windows, alterando la integridad de la información registrada.
Inferred by our analysis agent from the official description, CVSS vector and CWE, and checked by a supervisor. May contain errors.
ATT&CK mitigations that cover these techniques
Affected technologies (1)
NVD record
- NVD status
- Analyzed
- Published
- Oct 6, 2026
- Last modified
- Oct 9, 2026
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weakness (CWE)
- CWE-158
References
Raw JSON (NVD)
Show
{
"id": "CVE-2026-105240",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-105240",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-10-07T16:26:58.924030Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "security@apache.org",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 5.3,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
"integrityImpact": "LOW",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
},
"impactScore": 1.4,
"exploitabilityScore": 3.9
}
]
},
"affected": [
{
"source": "security@apache.org",
"affectedData": [
{
"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": "6046fe9d7f353b49fe995361c071ec2eea8f7ef6",
"versionType": "git"
}
],
"packageURL": "pkg:nuget/log4net",
"packageName": "log4net",
"collectionURL": "https://nuget.org/packages",
"defaultStatus": "unaffected"
}
]
}
],
"published": "2026-10-06T20:17:15.777",
"references": [
{
"url": "https://github.com/apache/logging-log4net/commit/6046fe9d7f353b49fe995361c071ec2eea8f7ef6",
"tags": [
"Patch"
],
"source": "security@apache.org"
},
{
"url": "https://github.com/apache/logging-log4net/pull/315",
"tags": [
"Patch"
],
"source": "security@apache.org"
},
{
"url": "https://lists.apache.org/thread.html/gyw2d4ppy82t1vlpdknkfd1nmzp21z17",
"tags": [
"Mailing List",
"Vendor Advisory"
],
"source": "security@apache.org"
},
{
"url": "http://www.openwall.com/lists/oss-security/2026/10/07/18",
"tags": [
"Mailing List",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Analyzed",
"weaknesses": [
{
"type": "Secondary",
"source": "security@apache.org",
"description": [
{
"lang": "en",
"value": "CWE-158"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Improper Neutralization of Null Byte or NUL Character vulnerability in the OutputDebugStringAppender of Apache log4net.\n\nA NUL character in logged content ended the debug output record at that point, so everything the layout rendered after it, including exception text and trailing fields, was silently lost. A party whose data reaches a log message could hide the rest of that record. Only applications on Windows that use OutputDebugStringAppender 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."
}
],
"lastModified": "2026-10-09T15:41:47.250",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:apache:log4net:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "182F45E2-D20D-4B67-85C1-AFE1D39A5692",
"versionEndExcluding": "3.5.0",
"versionStartIncluding": "1.2.9"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "security@apache.org"
}