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.
Published: 2026-10-06
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information loss / log tampering
Action: Apply Patch
AI Analysis

Impact

The flaw causes a NUL character inserted into log data to terminate a Windows Event Log entry, so any log content rendered after it—including exception details and additional fields—is silently discarded. Attackers can use this to conceal sensitive information, effectively tampering with system logs and reducing their usefulness for troubleshooting or forensic analysis.

Affected Systems

This vulnerability affects Apache log4net 1.2.9 up to, but not including, version 3.5.0 on Windows platforms where the EventLogAppender is configured.

Risk and Exploitability

The CVSS score of 5.3 indicates low‑to‑moderate severity. The EPSS score is not available and the issue is not listed in the CISA KEV catalog, suggesting a modest likelihood of exploitation in the wild. The attack vector requires the adversary to supply or influence log content that reaches the EventLogAppender, which could be achieved with local code execution or by compromising the application to inject NUL characters. The consequence is superior log integrity loss, which can impede incident response and auditing.

Generated by OpenCVE AI on October 7, 2026 at 00:33 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Apache log4net to version 3.5.0 or later, which eliminates the NUL truncation bug.
  • If the application must run on Windows, verify that the EventLogAppender is configured only for trusted data; consider disabling it for untrusted log sources.
  • Sanitize any user-supplied data before it is passed to the EventLogAppender to prevent injection of NUL characters.

Generated by OpenCVE AI on October 7, 2026 at 00:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 09 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:log4net:*:*:*:*:*:*:*:*

Wed, 07 Oct 2026 07:30:00 +0000

Type Values Removed Values Added
References

Wed, 07 Oct 2026 00:00:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache log4net
Vendors & Products Apache
Apache log4net

Tue, 06 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 06 Oct 2026 20:00:00 +0000

Type Values Removed Values Added
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.
Title Apache log4net: NUL character truncates EventLogAppender records
Weaknesses CWE-158
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-10-07T06:11:55.256Z

Reserved: 2026-10-04T16:19:29.460Z

Link: CVE-2026-105239

cve-icon Vulnrichment

Updated: 2026-10-07T06:11:55.256Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-06T20:17:15.630

Modified: 2026-10-09T15:44:02.503

Link: CVE-2026-105239

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-07T00:45:09Z

Weaknesses
  • CWE-158

    Improper Neutralization of Null Byte or NUL Character