CVE-2026-105239: Apache log4net: NUL character truncates EventLogAppender records

Published Oct 6, 2026
·
Updated

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.

Affected Software

1 affected component
Apache log4net>=1.2.9<3.5.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache log4net to a version that resolves this vulnerability.

    Fixed in 3.5.0

Event History

Oct 6, 2026
CVE Published
via MITRE·07:46 PM
Data Sourced
via MITRE·07:46 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Only Windows applications that use Apache log4net's EventLogAppender are affected. Other platforms and log4net configurations that do not use this appender are not identified as affected.

2

What must an attacker be able to do to exploit this issue?

A party must be able to cause a NUL character to reach content written to a log message. The NUL terminates the Windows Event Log record, preventing subsequently rendered content, such as exception text and trailing fields, from being stored.

3

Which versions need remediation?

Apache log4net versions from 1.2.9 before 3.5.0 are affected. Upgrade to version 3.5.0, which fixes the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203