CVE-2025-54813: Apache Log4cxx: Improper escaping with JSONLayout
Improper Output Neutralization for Logs vulnerability in Apache Log4cxx.
When using JSONLayout, not all payload bytes are properly escaped. If an attacker-supplied message contains certain non-printable characters, these will be passed along in the message and written out as part of the JSON message. This may prevent applications that consume these logs from correctly interpreting the information within them.
This issue affects Apache Log4cxx: before 1.5.0.
Users are recommended to upgrade to version 1.5.0, which fixes the issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Apache Log4cxxto a version that resolves this vulnerability.Fixed in 1.5.0
Event History
Frequently Asked Questions
What is the severity of CVE-2025-54813?
CVE-2025-54813 has a medium severity rating due to improper output neutralization for logs in Apache Log4cxx.
How do I fix CVE-2025-54813?
To fix CVE-2025-54813, update Apache Log4cxx to version 1.5.0 or a later version.
What software is affected by CVE-2025-54813?
CVE-2025-54813 affects Apache Log4cxx versions prior to 1.5.0.
What kind of vulnerability is CVE-2025-54813?
CVE-2025-54813 is classified as an improper output neutralization for logs vulnerability.
Can CVE-2025-54813 lead to other security issues?
Yes, CVE-2025-54813 could potentially allow attackers to inject malicious payloads through non-printable characters.