CVE-2025-54813
MEDIUM 6.3CVSS 4.0Improper 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.
- Published
- 22 Aug 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-117
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@apache.org (Secondary) | CVSS 4.0 | MEDIUM 6.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | log4cxxcpe:2.3:a:apache:log4cxx:*:*:*:*:*:*:*:* |
< 1.5.0 | 1.5.0 |
References
- https://github.com/apache/logging-log4cxx/pull/512 · Issue Tracking, Patch
- https://logging.apache.org/security.html#CVE-2025-54813 · Vendor Advisory
- http://www.openwall.com/lists/oss-security/2025/08/22/3
- https://lists.debian.org/debian-lts-announce/2025/10/msg00002.html
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 22 Aug 2025)