{"id":"CVE-2026-105240","state":"PUBLISHED","title":"Apache log4net: NUL character truncates OutputDebugStringAppender records","description":"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.","publishedAt":"2026-10-06T19:47:44.900Z","updatedAt":"2026-10-07T16:27:16.989Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"apache"},"assigner":"apache","products":["Apache Software Foundation Apache log4net"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache log4net","packageName":"log4net","packageURL":"pkg:nuget/log4net","defaultStatus":"unaffected","versions":[{"version":"1.2.9","status":"affected","lessThan":"3.5.0","versionType":"semver"}],"collectionURL":"https://nuget.org/packages"},{"vendor":"Apache Software Foundation","product":"Apache log4net","packageName":"log4net","packageURL":"pkg:nuget/log4net","defaultStatus":"unaffected","versions":[{"version":"02e1e115435888485f2e28b414d267e39e799e07","status":"affected","lessThan":"6046fe9d7f353b49fe995361c071ec2eea8f7ef6","versionType":"git"}],"repo":"https://gitbox.apache.org/repos/asf/logging-log4net.git","collectionURL":"https://nuget.org/packages"}],"references":["https://github.com/apache/logging-log4net/pull/315","https://github.com/apache/logging-log4net/commit/6046fe9d7f353b49fe995361c071ec2eea8f7ef6","https://lists.apache.org/thread.html/gyw2d4ppy82t1vlpdknkfd1nmzp21z17","http://www.openwall.com/lists/oss-security/2026/10/07/18"],"weaknesses":["CWE-158"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/105xxx/CVE-2026-105240.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-105240","state":"PUBLISHED","datePublished":"2026-10-06T19:47:44.900Z","dateUpdated":"2026-10-07T16:27:16.989Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2026-10-04T16:20:07.533Z"},"containers":{"cna":{"title":"Apache log4net: NUL character truncates OutputDebugStringAppender records","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."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache log4net","packageName":"log4net","packageURL":"pkg:nuget/log4net","defaultStatus":"unaffected","versions":[{"version":"1.2.9","status":"affected","lessThan":"3.5.0","versionType":"semver"}],"collectionURL":"https://nuget.org/packages"},{"vendor":"Apache Software Foundation","product":"Apache log4net","packageName":"log4net","packageURL":"pkg:nuget/log4net","defaultStatus":"unaffected","versions":[{"version":"02e1e115435888485f2e28b414d267e39e799e07","status":"affected","lessThan":"6046fe9d7f353b49fe995361c071ec2eea8f7ef6","versionType":"git"}],"repo":"https://gitbox.apache.org/repos/asf/logging-log4net.git","collectionURL":"https://nuget.org/packages"}],"references":[{"url":"https://github.com/apache/logging-log4net/pull/315","tags":["patch"]},{"url":"https://github.com/apache/logging-log4net/commit/6046fe9d7f353b49fe995361c071ec2eea8f7ef6","tags":["patch"]},{"url":"https://lists.apache.org/thread.html/gyw2d4ppy82t1vlpdknkfd1nmzp21z17","tags":["vendor-advisory"]}],"metrics":[{"other":{"type":"Textual description of severity","content":{"text":"moderate"}},"scenarios":[{"lang":"en","value":"GENERAL"}]},{"scenarios":[{"lang":"en","value":"GENERAL"}],"format":"CVSS","cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE","baseSeverity":"MEDIUM","baseScore":5.3,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-158","description":"CWE-158 Improper Neutralization of Null Byte or NUL Character","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2026-10-06T19:47:44.900Z"},"source":{"discovery":"INTERNAL"},"credits":[{"lang":"en","value":"The Apache Software Foundation","type":"finder"},{"lang":"en","value":"Claude Security","type":"tool"},{"lang":"en","value":"Jan Friedrich","type":"remediation developer"}],"x_generator":{"engine":"Vulnogram 1.0.3"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/10/07/18"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-10-07T06:11:56.396Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-07T16:26:58.924030Z","id":"CVE-2026-105240","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-07T16:27:16.989Z"}}]}}}