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.
Published: 2026-10-06
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Log suppression for attacker‐containing requests
Action: Immediate Patch
AI Analysis

Impact

Improper handling of exceptional conditions in the aspnet-request converter of Apache log4net causes event data that triggers ASP.NET request validation to be dropped from the log. When a request contains markup or otherwise invalid content, the layout throws, leading the appender to discard the entire logging event. The result is that a sender can effectively suppress the audit record of their own request, weakening traceability and forensic capability for malicious activity.

Affected Systems

Apache Software Foundation’s Apache log4net is affected. The flaw exists in versions starting at 1.2.11 through all releases before 3.5.0. Applications built on ASP.NET for the .NET Framework that employ the %aspnet-request pattern in their log layouts are vulnerable.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity. EPSS information is unavailable, and the vulnerability is not listed in CISA’s KEV catalog, suggesting no known widespread exploitation yet. The most likely attack vector is an attacker sending a crafted HTTP request containing markup to an ASP.NET application that uses log4net with the %aspnet-request converter, thereby causing legitimate log entries for the attacker’s activity to be omitted.

Generated by OpenCVE AI on October 7, 2026 at 00:32 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache log4net to version 3.5.0 or later.
  • If an upgrade cannot be performed immediately, remove or disable the %aspnet-request pattern converter from the log4net layout configuration.
  • Sanitize or escape user input before it reaches the log4net converter to prevent ASP.NET request validation exceptions.

Generated by OpenCVE AI on October 7, 2026 at 00:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 09 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:log4net:*:*:*:*:*:*:*:*

Wed, 07 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 07 Oct 2026 07:30:00 +0000

Type Values Removed Values Added
References

Tue, 06 Oct 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache log4net
Vendors & Products Apache
Apache log4net

Tue, 06 Oct 2026 20:00:00 +0000

Type Values Removed Values Added
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.
Title Apache log4net: Request validation failure drops the event in the aspnet-request converter
Weaknesses CWE-755
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-10-07T14:49:06.441Z

Reserved: 2026-10-04T16:21:12.546Z

Link: CVE-2026-105242

cve-icon Vulnrichment

Updated: 2026-10-07T06:11:58.703Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-06T20:17:16.037

Modified: 2026-10-09T15:28:34.500

Link: CVE-2026-105242

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-07T00:45:09Z

Weaknesses
  • CWE-755

    Improper Handling of Exceptional Conditions