ubuntu-cve-2025-54813
Vulnerability from osv_ubuntu
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": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblog4cxx10",
"binary_version": "0.10.0-1.2ubuntu3"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "log4cxx",
"purl": "pkg:deb/ubuntu/log4cxx@0.10.0-1.2ubuntu3?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.10.0-1.2ubuntu3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblog4cxx10v5",
"binary_version": "0.10.0-10ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "log4cxx",
"purl": "pkg:deb/ubuntu/log4cxx@0.10.0-10ubuntu1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.10.0-9ubuntu1",
"0.10.0-9ubuntu2",
"0.10.0-10ubuntu1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblog4cxx10v5",
"binary_version": "0.10.0-13ubuntu2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "log4cxx",
"purl": "pkg:deb/ubuntu/log4cxx@0.10.0-13ubuntu2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.10.0-12ubuntu1",
"0.10.0-13ubuntu1",
"0.10.0-13ubuntu2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblog4cxx10v5",
"binary_version": "0.10.0-15ubuntu2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "log4cxx",
"purl": "pkg:deb/ubuntu/log4cxx@0.10.0-15ubuntu2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.10.0-15ubuntu1",
"0.10.0-15ubuntu2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblog4cxx12",
"binary_version": "0.12.1-4"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "log4cxx",
"purl": "pkg:deb/ubuntu/log4cxx@0.12.1-4?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.11.0-2ubuntu1",
"0.11.0-3ubuntu2",
"0.12.1-4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblog4cxx15",
"binary_version": "1.1.0-1build3"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "log4cxx",
"purl": "pkg:deb/ubuntu/log4cxx@1.1.0-1build3?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.1.0-1",
"1.1.0-1build1",
"1.1.0-1build2",
"1.1.0-1build3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblog4cxx15",
"binary_version": "1.4.0-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "log4cxx",
"purl": "pkg:deb/ubuntu/log4cxx@1.4.0-1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.3.1-1",
"1.4.0-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "liblog4cxx15",
"binary_version": "1.5.0-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "log4cxx",
"purl": "pkg:deb/ubuntu/log4cxx@1.5.0-1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.4.0-1",
"1.5.0-1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2025-54813",
"modified": "2026-05-20T15:22:55Z",
"published": "2025-08-22T19:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-54813"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-54813"
},
{
"type": "REPORT",
"url": "https://logging.apache.org/security.html#CVE-2025-54813"
},
{
"type": "REPORT",
"url": "https://github.com/apache/logging-log4cxx/pull/512"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2025-54813"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.