CVE-2025-54813
published medium CVSS 4.0 · 6.3Apache Log4cxx: Improper escaping with JSONLayout
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Log4cxx0.11.0 to < 1.5.0 · Other versions: unaffected | Affected | Not stated | apache |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bullseye | log4cxx | Advisory build | 0.11.0-2+deb11u1 | DLA-4322-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- apache · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Log4cxx | 0.11.0 to < 1.5.0 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
1- CWE-117 CWE-117 Improper Output Neutralization for Logs
References
4Provider assertions
3apache · cna
Apache Log4cxx: Improper escaping with JSONLayout
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e863e9f7df4d3c327d93c855bff2580fc4e29652edad5e0d17c154b32ca99511
- Ingested
- 23 Sep 2026, 08:53:16 UTC
- Source record
- Official CVE record