CVEfocus › CVE database › CVE-2026-129511

CVE-2026-129511Apache log4net: Best-fit encoding in FileAppender lets fullwidth text forge XML log events

CVSS 5.3 MediumEPSS 0.4% (higher than 27% of CVEs)Published 2026-11-17Updated 2026-11-18Assigner: apache

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.

CWE-117

What to do

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10log4netFix pendingUBUNTU-CVE-2026-129511
Ubuntu 26.04log4netUnder investigationUBUNTU-CVE-2026-129511
Ubuntu 24.04log4netUnder investigationUBUNTU-CVE-2026-129511
Ubuntu 22.04log4netUnder investigationUBUNTU-CVE-2026-129511
Ubuntu 20.04log4netFix pendingUBUNTU-CVE-2026-129511
Ubuntu 18.04log4netFix pendingUBUNTU-CVE-2026-129511
Ubuntu 16.04log4netFix pendingUBUNTU-CVE-2026-129511
Debian 14log4netFix pendingDEBIAN-CVE-2026-129511
Debian 13log4netFix pendingDEBIAN-CVE-2026-129511

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.