Intel

AIKIDO-2026-708847

log4net is vulnerable to Improper Encoding or Escaping of Output

CVE-2026-105244Published Nov 5, 2026
November 5, 2026

53

CVE Score

Medium

Improper Encoding or Escaping of Output

Are you affected? Scan for Free

TL;DR

Apache log4net's RemoteSyslogAppender formats a log event into a syslog message and, in AppendMessage, iterates each character of the rendered message deciding what to send over the wire to the configured syslog receiver. The input is the application's log message text, supplied by whatever calling code logs through a logger configured with RemoteSyslogAppender; by default log4net does not configure this appender itself. Before the fix, any character outside the visible-ASCII range 0x20-0x7E (including tabs, other control characters, and all non-ASCII text) was simply skipped and never added to the output buffer, so such content vanished from the transmitted syslog record without any indication of truncation. The fix in version 3.5.0 changes this branch to append an escaped \\uXXXX representation of the character instead of dropping it, preserving the fact that non-standard content was present.

How do I fix this?

Upgrade the log4net package to version 3.5.0 or later.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and have configured RemoteSyslogAppender to forward application log messages to a syslog server.

Package

Versions

1.2.10 - 3.4.0

Fixed in 3.5.0

Background info

log4net is vulnerable to Improper Encoding or Escaping of Output in versions 1.2.10 - 3.4.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea