Article View: linux.debian.bugs.dist
Article #6744Bug#1155791: log4net: CVE-2026-129510 CVE-2026-129511 CVE-2026-129512
From: Moritz Mühlenhoff
Date: Sun, 29 Nov 2026 16:20
Date: Sun, 29 Nov 2026 16:20
74 lines
5286 bytes
5286 bytes
Source: log4net
X-Debbugs-CC: team@security.debian.org
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.
Technical Details
Message-ID:
<O4PN8-eUUr-33@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Moritz Mühlenhoff <jmm@inutil.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1155791: log4net: CVE-2026-129510 CVE-2026-129511 CVE-2026-129512 Date: Sun, 29 Nov 2026 17:20:02 +0100 Message-ID: <O4PN8-eUUr-33@gated-at.bofh.it> X-Original-To: submit@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sun Nov 29 16:15:10 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: 1.684 Reply-To: Moritz Mühlenhoff <jmm@inutil.org>, 1155791@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team@security.debian.org, debian-cli@lists.debian.org X-Debian-Pr-Message: report 1155791 X-Debian-Pr-Package: src:log4net X-Debian-Pr-Keywords: security X-Debian-Pr-Source: log4net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005892 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 74 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 29 Nov 2026 17:14:18 +0100 X-Original-Message-ID: <awxPWqwkhYNAntWm@pisco.westfalen.local>