{"id":"USN-9150-1","summary":"swupdate vulnerabilities","details":"It was discovered that SWUpdate did not verify that a path was a directory\nbefore cleaning it up, leading to a race condition. A local attacker could\npossibly use this issue to escalate privileges or install untrusted content\nusing a signed update. (CVE-2025-41259)\n\nIt was discovered that SWUpdate used untrusted certificates embedded in CMS\nsignatures when building the certificate chain. An attacker holding a\nsigning key from another intermediate certificate authority under the same\nroot could possibly use this issue to install malicious updates. After this\nupdate, SWUpdate ignores certificates embedded in CMS signatures. This\nissue only affected Ubuntu 22.04 LTS and Ubuntu 26.04 LTS.\n(CVE-2026-109399)","modified":"2026-11-18T14:28:22.784070339Z","published":"2026-11-17T17:18:22Z","related":["UBUNTU-CVE-2025-41259","UBUNTU-CVE-2026-109399"],"upstream":["CVE-2025-41259","CVE-2026-109399","UBUNTU-CVE-2025-41259","UBUNTU-CVE-2026-109399"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9150-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-41259"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-109399"}],"affected":[{"package":{"name":"swupdate","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/swupdate?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2021.11-1ubuntu0.1~esm1"}]}],"versions":["2020.11-2","2021.04-1.1","2021.04-2","2021.04-2build1","2021.11-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libswupdate0.1","binary_version":"2021.11-1ubuntu0.1~esm1"},{"binary_name":"lua-swupdate","binary_version":"2021.11-1ubuntu0.1~esm1"},{"binary_version":"2021.11-1ubuntu0.1~esm1","binary_name":"swupdate"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:22.04:LTS","cves":[{"id":"CVE-2025-41259","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"score":"medium","type":"Ubuntu"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2026-109399"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9150-1.json"}},{"package":{"name":"swupdate","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/swupdate?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2023.12.1+dfsg-1ubuntu5+esm1"}]}],"versions":["2023.05+dfsg-3","2023.05+dfsg-4","2023.05+dfsg-4build1","2023.05+dfsg-5","2023.12+dfsg-1","2023.12.1+dfsg-1ubuntu1","2023.12.1+dfsg-1ubuntu4","2023.12.1+dfsg-1ubuntu5"],"ecosystem_specific":{"binaries":[{"binary_version":"2023.12.1+dfsg-1ubuntu5+esm1","binary_name":"libswupdate0.1"},{"binary_name":"lua-swupdate","binary_version":"2023.12.1+dfsg-1ubuntu5+esm1"},{"binary_version":"2023.12.1+dfsg-1ubuntu5+esm1","binary_name":"swupdate"},{"binary_name":"swupdate-www","binary_version":"2023.12.1+dfsg-1ubuntu5+esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:24.04:LTS","cves":[{"severity":[{"score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2025-41259"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9150-1.json"}},{"package":{"name":"swupdate","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/swupdate?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2025.12+dfsg-4ubuntu1+esm1"}]}],"versions":["2025.05+dfsg-2ubuntu1","2025.05+dfsg-3ubuntu1","2025.12+dfsg-1ubuntu1","2025.12+dfsg-2ubuntu1","2025.12+dfsg-3ubuntu1","2025.12+dfsg-4ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libswupdate0.1","binary_version":"2025.12+dfsg-4ubuntu1+esm1"},{"binary_name":"lua-swupdate","binary_version":"2025.12+dfsg-4ubuntu1+esm1"},{"binary_name":"swupdate","binary_version":"2025.12+dfsg-4ubuntu1+esm1"},{"binary_version":"2025.12+dfsg-4ubuntu1+esm1","binary_name":"swupdate-www"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-9150-1.json","cves_map":{"cves":[{"id":"CVE-2025-41259","severity":[{"score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2026-109399","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:Pro:26.04:LTS"}}}],"schema_version":"1.9.2"}