CVE-2026-105242
5.3medium
Apache log4net: Request validation failure drops the event in the aspnet-request converter
- Severity
- 5.3medium CVSS:3.1 by apache
- Exploit likelihood
- 0.82% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| log4net | from 1.2.11 before 3.5.0, from 243f1e9f3ee235955bade4b4fe664a903378719a before 145203420c579a703008b4b723b6a080757f4964 | CVE List |
| apache log4net | from 1.2.11 before 3.5.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
References
| 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 | mailing-list, vendor-advisory | |
| http://www.openwall.com/lists/oss-security/2026/10/07/16 | mailing-list, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-105242 changed 2026-10-07 | CVE Terms of Use |
| NVD | CVE-2026-105242 changed 2026-10-09 | Public domain |