p PatchFirst

CVE-2026-129510

CVE-2026-129510 · Apache log4net: Culture-sensitive CDATA end search in XmlLayout hides later log events

CVSS 5.3 · Medium · EPSS 0.4% · 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 Output Neutralization for Logs vulnerability in the XmlLayout and XmlLayoutSchemaLog4J of Apache log4net.

Both layouts split a message holding the CDATA end marker into several CDATA sections, but searched for the marker with a culture-sensitive comparison. Ignorable characters or a combining mark around the marker made the search miss it, so the CDATA section stayed open. From 3.3.1 on, an XML parser then reads the following log events as part of that message; earlier versions leave the log file not well-formed. A party whose data reaches a log message could hide later log events from a consumer that parses the XML log.

This issue affects Apache log4net: from 1.2.9 before 3.6.0.

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

Published
Updated

Stack: system

Affected products and versions

  • apache log4net

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

    Update to 3.6.0

  • apache log4net

    Versions
    • ≥ 02e1e115435888485f2e28b414d267e39e799e07, < 80d955e8c8f1e9f094c2b3d1c142147ee8b8b805: 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 →