CVE-2026-105239
published medium CVSS 3.1 · 5.3Apache log4net: NUL character truncates EventLogAppender records
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | log4netApache log4net · 1.2.9 to < 3.5.0 · Other versions: unaffected | Affected | Not stated | apache |
| Apache Software Foundation | — | log4netApache log4net · 02e1e115435888485f2e28b414d267e39e799e07 to < dc5855a0720c91590fd7a81d729ea01fdd69e000 · Other versions: unaffected | Affected | Not stated | apache |
Description
Improper Neutralization of Null Byte or NUL Character vulnerability in the EventLogAppender of Apache log4net. A 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. 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- apache · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache log4net | 1.2.9 to < 3.5.0 (affected · semver)Default: unaffected | apache · cna |
| Apache Software Foundation | Apache log4net | 02e1e115435888485f2e28b414d267e39e799e07 to < dc5855a0720c91590fd7a81d729ea01fdd69e000 (affected · git)Default: unaffected | apache · cna |
Weaknesses
1- CWE-158 CWE-158 Improper Neutralization of Null Byte or NUL Character
References
4Provider assertions
3apache · cna
Apache log4net: NUL character truncates EventLogAppender records
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 50c90f5a5f8dd745fc0665908cd29789d62717a5ef48bac0ee51c9430127d9a4
- Ingested
- 07 Oct 2026, 06:42:58 UTC
- Source record
- Official CVE record