CVE-2025-54813

published 22 Aug 2025 · updated 4 Nov 2025

Apache Log4cxx: Improper escaping with JSONLayout

6.3MediumCVSS 6.3EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 1.5.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation>=0.11.0 <1.5.01.5.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-54813 severity on Zeptric[![CVE-2025-54813](https://zeptric.io/badge/cve/CVE-2025-54813.svg)](https://zeptric.io/cve/CVE-2025-54813)