p PatchFirst

CVE-2026-105239

CVE-2026-105239 · Apache log4net: NUL character truncates EventLogAppender records

CVSS 5.3 · Medium · EPSS 1.0% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="log4net"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Improper Neutralization of Null Byte or NUL Character vulnerability in the EventLogAppender of Apache log4net.

A NUL character in logged content ended the Windows Event Log record at that point, so everything the layout rendered after it, including exception text and trailing fields, was silently not stored. A party whose data reaches a log message could hide the rest of that record. Only applications on Windows that use EventLogAppender are affected.

This issue affects Apache log4net: from 1.2.9 before 3.5.0.

Users are recommended to upgrade to version 3.5.0, which fixes the issue.

Published
Updated

Stack: system

Affected products and versions

  • apache log4net

    Versions
    • ≥ 1.2.9, < 3.5.0: Affected (semver)

    Update to 3.5.0

  • apache log4net

    Versions
    • ≥ 02e1e115435888485f2e28b414d267e39e799e07, < dc5855a0720c91590fd7a81d729ea01fdd69e000: Affected (git)

    No fix published

  • log4net Debian 13

    Versions
    • 1.2.10+dfsg-10
    • 1.2.10+dfsg-9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • log4net Debian 14

    Versions
    • 1.2.10+dfsg-10
    • 1.2.10+dfsg-9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • log4net Ubuntu 16.04 LTS

    Versions
    • 1.2.10+dfsg-6
    • 1.2.10+dfsg-7
    • 1.2.10+dfsg-7ubuntu0.16.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • log4net Ubuntu 18.04 LTS

    Versions
    • 1.2.10+dfsg-7
    • 1.2.10+dfsg-7ubuntu0.18.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • log4net Ubuntu 20.04 LTS

    Versions
    • 1.2.10+dfsg-7
    • 1.2.10+dfsg-7ubuntu0.20.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • log4net Ubuntu 22.04 LTS

    Versions
    • 1.2.10+dfsg-8
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • log4net Ubuntu 24.04 LTS

    Versions
    • 1.2.10+dfsg-8
    • 1.2.10+dfsg-9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • log4net Ubuntu 26.10

    Versions
    • 1.2.10+dfsg-9build1
    • 1.2.10+dfsg-10
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • log4net Ubuntu 26.04 LTS

    Versions
    • 1.2.10+dfsg-9
    • 1.2.10+dfsg-9build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →