CVE-2025-54813: Apache Log4cxx: Improper escaping with JSONLayout

Published Aug 22, 2025
·
Updated

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

10 affected components
Apache Log4cxx<1.5.0
Apache Log4cxx<1.5.0
ubuntu/log4cxx*
ubuntu/log4cxx*
ubuntu/log4cxx*
ubuntu/log4cxx*
ubuntu/log4cxx*
ubuntu/log4cxx*
ubuntu/log4cxx*
ubuntu/log4cxx*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache Log4cxx to a version that resolves this vulnerability.

    Fixed in 1.5.0

Event History

Aug 22, 2025
CVE Published
via MITRE·06:45 PM
Data Sourced
via MITRE·06:45 PM
DescriptionWeakness
Data Sourced
via OSV·07:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness
Aug 26, 2025
Data Sourced
via NVD·09:16 PM
RemedyAffected Software
Updated
via NVD·09:16 PM
Severity
Nov 4, 2025
Event
via NVD·10:16 PM

Frequently Asked Questions

1

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.

2

How do I fix CVE-2025-54813?

To fix CVE-2025-54813, update Apache Log4cxx to version 1.5.0 or a later version.

3

What software is affected by CVE-2025-54813?

CVE-2025-54813 affects Apache Log4cxx versions prior to 1.5.0.

4

What kind of vulnerability is CVE-2025-54813?

CVE-2025-54813 is classified as an improper output neutralization for logs vulnerability.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203