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
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v4: 6.3
- EPSS exploit prediction: 1% (65th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-25622
- Weakness: CWE-117
- Affected product: Apache Log4cxx
- Published:
- Last modified:
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
- https://github.com/apache/logging-log4cxx/pull/512
- https://logging.apache.org/security.html#CVE-2025-54813
- http://www.openwall.com/lists/oss-security/2025/08/22/3
- https://lists.debian.org/debian-lts-announce/2025/10/msg00002.html
Affected products (1)
- cpe:2.3:a:apache:log4cxx:*:*:*:*:*:*:*:*
More vulnerabilities in Apache Log4cxx
- CVE-2023-31038 — High (CVSS 8.8): SQL injection in Log4cxx when using the ODBC appender to send log messages to a database. No fields sent to the…
- CVE-2025-54812 — Medium (CVSS 5.4): Improper Output Neutralization for Logs vulnerability in Apache Log4cxx. When using HTMLLayout, logger names are not…
- CVE-2026-40023 — Medium (CVSS 5.3): Apache Log4cxx's XMLLayout https://logging.apache.org/log4cxx/1.7.0/classlog4cxx_1_1xml_1_1XMLLayout.html , in…
All CVEs affecting Apache Log4cxx →
Other CWE-117 (Improper Output Neutralization for Logs) vulnerabilities
- CVE-2023-46322 — Critical (CVSS 9.8): iTermSessionLauncher.m in iTerm2 before 3.5.0beta12 does not sanitize ssh hostnames in URLs. The hostname's initial…
- CVE-2023-46321 — Critical (CVSS 9.8): iTermSessionLauncher.m in iTerm2 before 3.5.0beta12 does not sanitize paths in x-man-page URLs. They may have shell…
- CVE-2024-0095 — Critical (CVSS 9.0): NVIDIA Triton Inference Server for Linux and Windows contains a vulnerability where a user can inject forged logs and…
- CVE-2024-25047 — High (CVSS 8.6): IBM Cognos Analytics 11.2.0 through 11.2.4 and 12.0.0 through 12.0.2 is vulnerable to injection attacks in application…
- CVE-2025-57564 — High (CVSS 8.2): CubeAPM nightly-2025-08-01-1 allow unauthenticated attackers to inject arbitrary log entries into production systems…
- CVE-2026-10745 — High (CVSS 7.9): Improper output neutralization for logs vulnerability in upKeeper Solutions upKeeper Instant Privilege Access on…
Browse all CWE-117 (Improper Output Neutralization for Logs) vulnerabilities →