CVE-2026-105242Apache log4net: Request validation failure drops the event in the aspnet-request converter
Improper Handling of Exceptional Conditions vulnerability in the aspnet-request pattern converter of Apache log4net. Reading request parameters triggers ASP.NET request validation, so a request carrying content such as markup made the layout throw and the appender discarded the whole event. A sender could suppress the log record of their own request. Only applications on ASP.NET for .NET Framework whose layout uses %aspnet-request are affected. This issue affects Apache log4net: from 1.2.11 before 3.5.0. Users are recommended to upgrade to version 3.5.0, which fixes the issue.
What to do
Ubuntu has 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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | log4net | Fix pending | UBUNTU-CVE-2026-105242 | |
| Ubuntu 26.04 | log4net | Under investigation | UBUNTU-CVE-2026-105242 | |
| Ubuntu 24.04 | log4net | Under investigation | UBUNTU-CVE-2026-105242 | |
| Ubuntu 22.04 | log4net | Under investigation | UBUNTU-CVE-2026-105242 | |
| Ubuntu 20.04 | log4net | Fix pending | UBUNTU-CVE-2026-105242 | |
| Ubuntu 18.04 | log4net | Fix pending | UBUNTU-CVE-2026-105242 | |
| Ubuntu 16.04 | log4net | Fix pending | UBUNTU-CVE-2026-105242 |
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.
- Apache Software Foundation Apache log4net: affected: 1.2.11 to before 3.5.0; fixed in
3.5.0 - Apache Software Foundation Apache log4net: affected: 243f1e9f3ee235955bade4b4fe664a903378719a to before 145203420c579a703008b4b723b6a080757f4964; fixed in
145203420c579a703008b4b723b6a080757f4964
Vendor advisories:
- https://github.com/apache/logging-log4net/pull/316 (patch)
- https://github.com/apache/logging-log4net/commit/145203420c579a703008b4b723b6a080757f4964 (patch)
- https://lists.apache.org/thread.html/zg6dbqm4ztm7j3c21nfsqj0yxm5yrpdx (vendor-advisory)
References
- https://github.com/apache/logging-log4net/pull/316
- https://github.com/apache/logging-log4net/commit/145203420c579a703008b4b723b6a080757f4964
- https://lists.apache.org/thread.html/zg6dbqm4ztm7j3c21nfsqj0yxm5yrpdx
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.