{"api_version":"1","generated_at":"2026-10-06T21:46:28+00:00","cve":"CVE-2026-105240","urls":{"html":"https://cve.report/CVE-2026-105240","api":"https://cve.report/api/cve/CVE-2026-105240.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-105240","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-105240"},"summary":{"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.","state":"PUBLISHED","assigner":"apache","published_at":"2026-10-06 20:17:15","updated_at":"2026-10-06 20:17:15"},"problem_types":["CWE-158","CWE-158 CWE-158 Improper Neutralization of Null Byte or NUL Character"],"metrics":[{"version":"3.1","source":"security@apache.org","type":"Secondary","score":"5.3","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"5.3","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","data":{"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"}}],"references":[{"url":"https://github.com/apache/logging-log4net/commit/6046fe9d7f353b49fe995361c071ec2eea8f7ef6","name":"https://github.com/apache/logging-log4net/commit/6046fe9d7f353b49fe995361c071ec2eea8f7ef6","refsource":"security@apache.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/apache/logging-log4net/pull/315","name":"https://github.com/apache/logging-log4net/pull/315","refsource":"security@apache.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://lists.apache.org/thread.html/gyw2d4ppy82t1vlpdknkfd1nmzp21z17","name":"https://lists.apache.org/thread.html/gyw2d4ppy82t1vlpdknkfd1nmzp21z17","refsource":"security@apache.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-105240","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105240","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Apache Software Foundation","product":"Apache log4net","version":"affected 1.2.9 3.5.0 semver","platforms":[]},{"source":"CNA","vendor":"Apache Software Foundation","product":"Apache log4net","version":"affected 02e1e115435888485f2e28b414d267e39e799e07 6046fe9d7f353b49fe995361c071ec2eea8f7ef6 git","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"The Apache Software Foundation","lang":"en"},{"source":"CNA","value":"Claude Security","lang":"en"},{"source":"CNA","value":"Jan Friedrich","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"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":"6046fe9d7f353b49fe995361c071ec2eea8f7ef6","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 Neutralization of Null Byte or NUL Character vulnerability in the OutputDebugStringAppender of Apache log4net.<br><br>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.<br><br>This issue affects Apache log4net: from 1.2.9 before 3.5.0.<br><br>Users are recommended to upgrade to version 3.5.0, which fixes the issue."}],"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."}],"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-158","description":"CWE-158 Improper Neutralization of Null Byte or NUL Character","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-10-06T19:47:44.900Z","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/6046fe9d7f353b49fe995361c071ec2eea8f7ef6"},{"tags":["vendor-advisory"],"url":"https://lists.apache.org/thread.html/gyw2d4ppy82t1vlpdknkfd1nmzp21z17"}],"source":{"discovery":"INTERNAL"},"title":"Apache log4net: NUL character truncates OutputDebugStringAppender records","x_generator":{"engine":"Vulnogram 1.0.3"}}},"cveMetadata":{"assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","assignerShortName":"apache","cveId":"CVE-2026-105240","datePublished":"2026-10-06T19:47:44.900Z","dateReserved":"2026-10-04T16:20:07.533Z","dateUpdated":"2026-10-06T19:47:44.900Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-06 20:17:15","lastModifiedDate":"2026-10-06 20:17:15","problem_types":["CWE-158","CWE-158 CWE-158 Improper Neutralization of Null Byte or NUL Character"],"metrics":{"cvssMetricV31":[{"source":"security@apache.org","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","baseScore":5.3,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":1.4}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"105240","Ordinal":"1","Title":"Apache log4net: NUL character truncates OutputDebugStringAppende","CVE":"CVE-2026-105240","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"105240","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Apache log4net: NUL character truncates OutputDebugStringAppende"}]}}}