NuGet
CVE-2026-129511
Apache log4net: Best-fit encoding in FileAppender lets fullwidth text forge XML log events
- Severity
- Medium 5.3
- Published
- 17 Nov 2026
- Last changed
- 18 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 3.6.0
- Exploit chance
- 0.4% in the next 30 daysHigher than 31% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- CWE-117
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N- Sources
- CVE Program
Description
Improper Output Neutralization for Logs vulnerability in the FileAppender, RollingFileAppender, UdpAppender and SmtpAppender of Apache log4net.
Characters the configured encoding could not represent were converted by that encoding's best-fit fallback, which turns fullwidth characters such as U+FF1C, U+FF1E and U+FF02 into <, > and ". The conversion happened after XmlLayout or XmlLayoutSchemaLog4J had escaped the text, so a party whose data reaches a log message could forge complete log events in an XML log, for example a fake audit entry. On .NET Framework this needs no configuration where the ANSI code page is single-byte, since that is the default encoding; on .NET it needs a configured single-byte encoding such as ISO-8859-1. This is the best-fit conversion described by the WorstFit research.
This issue affects Apache log4net: from 1.2.9 before 3.6.0.
Users are recommended to upgrade to version 3.6.0, which fixes the issue.
Affected software
| Software | Affected versions |
|---|---|
log4netNuGet · osv:NuGet:log4net |
|
log4net.Ext.MailNuGet · osv:NuGet:log4net.Ext.Mail |
|
About log4net
- Total downloads (NuGet)
- 451,029,990NuGet, 23 Nov 2026
Vulnerabilities in log4net
- In our list
- 3
- Published in the last 12 months
- 3
- Critical, last 12 months
- 0
- High, last 12 months
- 0
- Known exploited
- 0
- CVE-2026-129512Apache log4net: AdoNetAppender loses an event whose text the database cannot storeMedium 5.3 17 Nov 2026
- CVE-2026-129510Apache log4net: Culture-sensitive CDATA end search in XmlLayout hides later log eventsMedium 5.3 17 Nov 2026
About log4net.Ext.Mail
- Total downloads (NuGet)
- 990NuGet, 23 Nov 2026
This is the only vulnerability in log4net.Ext.Mail in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-129511