Ubuntu Notice USN-9358-1 Patches Several Apache Log4cxx Flaws Including CVE-2025-54812 and CVE-2025-54813
The Ubuntu Security Notice USN-9358-1 covers several fixed issues in Apache Log4cxx, including two logging flaws tracked as CVE-2025-54812 and CVE-2025-54813.
ApacheWebVulnerabilitiesKey points
- USN-9358-1 covers several fixed security issues in Apache Log4cxx.
- CVE-2025-54812 concerns HTMLLayout not escaping logger names, which may enable cross-site scripting when untrusted data is used as a logger name.
- CVE-2025-54813 concerns JSONLayout not escaping certain non-printable characters, which could lead log-consuming applications to misread entries.
- According to the notice, the JSONLayout issue affects only Ubuntu 22.04 LTS and 24.04 LTS.
The Ubuntu Security Notice USN-9358-1 describes several security issues fixed in Apache Log4cxx, a logging library. According to the notice, one flaw, tracked as CVE-2025-54812, involves the HTMLLayout component, which does not escape logger names. If an application supplies untrusted data as a logger name, the notice says cross-site scripting may be possible against a person who opens the generated HTML log file. A second flaw, tracked as CVE-2025-54813, involves the JSONLayout component, which does not escape certain non-printable characters. The notice says this could cause applications that read these logs to misinterpret the logged information. According to the notice, the JSONLayout issue affects only Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. Per the notice, a regular system upgrade delivers the changes, and installing the package versions it lists resolves the problem. The exact package versions are not repeated in this summary and should be taken from the original notice.
What to do
- Apply the standard system update that carries the package versions listed in USN-9358-1.
- Check the original Ubuntu notice for the exact fixed package versions, which are not stated in this summary.
Original report
“USN-9358-1: Apache Log4cxx vulnerabilities”
It was discovered that Apache Log4cxx did not properly escape logger names when using HTMLLayout. If an application used untrusted data as a logger name, an attacker could possibly use this issue to perform cross-site scripting attacks when a user viewed the generated HTML log file. (CVE-2025-54812) It was discovered that Apache Log4cxx did not properly escape certain non-printable characters whe…
Vulnerabilities mentioned
- CVE-2025-54812 Low
- GHSA-5w3m-mfwg-9f8r / CVE-2026-118513 — Symfony: X509Authenticator and X509AuthenticationListener Read Escaped RFC 2253 Commas and Bare Slashes Inside a DN Value as RDN Boundaries
- Canadian Cyber Centre Warns of Apache Struts Vulnerability Affecting Versions Up to 2.5.33, 6.12.0 and 7.4.0
- Apache NiFi CVE-2026-116636: CSRF gap affects client-certificate logins, fixed in 2.13.0
- Apache NiFi Flaw Lets Users Run Arbitrary Code via Jolt Transform Preview
- Apache NiFi JoltTransformJSON UI Flaw Can Leak Process Environment Data