CVE-2025-54812: Apache Log4cxx · Improper Output Neutralization for Logs Vulnerability
Affects log4cxxSource GCVE Database
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
Thin evidence
One scorer or none| CNA (apache) | CVSS 4.0 | 2.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:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSlog4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10log4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlog4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlog4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSlog4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSlog4cxxpkg:deb/ubuntu/log4cxx?arch=source&distro=bionicOther threats | Affected
| 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
- ubuntu.com/security/CVE-2025-54812 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-54812 (opens in a new tab)
- logging.apache.org/security.html (opens in a new tab)
- github.com/apache/logging-log4cxx/pull/509 (opens in a new tab)
- github.com/apache/logging-log4cxx/commit/1c599de956ae9eedd8b5e3f744bfb867c39e8bba (opens in a new tab)
- github.com/apache/logging-log4cxx/pull/514 (opens in a new tab)
- github.com/apache/logging-log4cxx/commit/36d829e9f6c3f9f4f9a42e22df326a9ed7b6e373 (opens in a new tab)