CVE-2025-41259

NameCVE-2025-41259
DescriptionSWUpdate 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4864-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
swupdate (PTS)bookworm2022.12+dfsg-4+deb12u2vulnerable
bookworm (security)2022.12+dfsg-4+deb12u3fixed
trixie2024.12.1+dfsg-3+deb13u2vulnerable
forky, sid2026.05.1+git20261001+dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
swupdatesourcebookworm2022.12+dfsg-4+deb12u3DLA-4864-1
swupdatesource(unstable)2026.05+dfsg-1

Notes

[trixie] - swupdate <no-dsa> (Minor issue)
[bullseye] - swupdate <postponed> (Minor issue)
Fixed by: https://github.com/sbabic/swupdate/commit/f4bd64260e233e207354d68d572b1cbc3e63689d (2026.05)

Search for package or bug name: Reporting problems