{"id":"CVE-2026-129511","published":"2026-11-17T22:14:22Z","modified":"2026-11-18T16:55:05Z","title":"Apache log4net: Best-fit encoding in FileAppender lets fullwidth text forge XML log events","vendor":"Apache","product":"Apache log4net","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00372,"percentile":0.31925,"provenance":"source"},"cwes":[{"id":"CWE-117","name":"Improper Output Neutralization for Logs"}],"references":[{"url":"https://github.com/apache/logging-log4net/pull/355","tags":["patch"]},{"url":"https://github.com/apache/logging-log4net/commit/735db80ab163ef08c54d2cc4d3d576b22b77f4bc","tags":["patch"]},{"url":"https://lists.apache.org/thread.html/v2oljwjcboxk0tvyy5v86o2fjlslx1zt","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/11/17/35","tags":[]}],"priority":{"score":10.1,"factors":[{"name":"EPSS percentile","points":6.38},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache log4net","versions":[">= 1.2.9, < 3.6.0"]},{"vendor":"Apache Software Foundation","product":"Apache log4net","versions":[">= 3.4.0, < 3.6.0"]},{"vendor":"Apache Software Foundation","product":"Apache log4net","versions":[">= 02e1e115435888485f2e28b414d267e39e799e07, < 735db80ab163ef08c54d2cc4d3d576b22b77f4bc"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-11-18T16:54:50.566946Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-128194","exploited":false,"provenance":"source"}}