{"id":"CVE-2025-54813","aliases":["DEBIAN-CVE-2025-54813","DLA-4322-1","EUVD-2025-25622","GHSA-68p3-h5c2-5hcr","UBUNTU-CVE-2025-54813"],"status":"published","title":"Apache Log4cxx: Improper escaping with JSONLayout","description":"Improper Output Neutralization for Logs vulnerability in Apache Log4cxx.\n\nWhen 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.\n\nThis issue affects Apache Log4cxx: before 1.5.0.\n\nUsers are recommended to upgrade to version 1.5.0, which fixes the issue.","severity":{"version":"4.0","score":6.3,"vector":"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.0135,"percentile":0.71705,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-117"],"published":"2025-08-22T18:45:42Z","modified":"2026-10-28T10:59:53Z","fixes":[{"ecosystem":"Debian:12","package":"log4cxx","fixed_in":["1.0.0-1+deb12u1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"log4cxx","fixed_in":["1.4.0-1+deb13u1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"log4cxx","fixed_in":["1.4.0-1.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"log4cxx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0-1+deb12u1"}]}],"versions":["1.0.0-1"]},{"source":"osv","ecosystem":"Debian:13","package":"log4cxx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0-1+deb13u1"}]}],"versions":["1.4.0-1"]},{"source":"osv","ecosystem":"Debian:14","package":"log4cxx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0-1.1"}]}],"versions":["1.4.0-1"]},{"source":"osv","ecosystem":"Debian:11","package":"log4cxx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.0-2+deb11u1"}]}],"versions":["0.11.0-2"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"log4cxx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.0-1.2ubuntu3"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"log4cxx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.0-9ubuntu1","0.10.0-9ubuntu2","0.10.0-10ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"log4cxx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.0-12ubuntu1","0.10.0-13ubuntu1","0.10.0-13ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"log4cxx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.0-15ubuntu1","0.10.0-15ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"log4cxx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.0-2ubuntu1","0.11.0-3ubuntu2","0.12.1-4"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"log4cxx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.0-1","1.1.0-1build1","1.1.0-1build2","1.1.0-1build3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"log4cxx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.1-1","1.4.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"log4cxx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.0-1","1.5.0-1"]}],"products":[{"vendor":"apache","product":"log4cxx"},{"vendor":"apache software foundation","product":"apache log4cxx"}],"references":[{"url":"https://logging.apache.org/security.html#CVE-2025-54813","tags":["vendor-advisory","Vendor Advisory","advisory","report"]},{"url":"https://github.com/apache/logging-log4cxx/pull/512","tags":["patch","Issue Tracking","Patch","fix","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00002.html","tags":["web"]},{"url":"http://www.openwall.com/lists/oss-security/2025/08/22/3","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54813","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-68p3-h5c2-5hcr"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54813.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-54813","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-54813","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-54813","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-54813","title":"Apache Log4cxx: Improper escaping with JSONLayout","description":"Improper Output Neutralization for Logs vulnerability in Apache Log4cxx.\n\nWhen 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.\n\nThis issue affects Apache Log4cxx: before 1.5.0.\n\nUsers are recommended to upgrade to version 1.5.0, which fixes the issue.","status":"published","published":"2025-08-22T18:45:42.611Z","modified":"2025-11-04T21:12:54.283Z","cvss":[{"version":"4.0","score":6.3,"vector":"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","level":"medium","assessor":"cna"}],"cwes":["CWE-117"],"updated_at":"2026-11-02T14:32:27.603809Z"}],"euvd":[{"id":"EUVD-2025-25622","description":"Improper Output Neutralization for Logs vulnerability in Apache Log4cxx.\n\nWhen 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.\n\nThis issue affects Apache Log4cxx: before 1.5.0.\n\nUsers are recommended to upgrade to version 1.5.0, which fixes the issue.","status":"published","published":"2025-08-22T18:45:42Z","modified":"2025-11-04T21:12:54Z","cvss":[{"version":"4.0","score":6.3,"vector":"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","level":"medium"}],"updated_at":"2026-11-02T19:49:21.143143Z"}],"ghsa":[{"id":"GHSA-68p3-h5c2-5hcr","title":"Improper Output Neutralization for Logs vulnerability in Apache Log4cxx.\n\nWhen using JSONLayout,...","description":"Improper Output Neutralization for Logs vulnerability in Apache Log4cxx.\n\nWhen 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.\n\nThis issue affects Apache Log4cxx: before 1.5.0.\n\nUsers are recommended to upgrade to version 1.5.0, which fixes the issue.","status":"published","published":"2025-08-22T21:31:16Z","modified":"2025-11-05T00:32:30Z","cvss":[{"version":"4.0","score":6.3,"vector":"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","level":"medium"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-117"],"updated_at":"2026-11-02T15:04:39.50413Z"}],"nvd":[{"id":"CVE-2025-54813","description":"Improper Output Neutralization for Logs vulnerability in Apache Log4cxx.\n\nWhen 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.\n\nThis issue affects Apache Log4cxx: before 1.5.0.\n\nUsers are recommended to upgrade to version 1.5.0, which fixes the issue.","status":"published","published":"2025-08-22T19:15:40.003Z","modified":"2026-06-17T09:40:45.287Z","cvss":[{"version":"4.0","score":6.3,"vector":"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","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"}],"cwes":["CWE-117"],"updated_at":"2026-11-02T14:11:25.261243Z"}],"osv":[{"id":"CVE-2025-54813","title":"Apache Log4cxx: Improper escaping with JSONLayout","description":"Improper Output Neutralization for Logs vulnerability in Apache Log4cxx.\n\nWhen 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.\n\nThis issue affects Apache Log4cxx: before 1.5.0.\n\nUsers are recommended to upgrade to version 1.5.0, which fixes the issue.","status":"published","published":"2025-08-22T18:45:42.611Z","modified":"2026-10-28T10:59:53.107669743Z","cvss":[{"version":"4.0","score":6.3,"vector":"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","level":"medium"}],"cwes":["CWE-117"],"updated_at":"2026-11-02T15:44:50.863921Z"},{"id":"DEBIAN-CVE-2025-54813","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.","status":"published","published":"2025-08-22T19:15:40.003Z","modified":"2026-09-01T20:05:54.661925102Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:47.378563Z"},{"id":"UBUNTU-CVE-2025-54813","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.","status":"published","published":"2025-08-22T19:15:00Z","modified":"2026-05-20T16:23:36.622487767Z","cvss":[{"version":"4.0","score":6.3,"vector":"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","level":"medium"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T16:55:50.817402Z"},{"id":"DLA-4322-1","title":"log4cxx - security update","status":"published","published":"2025-10-05T00:00:00Z","modified":"2025-10-05T00:00:00Z","updated_at":"2026-11-02T15:46:12.7027Z"}]}}
