Critical Security Update for sudo Package: DSA-5954-1

sudo Updated 02 Oct 2025

Summary

30/06/2025
N/A
Yes i
Unrated
Not published

DSA-5954-1: sudo - security update. Affects sudo versions < 1.9.13p3-1+deb12u2. Fixed in 1.9.13p3-1+deb12u2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The sudo package is a widely used utility in Unix-like operating systems that allows a permitted user to execute a command as the superuser or another user, as specified by the security policy. It is essential for system administration and security management. The package is integral to maintaining system integrity and user permissions. However, vulnerabilities in sudo can lead to unauthorized access and privilege escalation, posing significant risks to system security.

Vulnerability Detail

The vulnerability identified as CVE-2025-32462 affects the sudo package, allowing attackers to exploit a flaw that could lead to unauthorized command execution with elevated privileges. This vulnerability arises from improper handling of certain input parameters, which could be manipulated by an attacker to gain access to restricted system functions. The ramifications of this vulnerability are severe, as it could allow malicious users to execute arbitrary commands, potentially compromising the entire system.

How To Fix

Minimum fixed version

1.9.13p3-1+deb12u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade sudo

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can restrict access to the sudo command by modifying the sudoers file to limit which users can execute commands with sudo privileges. This can be done by editing the file with 'visudo' and ensuring that only trusted users are granted sudo access.

Conclusion

The sudo package vulnerability CVE-2025-32462 poses a significant risk to system security, allowing unauthorized command execution. Users are strongly advised to update to the patched version to mitigate this risk. Implementing temporary workarounds can provide additional security until the update is applied.

See every vulnerability recorded for sudo →

Share this vulnerability

FAQ

CVE-2025-32462 can lead to unauthorized command execution, allowing attackers to gain elevated privileges and potentially compromise the system.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If immediate updates are not possible, consider restricting sudo access to trusted users as a temporary measure.

Regularly check for vulnerabilities, ideally on a weekly basis, to ensure your software remains secure and up-to-date.

Vulert monitors and alerts for open-source vulnerabilities in your software using just a manifest file like package-lock.json, providing real-time insights into potential risks.

Related vulnerabilities

Recent vulnerabilities recorded for sudo.

How To Fix

Minimum fixed version

1.9.13p3-1+deb12u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade sudo

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback