CVE catalog

CVE-2025-54812

log4cxx: CVE-2025-54812

[CVE catalog]

Severity
Medium · CVSS 5.4CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
1.24% · Oct 25, 2026

Improper Output Neutralization for Logs vulnerability in Apache Log4cxx. When using HTMLLayout, logger names are not properly escaped when writing out to the HTML file. If untrusted data is used to retrieve the name of a logger, an attacker could theoretically inject HTML or Javascript in order to hide information from logs or steal data from the user. In order to activate this, the following sequence must occur: * Log4cxx is configured to use HTMLLayout. * Logger name comes from an untrusted string * Logger with compromised name logs a message * User opens the generated HTML log file in their browser, leading to potential XSS Because logger names are generally constant strings, we assess the impact to users as LOW This issue affects Apache Log4cxx: before 1.5.0. Users are recommended to upgrade to version 1.5.0, which fixes the issue.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlog4cxxsid1.5.0-1fixed
Debianlog4cxxforky1.5.0-1fixed
Debianlog4cxxtrixie1.4.0-1+deb13u1fixed
Debianlog4cxxbookworm1.0.0-1+deb12u1fixed
Ubuntulog4cxx14.040.10.0-1.2ubuntu3vulnerable
Ubuntulog4cxx16.040.10.0-9ubuntu1vulnerable
Ubuntulog4cxx16.040.10.0-9ubuntu2vulnerable
Ubuntulog4cxx16.040.10.0-10ubuntu1vulnerable
Ubuntulog4cxx18.040.10.0-12ubuntu1vulnerable
Ubuntulog4cxx18.040.10.0-13ubuntu1vulnerable
Ubuntulog4cxx18.040.10.0-13ubuntu2vulnerable
Ubuntulog4cxx20.040.10.0-15ubuntu1vulnerable
Ubuntulog4cxx20.040.10.0-15ubuntu2vulnerable
Ubuntulog4cxx22.040.11.0-2ubuntu1vulnerable
Ubuntulog4cxx22.040.11.0-3ubuntu2vulnerable
Ubuntulog4cxx22.040.12.1-4vulnerable
Ubuntulog4cxx24.041.1.0-1vulnerable
Ubuntulog4cxx24.041.1.0-1build1vulnerable
Ubuntulog4cxx24.041.1.0-1build2vulnerable
Ubuntulog4cxx24.041.1.0-1build3vulnerable
Ubuntulog4cxx25.101.3.1-1vulnerable
Ubuntulog4cxx25.101.4.0-1vulnerable
Ubuntulog4cxx26.041.4.0-1vulnerable
Ubuntulog4cxx26.041.5.0-1vulnerable
Opensuselog4cxxtumbleweed1.5.0-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlog4cxxsourcesid1.4.0-1.1not yet assignedNot reported[1111879]
Debianlog4cxxsourceforky1.4.0-1.1not yet assignedNot reported[1111879]
Debianlog4cxxsourcetrixie1.4.0-1+deb13u1not yet assignedNot reported[1111879]
Debianlog4cxxsourcebookworm1.0.0-1+deb12u1not yet assignedNot reported[1111879]
Opensuselog4cxxrpmtumbleweed1.5.0-1.1Not reportedOPENSUSE-SU-2025:15549-1Not reported

[Debian bug #1111879]

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • [liblog4cxx15]Unknown

    Source package: [log4cxx]

    Details (1)
    • 1.8.0-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.5.0-1.1

      Version impact unknown

      dsa · log4cxx · opensuse · tumbleweed

  • Source package: [log4cxx]

    Details (1)
    • 1.8.0-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.5.0-1.1

      Version impact unknown

      dsa · log4cxx · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • Source package: [log4cxx]

    Details (2)
    • 1.0.0-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.0.0-1+deb12u1

      dsa · log4cxx · debian · bookworm; dsa · log4cxx · debian · 12

    • 1.0.0-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.0.0-1+deb12u1

      dsa · log4cxx · debian · bookworm; dsa · log4cxx · debian · 12

  • Source package: [log4cxx]

    Details (2)
    • 1.0.0-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.0.0-1+deb12u1

      dsa · log4cxx · debian · bookworm; dsa · log4cxx · debian · 12

    • 1.0.0-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.0.0-1+deb12u1

      dsa · log4cxx · debian · bookworm; dsa · log4cxx · debian · 12

  • Source package: [log4cxx]

    Details (2)
    • 1.0.0-1+deb12u1 · all · bookworm

      Fixed · Fixed: 1.0.0-1+deb12u1

      dsa · log4cxx · debian · bookworm; dsa · log4cxx · debian · 12

    • 1.0.0-1+deb12u1 · all · bookworm

      Fixed · Fixed: 1.0.0-1+deb12u1

      dsa · log4cxx · debian · bookworm; dsa · log4cxx · debian · 12

[Debian 13 (Trixie)]

  • Source package: [log4cxx]

    Details (2)
    • 1.4.0-1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 1.4.0-1+deb13u1

      dsa · log4cxx · debian · 13

    • 1.4.0-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 1.4.0-1+deb13u1

      dsa · log4cxx · debian · 13

  • Source package: [log4cxx]

    Details (2)
    • 1.4.0-1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 1.4.0-1+deb13u1

      dsa · log4cxx · debian · 13

    • 1.4.0-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 1.4.0-1+deb13u1

      dsa · log4cxx · debian · 13

  • Source package: [log4cxx]

    Details (2)
    • 1.4.0-1+deb13u1 · all · trixie

      Fixed · Fixed: 1.4.0-1+deb13u1

      dsa · log4cxx · debian · 13

    • 1.4.0-1+deb13u1 · all · trixie

      Fixed · Fixed: 1.4.0-1+deb13u1

      dsa · log4cxx · debian · 13

Observed:

References