{"id":"CVE-2026-129511","aliases":[],"title":"Apache log4net: Best-fit encoding in FileAppender lets fullwidth text forge XML log events","originalDescription":"Improper Output Neutralization for Logs vulnerability in the FileAppender, RollingFileAppender, UdpAppender and SmtpAppender of Apache log4net.\n\nCharacters 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.\n\nThis issue affects Apache log4net: from 1.2.9 before 3.6.0.\n\nUsers are recommended to upgrade to version 3.6.0, which fixes the issue.","severity":{"cvss":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.0038,"percentile":0.34061},"exploitDb":null},"affected":[{"ecosystem":"unknown","name":"log4net","range":">=02e1e115435888485f2e28b414d267e39e799e07, <735db80ab163ef08c54d2cc4d3d576b22b77f4bc","fixed":"735db80ab163ef08c54d2cc4d3d576b22b77f4bc"},{"ecosystem":"unknown","name":"log4net","range":">=1.2.9, <3.6.0","fixed":"3.6.0"},{"ecosystem":"unknown","name":"log4net.Ext.Mail","range":">=3.4.0, <3.6.0","fixed":"3.6.0"}],"references":[{"url":"https://github.com/apache/logging-log4net/pull/355","type":"patch"},{"url":"https://github.com/apache/logging-log4net/commit/735db80ab163ef08c54d2cc4d3d576b22b77f4bc","type":"patch"},{"url":"https://lists.apache.org/thread.html/v2oljwjcboxk0tvyy5v86o2fjlslx1zt","type":"vendor-advisory"},{"url":"https://gitbox.apache.org/repos/asf/logging-log4net.git","type":"package"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129511.json","type":"advisory"},{"url":"https://nuget.org/packages","type":"web"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129511","type":"advisory"},{"url":"http://www.openwall.com/lists/oss-security/2026/11/17/35","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-20T18:04:15.486Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129511","license":"NVD terms of use","firstSeenAt":"2026-11-17T23:27:07.298Z"},{"name":"osv","at":"2026-11-18T21:27:40.370Z","url":"https://osv.dev/vulnerability/CVE-2026-129511","license":"CC-BY 4.0","firstSeenAt":"2026-11-18T00:33:56.966Z"},{"name":"cvelistV5","at":"2026-11-19T21:46:29.095Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-129511","license":"CVE Terms of Use","firstSeenAt":"2026-11-17T22:52:02.992Z"}],"firstSeenAt":"2026-11-17T22:52:02.992Z","publishedAt":"2026-11-17T22:14:22.857Z","modifiedAt":"2026-11-20T17:33:59.427Z"}