{"id":"CVE-2026-105239","state":"PUBLISHED","title":"Apache log4net: NUL character truncates EventLogAppender records","description":"Improper Neutralization of Null Byte or NUL Character vulnerability in the EventLogAppender of Apache log4net.\n\nA NUL character in logged content ended the Windows Event Log record at that point, so everything the layout rendered after it, including exception text and trailing fields, was silently not stored. A party whose data reaches a log message could hide the rest of that record. Only applications on Windows that use EventLogAppender 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:46:33.357Z","updatedAt":"2026-10-07T06:11:55.256Z","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":"dc5855a0720c91590fd7a81d729ea01fdd69e000","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/dc5855a0720c91590fd7a81d729ea01fdd69e000","https://lists.apache.org/thread.html/9fx1qo5hc0tg8ym0t6p9gt1zpb2qlxpq","http://www.openwall.com/lists/oss-security/2026/10/07/14"],"weaknesses":["CWE-158"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/105xxx/CVE-2026-105239.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-105239","state":"PUBLISHED","datePublished":"2026-10-06T19:46:33.357Z","dateUpdated":"2026-10-07T06:11:55.256Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2026-10-04T16:19:29.460Z"},"containers":{"cna":{"title":"Apache log4net: NUL character truncates EventLogAppender records","descriptions":[{"lang":"en","value":"Improper Neutralization of Null Byte or NUL Character vulnerability in the EventLogAppender of Apache log4net.\n\nA NUL character in logged content ended the Windows Event Log record at that point, so everything the layout rendered after it, including exception text and trailing fields, was silently not stored. A party whose data reaches a log message could hide the rest of that record. Only applications on Windows that use EventLogAppender 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":"dc5855a0720c91590fd7a81d729ea01fdd69e000","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/dc5855a0720c91590fd7a81d729ea01fdd69e000","tags":["patch"]},{"url":"https://lists.apache.org/thread.html/9fx1qo5hc0tg8ym0t6p9gt1zpb2qlxpq","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:46:33.357Z"},"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":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-06T19:58:19.202424Z","id":"CVE-2026-105239","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-06T19:58:29.347Z"}},{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/10/07/14"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-10-07T06:11:55.256Z"}}]}}}