Improper Encoding or Escaping of Output Affecting log4net package, versions [,3.5.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.82% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DOTNET-LOG4NET-20550530
  • published7 Oct 2026
  • disclosed6 Oct 2026
  • creditUnknown

Introduced: 6 Oct 2026

NewCVE-2026-105244  (opens in a new tab)
CWE-116  (opens in a new tab)

How to fix?

Upgrade log4net to version 3.5.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output in RemoteSyslogAppender.AppendMessage(), which drops every character outside the visible ASCII range and space that RFC 3164 permits, rather than representing it, so non-Latin text and control characters such as tab are removed from the record with no marker left behind. An attacker can make distinct values appear identical in the collected logs, such as a username containing a zero width space arriving as admin, by placing characters outside that range into content that is logged. This affects only applications using RemoteSyslogAppender, and requires the attacker to control data that reaches a logged message.

CVSS Base Scores

version 4.0
version 3.1