Skip to main content
VulnerabilityPublished Updated

CVE-2025-54812: Apache Log4cxx · Improper Output Neutralization for Logs Vulnerability

Affects log4cxxSource GCVE Database

0
Compare
Authoritative record:CVE-2025-54812· Low 2.1

Not known to be exploited · CVSS 2.1 Low · fixed in 1.5.0 : update log4cxx when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
2.1Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (apache)CVSS 4.02.1
EPSS
1.4% chance of exploitation in 30 days – higher than 74% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.5.0
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Aug 2025

  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 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSlog4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=resoluteOther threatsAffected
  • =1.4.0-1
  • =1.5.0-1
Fixed in–
Ubuntu 25.10log4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=questingOther threatsAffected
  • =1.3.1-1
  • =1.4.0-1
Fixed in–
Ubuntu 24.04 LTSlog4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=nobleOther threatsAffected
  • 1.1.0-1 – 1.1.0-1build3
4 affected builds
Fixed in–
Ubuntu 22.04 LTSlog4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=jammyOther threatsAffected
  • =0.11.0-2ubuntu1
  • =0.11.0-3ubuntu2
  • =0.12.1-4
Fixed in–
Ubuntu 20.04 LTSlog4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=focalOther threatsAffected
  • =0.10.0-15ubuntu1
  • =0.10.0-15ubuntu2
Fixed in–
Ubuntu 18.04 LTSlog4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=bionicOther threatsAffected
  • =0.10.0-12ubuntu1
  • =0.10.0-13ubuntu1
  • =0.10.0-13ubuntu2
Fixed in–

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

Description

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.

References

Community reviews

Loading reviews…