{"id":"UBUNTU-CVE-2025-41259","details":"SWUpdate before 2026.05 is affected by a time-of-check time-of-use (TOCTOU) race condition that allows local unprivileged attackers to escalate privileges to root or install untrusted contents using a signed update.","modified":"2026-06-12T09:04:00.725363850Z","published":"2026-06-03T13:16:00Z","upstream":["CVE-2025-41259"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-41259"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-41259"}],"affected":[{"package":{"name":"swupdate","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/swupdate?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2020.11-2","2021.04-1.1","2021.04-2","2021.04-2build1","2021.11-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2021.11-1","binary_name":"libswupdate0.1"},{"binary_version":"2021.11-1","binary_name":"lua-swupdate"},{"binary_name":"swupdate","binary_version":"2021.11-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-41259.json"}},{"package":{"name":"swupdate","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/swupdate?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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_name":"libswupdate0.1","binary_version":"2023.12.1+dfsg-1ubuntu5"},{"binary_name":"lua-swupdate","binary_version":"2023.12.1+dfsg-1ubuntu5"},{"binary_name":"swupdate","binary_version":"2023.12.1+dfsg-1ubuntu5"},{"binary_version":"2023.12.1+dfsg-1ubuntu5","binary_name":"swupdate-www"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-41259.json"}},{"package":{"name":"swupdate","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/swupdate?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2024.12.1+dfsg-1build2","2024.12.1+dfsg-2","2024.12.1+dfsg-3","2025.05+dfsg-2ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"2025.05+dfsg-2ubuntu1","binary_name":"libswupdate0.1"},{"binary_version":"2025.05+dfsg-2ubuntu1","binary_name":"lua-swupdate"},{"binary_version":"2025.05+dfsg-2ubuntu1","binary_name":"swupdate"},{"binary_name":"swupdate-www","binary_version":"2025.05+dfsg-2ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-41259.json"}},{"package":{"name":"swupdate","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/swupdate?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"},{"binary_version":"2025.12+dfsg-4ubuntu1","binary_name":"lua-swupdate"},{"binary_version":"2025.12+dfsg-4ubuntu1","binary_name":"swupdate"},{"binary_name":"swupdate-www","binary_version":"2025.12+dfsg-4ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-41259.json"}}],"schema_version":"1.7.5","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"},{"type":"Ubuntu","score":"medium"}]}