CVE-2025-54813

CVE-2025-54813 is a high-severity vulnerability in Apache Log4cxx with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-117.

Key facts

Description

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.

Frequently asked questions

What is CVE-2025-54813?
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.
How severe is CVE-2025-54813?
CVE-2025-54813 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity high, and availability none.
Is CVE-2025-54813 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (65th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-54813?
CVE-2025-54813 affects Apache Log4cxx. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-54813?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2025-54813 have an EU (EUVD) identifier?
Yes. CVE-2025-54813 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-25622.
When was CVE-2025-54813 published?
CVE-2025-54813 was published on 2025-08-22 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Apache Log4cxx

All CVEs affecting Apache Log4cxx →

Other CWE-117 (Improper Output Neutralization for Logs) vulnerabilities

Browse all CWE-117 (Improper Output Neutralization for Logs) vulnerabilities →