{"schemaVersion":4,"id":"CVE-2026-129511","aliases":["UBUNTU-CVE-2026-129511","DEBIAN-CVE-2026-129511"],"status":"published","duplicateOf":null,"title":"Apache log4net: Best-fit encoding in FileAppender lets fullwidth text forge XML log events","description":"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.","dates":{"published":"2026-11-17T22:14:22.857Z","modified":"2026-11-18T16:55:05.734Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":10,"impact":2.3,"computed":true}]},"epss":{"probability":0.0038,"percentile":0.34073,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-18T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0038,"percentile":0.34073}],"last30":[{"date":"2026-11-18T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00372,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00412,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0038,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0038,"percentile":0.34073}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-117","name":"Improper Output Neutralization for Logs","description":"The product constructs a log message from external input, but it does not neutralize or incorrectly neutralizes special elements when the message is written to a log file.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/117.html"}],"affected":[{"vendor":"apache software foundation","product":"apache log4net","name":"Apache log4net","label":"apache log4net","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.2.9, < 3.6.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"1.2.9","startInclusive":true,"end":"3.6.0","endInclusive":false}},{"text":"≥ 3.4.0, < 3.6.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.4.0","startInclusive":true,"end":"3.6.0","endInclusive":false}},{"text":"≥ 02e1e115435888485f2e28b414d267e39e799e07, < 735db80ab163ef08c54d2cc4d3d576b22b77f4bc","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"02e1e115435888485f2e28b414d267e39e799e07","startInclusive":true,"end":"735db80ab163ef08c54d2cc4d3d576b22b77f4bc","endInclusive":false}}],"versionsText":"≥ 1.2.9, < 3.6.0 | ≥ 3.4.0, < 3.6.0 | ≥ 02e1e115435888485f2e28b414d267e39e799e07, < 735db80ab163ef08c54d2cc4d3d576b22b77f4bc","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_log4net"},{"vendor":"debian","product":"log4net","name":"log4net","label":"log4net","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/log4net","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"log4net","name":"log4net","label":"log4net","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/log4net","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/apache/logging-log4net/pull/355","label":"github.com/apache/logging-log4net/pull/355","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/apache/logging-log4net/commit/735db80ab163ef08c54d2cc4d3d576b22b77f4bc","label":"github.com/apache/logging-log4net/commit/735db80ab163ef08c54d2cc4d3d576b22b77f4bc","hostname":"github.com","tags":["Patch"]},{"url":"https://lists.apache.org/thread.html/v2oljwjcboxk0tvyy5v86o2fjlslx1zt","label":"lists.apache.org/thread.html/v2oljwjcboxk0tvyy5v86o2fjlslx1zt","hostname":"lists.apache.org","tags":["Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/11/17/35","label":"www.openwall.com/lists/oss-security/2026/11/17/35","hostname":"www.openwall.com","tags":[]},{"url":"https://ubuntu.com/security/CVE-2026-129511","label":"ubuntu.com/security/CVE-2026-129511","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-129511","label":"www.cve.org/CVERecord?id=CVE-2026-129511","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-129511","label":"security-tracker.debian.org/tracker/CVE-2026-129511","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-17T22:14:22.857Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-18T16:55:05.734Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,53],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.0038,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-18T16:55:05.734Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-18T16:55:05.734Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-18T16:55:05.734Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-11-18T16:55:05.734Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-18T16:54:50.566Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.0038,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:27:48.320Z","stale":false,"partial":false}}