CVE-2025-41259SWUpdate Untrusted Script Execution via Signed Update TOCTOU
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | swupdate | Fix pending | 2025.12+dfsg-4ubuntu1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-41259 |
| Ubuntu 25.10 | swupdate | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-41259 | |
| Ubuntu 24.04 | swupdate | Fix pending | 2023.12.1+dfsg-1ubuntu5+esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-41259 |
| Ubuntu 22.04 | swupdate | Fix pending | 2021.11-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-41259 |
| Debian 14 | swupdate | Fixed | 2026.05+dfsg-1 | DEBIAN-CVE-2025-41259 |
| Debian 13 | swupdate | Fix pending | DEBIAN-CVE-2025-41259 | |
| Debian 12 | swupdate | Fixed | 2022.12+dfsg-4+deb12u3 | DEBIAN-CVE-2025-41259 |
What the vendor says
As published in the CVE record by sba-research, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- sbabic SWUpdate: affected: before 2026.05; fixed in
2026.05
Vendor advisories:
References
- https://github.com/sbaresearch/advisories/tree/public/2025/SBA-ADV-20251206-01_SWUpdate_Untrusted_Script_Execution_via_Signed_Update_TOCTOU
- https://github.com/sbabic/swupdate/commit/f4bd64260e233e207354d68d572b1cbc3e63689d
- https://github.com/sbabic/swupdate
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.