{"id":"USN-9358-1","summary":"log4cxx vulnerabilities","details":"It was discovered that Apache Log4cxx did not properly escape logger names\nwhen using HTMLLayout. If an application used untrusted data as a logger\nname, an attacker could possibly use this issue to perform cross-site\nscripting attacks when a user viewed the generated HTML log file.\n(CVE-2025-54812)\n\nIt was discovered that Apache Log4cxx did not properly escape certain\nnon-printable characters when using JSONLayout. An attacker could possibly\nuse this issue to cause applications that consume the logs to misinterpret\nthe logged information. This issue only affected Ubuntu 22.04 LTS and\nUbuntu 24.04 LTS. (CVE-2025-54813)","modified":"2026-12-02T15:28:40.465772741Z","published":"2026-12-01T21:10:04Z","related":["UBUNTU-CVE-2025-54812","UBUNTU-CVE-2025-54813"],"upstream":["CVE-2025-54812","CVE-2025-54813","UBUNTU-CVE-2025-54812","UBUNTU-CVE-2025-54813"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9358-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-54812"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-54813"}],"affected":[{"package":{"name":"log4cxx","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/log4cxx?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0-1.2ubuntu3+esm1"}]}],"versions":["0.10.0-1.2ubuntu3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_name":"liblog4cxx10","binary_version":"0.10.0-1.2ubuntu3+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9358-1.json","cves_map":{"cves":[{"id":"CVE-2025-54812","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","source":"CNA"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}],"ecosystem":"Ubuntu:Pro:14.04:LTS"}}},{"package":{"name":"log4cxx","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/log4cxx?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0-10ubuntu1+esm1"}]}],"versions":["0.10.0-9ubuntu1","0.10.0-9ubuntu2","0.10.0-10ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.10.0-10ubuntu1+esm1","binary_name":"liblog4cxx10v5"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[{"severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","source":"CNA"},{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"NVD","type":"CVSS_V3"},{"score":"medium","source":"SELF","type":"Ubuntu"}],"id":"CVE-2025-54812"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9358-1.json"}},{"package":{"name":"log4cxx","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/log4cxx?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0-13ubuntu2+esm1"}]}],"versions":["0.10.0-12ubuntu1","0.10.0-13ubuntu1","0.10.0-13ubuntu2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"liblog4cxx10v5","binary_version":"0.10.0-13ubuntu2+esm1"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2025-54812","severity":[{"source":"CNA","type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"NVD"},{"score":"medium","source":"SELF","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9358-1.json"}},{"package":{"name":"log4cxx","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/log4cxx?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0-15ubuntu2+esm1"}]}],"versions":["0.10.0-15ubuntu1","0.10.0-15ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.10.0-15ubuntu2+esm1","binary_name":"liblog4cxx10v5"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"id":"CVE-2025-54812","severity":[{"score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","source":"CNA","type":"CVSS_V4"},{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"NVD","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9358-1.json"}},{"package":{"name":"log4cxx","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/log4cxx?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1-4ubuntu0.1~esm1"}]}],"versions":["0.11.0-2ubuntu1","0.11.0-3ubuntu2","0.12.1-4"],"ecosystem_specific":{"binaries":[{"binary_name":"liblog4cxx12","binary_version":"0.12.1-4ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:22.04:LTS","cves":[{"severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","source":"CNA"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"NVD"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2025-54812"},{"id":"CVE-2025-54813","severity":[{"source":"CNA","type":"CVSS_V4","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"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"source":"SELF","type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9358-1.json"}},{"package":{"name":"log4cxx","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/log4cxx?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0-1ubuntu0.1~esm1"}]}],"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.1.0-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:24.04:LTS","cves":[{"id":"CVE-2025-54812","severity":[{"source":"CNA","type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"NVD"},{"source":"SELF","type":"Ubuntu","score":"medium"}]},{"severity":[{"type":"CVSS_V4","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","source":"CNA"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"NVD","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2025-54813"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9358-1.json"}}],"schema_version":"1.9.2"}