Memory-Safe Sudo-rs To Become Default In Ubuntu 25.10

Rust-y Linux Is A Good Thing
Ubuntu has a fairly large announcement that may not be terribly exciting for many, will help many security specialists sleep better at night. The current Sudo command is vulnerable to several privilege escalation vulnerabilities, stemming from it’s C and C++ roots. Certain processes can be abused to trigger things like dangling pointers and use-after-free errors which hackers can take advantage of, and Sudo as it exists now does not enforce single ownership. All in all, moving to Sudo-rs is a good step forward in securing one of the major causes of crashes and unauthorized access to Linux based devices.
All is not perfect, the Rust programming language is not necessarily installed on all Linux distributions by default and if you wish to switch you may need to recompile your kernel. In many cases it is a simple install, but there are always custom builds to worry about. There is work to be done to ensure compatibility with NOEXEC, control of AppArmor profiles and, as of now, sudoedit is not compatible. The team at the Trifecta Tech Foundation is working on those challenges, as well as adding support for Linux Kernels older than version 5.9.
You can test Sudo-rs on your own now if you want to see what effect it has on your systems, before the release of Ubuntu 25.10.
The decision to adopt sudo-rs is in line with Canonical's commitment to Carefully But Purposefully increase the resilience of critical system software, by adopting Rust. Rust is a programming language with strong memory safety guarantees that eliminates many of the vulnerabilities that have historically plagued traditional C-based software.
More Tech News From Around The Web
- Hackers exploit OttoKit WordPress plugin flaw to add admin accounts @ Bleeping Computer
- Windows 11 24H2 now ‘broadly available’ … complete with yet another ‘known issue’ @ The Register
- Play ransomware exploited Windows logging flaw in zero-day attacks @ Bleeping Computer
- Apps like Kindle are already taking advantage of court-mandated iOS App Store changes @ Ars Technica
- Dangerous clear-air turbulence is worsening due to global warming @ Ars Technica
- FYI: Most AI spending driven by FOMO, not ROI, CEOs tell IBM, LOL @ The Register
- The OCP DC-SCM HFF is Taking Over @ ServeTheHome