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.
Show the promptExplain CVE-2026-129511 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-129511?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-129511?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-129511 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.
Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
apache software foundation:apache log4net
Versions
From the CNA's record in the CVE List.
Product
Affected
Apache Software Foundation Apache log4net
from 1.2.9 before 3.6.0
Apache Software Foundation Apache log4net
from 3.4.0 before 3.6.0
Attack patterns (CAPEC)
CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
CAPEC-93 Log Injection-Tampering-Forging Likelihood: High · Severity: High