CVE-2026-105240
CVE-2026-105240 is a medium-severity vulnerability in Apache Log4net with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-158.
Key facts
- Severity: Medium (CVSS 3.x base score 5.3)
- EPSS exploit prediction: 1% (58th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-158
- Affected product: Apache Log4net
- Published:
- Last modified:
Description
Improper Neutralization of Null Byte or NUL Character vulnerability in the OutputDebugStringAppender of Apache log4net. 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. 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.
Frequently asked questions
- What is CVE-2026-105240?
- Improper Neutralization of Null Byte or NUL Character vulnerability in the OutputDebugStringAppender of Apache log4net. 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. 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.
- How severe is CVE-2026-105240?
- CVE-2026-105240 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity low, and availability none.
- Is CVE-2026-105240 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (58th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-105240?
- CVE-2026-105240 affects Apache Log4net. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-105240?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2026-105240 published?
- CVE-2026-105240 was published on 2026-10-06 and last updated on 2026-10-09.
References
- https://github.com/apache/logging-log4net/commit/6046fe9d7f353b49fe995361c071ec2eea8f7ef6
- https://github.com/apache/logging-log4net/pull/315
- https://lists.apache.org/thread.html/gyw2d4ppy82t1vlpdknkfd1nmzp21z17
- http://www.openwall.com/lists/oss-security/2026/10/07/18
Affected products (1)
- cpe:2.3:a:apache:log4net:*:*:*:*:*:*:*:*
More vulnerabilities in Apache Log4net
- CVE-2018-1285 — Critical (CVSS 9.8): Apache log4net versions before 2.0.10 do not disable XML external entities when parsing log4net configuration files.…
- CVE-2026-105244 — Medium (CVSS 5.3): Improper Encoding or Escaping of Output vulnerability in the RemoteSyslogAppender of Apache log4net. Every character…
- CVE-2026-105243 — Medium (CVSS 5.3): Insufficient Logging vulnerability in the EventLogAppender of Apache log4net. Long messages were truncated to a fixed…
- CVE-2026-105242 — Medium (CVSS 5.3): Improper Handling of Exceptional Conditions vulnerability in the aspnet-request pattern converter of Apache…
- CVE-2026-105241 — Medium (CVSS 5.3): Improper Handling of Unicode Encoding vulnerability in the SmtpPickupDirAppender of Apache log4net. Content that the…
- CVE-2026-105239 — Medium (CVSS 5.3): Improper Neutralization of Null Byte or NUL Character vulnerability in the EventLogAppender of Apache log4net. A NUL…
All CVEs affecting Apache Log4net →
Other CWE-158 vulnerabilities
- CVE-2025-47812 — Critical (CVSS 10.0): In Wing FTP Server before 7.4.4. the user and admin web interfaces mishandle '\0' bytes, ultimately allowing injection…
- CVE-2025-14388 — Critical (CVSS 9.8): The PhastPress plugin for WordPress is vulnerable to Unauthenticated Arbitrary File Read via null byte injection in all…
- CVE-2025-55113 — Critical (CVSS 9.0): If the Access Control List is enforced by the Control-M/Agent and the C router is in use (default in Out-of-support…
- CVE-2023-5719 — High (CVSS 8.8): The Crimson 3.2 Windows-based configuration tool allows users with administrative access to define new passwords for…
- CVE-2009-1537 — High (CVSS 8.8): Unspecified vulnerability in the QuickTime Movie Parser Filter in quartz.dll in DirectShow in Microsoft DirectX 7.0…
- CVE-2026-105475 — High (CVSS 8.7): Improper neutralization of a NUL byte in cPanel allows remote attackers to read any mail account's calendar and contact…