CVE-2026-129510

NameCVE-2026-129510
DescriptionImproper 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
log4net (PTS)trixie1.2.10+dfsg-9vulnerable
forky, sid1.2.10+dfsg-10vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
log4netsource(unstable)(unfixed)

Notes

https://lists.apache.org/thread/wdwlygr9v6wv24gh3w364syttqzkv88m
Fixed by: https://github.com/apache/logging-log4net/commit/80d955e8c8f1e9f094c2b3d1c142147ee8b8b805 (rc/3.6.0-rc1)

Search for package or bug name: Reporting problems