Skip to main content
VulnerabilityPublished

CVE-2026-105241: Apache log4net · Improper Handling of Unicode Encoding

Affects Apache log4netSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.3 Medium : upgrade to 3.5.0 when convenient.

Data as of 20 Nov 2026, 17:34 UTC

CVSS 3.1 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.8% chance of exploitation in 30 days – higher than 58% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.5.0, 4d2e10f0908199604b4326f9df6d0b43b871e333
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 20 Nov 2026.

What to do

Upgrade Apache log4net and log4net to 3.5.0; Apache log4net to 4d2e10f0908199604b4326f9df6d0b43b871e333.

Affected software

ProductAffectedFixed in
Apache Software FoundationApache log4netAffected
  • >=1.2.9 <3.5.0
Fixed in
  • 3.5.0
Apache Software FoundationApache log4netAffected
  • ≥ 02e1e115435888485f2e28b414d267e39e799e07, < 4d2e10f0908199604b4326f9df6d0b43b871e333
Fixed in
  • 4d2e10f0908199604b4326f9df6d0b43b871e333
NuGetlog4netpkg:nuget/log4netOther threatsAffected
  • >=1.2.9 <3.5.0
Fixed in
  • 3.5.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Users should upgrade Apache log4net to version 3.5.0 or later, where this issue is fixed. No other mitigations are indicated. Patch status is confirmed by the vendor advisory stating the fix is in 3.5.0.

Description

CVE-2026-105241 is a medium severity vulnerability in Apache log4net affecting versions from 1.2.9 up to but not including 3.5.0. It involves improper handling of Unicode encoding in the SmtpPickupDirAppender component. Specifically, when the mail file writer encounters content it cannot encode, such as an unpaired UTF-16 surrogate, it throws an error causing all buffered events in the batch to be discarded and potentially leaving a truncated mail file in the pickup directory. This can allow an attacker who controls log message content to suppress logging of other events. The issue is fixed in version 3.5.0.

References

Community reviews

Loading reviews…