Source: log4net X-Debbugs-CC: [email protected] Severity: important Tags: security
Hi, The following vulnerabilities were published for log4net. CVE-2026-129510[0]: | Improper Output Neutralization for Logs vulnerability in the | XmlLayout and XmlLayoutSchemaLog4J of Apache log4net. Both layouts | split a message holding the CDATA end marker into several CDATA | sections, but searched for the marker with a culture-sensitive | comparison. Ignorable characters or a combining mark around the | marker made the search miss it, so the CDATA section stayed open. | From 3.3.1 on, an XML parser then reads the following log events as | part of that message; earlier versions leave the log file not well- | formed. A party whose data reaches a log message could hide later | log events from a consumer that parses the XML log. 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. https://lists.apache.org/thread/wdwlygr9v6wv24gh3w364syttqzkv88m Fixed by: https://github.com/apache/logging-log4net/commit/80d955e8c8f1e9f094c2b3d1c142147ee8b8b805 (rc/3.6.0-rc1) CVE-2026-129511[1]: | 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. dhttps://lists.apache.org/thread/v2oljwjcboxk0tvyy5v86o2fjlslx1zt Fixed by: https://github.com/apache/logging-log4net/commit/735db80ab163ef08c54d2cc4d3d576b22b77f4bc (rc/3.6.0-rc1) CVE-2026-129512[2]: | Improper Neutralization of Null Byte or NUL Character vulnerability | in the AdoNetAppender of Apache log4net. Text parameters were bound | unchanged, so a NUL character or an unpaired UTF-16 surrogate | reached the database as it was. A database that refuses such a | value, such as PostgreSQL, rejected the insert and the event was | lost; only the first such loss per appender was reported. A party | whose data reaches a log message could suppress that event. 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. https://lists.apache.org/thread/jgrh2z1l8tyk33ds6jp5ck18f7wckbch Fixed by: https://github.com/apache/logging-log4net/commit/a996aa8d569c709ddf0a5b1011a4f06bac9ce21d (rc/3.6.0-rc1) If you fix the vulnerabilities please also make sure to include the CVE (Common Vulnerabilities & Exposures) ids in your changelog entry. For further information see: [0] https://security-tracker.debian.org/tracker/CVE-2026-129510 https://www.cve.org/CVERecord?id=CVE-2026-129510 [1] https://security-tracker.debian.org/tracker/CVE-2026-129511 https://www.cve.org/CVERecord?id=CVE-2026-129511 [2] https://security-tracker.debian.org/tracker/CVE-2026-129512 https://www.cve.org/CVERecord?id=CVE-2026-129512 Please adjust the affected versions in the BTS as needed.

