Skip to content
Heist/ feed
Back to feed
Medium

log4net — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-105242

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.

Products
log4net
Affected versions
1.2.10+dfsg-10, 1.2.10+dfsg-9
Fixed versions
Not specified
CVEs
CVE-2026-105242
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 09:02 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-105242

core-osv · Original source

Published 6 Oct 2026, 20:17 UTC

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.

osv:DEBIAN-CVE-2026-105242

log4net

Fixed versions: Not specified

log4net

Fixed versions: Not specified

Complete source record
{
  "id": "803271f55c637d2db4b36aaf071306e2a45297328e561fd4e7eec6adf80f803a",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-105242",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-105242",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2026-105242",
    "products": [
      {
        "name": {
          "value": "log4net",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.10+dfsg-10",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.2.10+dfsg-9",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "log4net",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.10+dfsg-10",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.2.10+dfsg-9",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2026-105242",
      "aliases": [
        "DEBIAN-CVE-2026-105242"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "log4net",
            "purl": "pkg:deb/debian/log4net?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "1.2.10+dfsg-10",
            "1.2.10+dfsg-9"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-105242.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "log4net",
            "purl": "pkg:deb/debian/log4net?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "1.2.10+dfsg-10",
            "1.2.10+dfsg-9"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-105242.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-08T09:47:36.287758629Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-105242"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-105242"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-105242",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 98909,
  "published_at": "2026-10-06T20:17:16.037+00:00"
}