Vulnerability in sudo - security update

sudo Updated 02 Oct 2025

Summary

14/11/2016
N/A
Yes i
Unrated
Not published

DLA-707-1: sudo - security update. Affects sudo versions < 1.8.5p2-1+nmu3+deb7u2. Fixed in 1.8.5p2-1+nmu3+deb7u2. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The sudo package is a widely used utility in the Debian 7 Wheezy ecosystem. It allows users to run programs with the security privileges of another user, typically the superuser. Sudo provides a means for administrators to delegate authority to users, allowing them to execute commands as root or other users. However, a security flaw has been discovered in sudo that could potentially allow a local user to bypass the noexec restriction and execute arbitrary commands with elevated privileges.

Vulnerability Detail

The vulnerability, identified as CVE-2016-7032 and CVE-2016-7076, arises from the sudo noexec restriction being bypassed when applications executed via sudo utilize certain C library functions with user-supplied arguments. Specifically, the system(), popen(), and wordexp() functions are affected. This flaw enables a local user with permission to run an application via sudo, despite the noexec restriction, to execute arbitrary commands with elevated privileges. The impact of this vulnerability is significant as it allows unauthorized users to gain unauthorized access and potentially compromise the system.

How To Fix

Minimum fixed version

1.8.5p2-1+nmu3+deb7u2

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

There is no known workaround for this vulnerability. It is essential to apply the security update promptly to mitigate the risk of exploitation.

Conclusion

The sudo package in Debian 7 Wheezy is vulnerable to a bypass of the noexec restriction, allowing local users to execute arbitrary commands with elevated privileges. To mitigate this risk, it is essential to upgrade the sudo package to version 1.8.5p2-1+nmu3+deb7u2 or later. Failure to address this vulnerability could result in unauthorized access and potential compromise of the system. For further assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for sudo →

Share this vulnerability

FAQ

The sudo package allows users to run programs with the security privileges of another user, typically the superuser. It is commonly used to delegate authority to users, enabling them to execute commands as root or other users.

A local user with permission to run an application via sudo, despite the noexec restriction, can exploit this vulnerability by utilizing certain C library functions with user-supplied arguments. By doing so, they can execute arbitrary commands with elevated privileges.

The impact of this vulnerability is significant as it allows unauthorized users to gain unauthorized access and potentially compromise the system.

No, there is no known workaround for this vulnerability. It is crucial to apply the security update as soon as possible.

To update the sudo package, you can use the package manager to install the latest version or manually download the updated package from the official Debian repository and install it.

Related vulnerabilities

Recent vulnerabilities recorded for sudo.

How To Fix

Minimum fixed version

1.8.5p2-1+nmu3+deb7u2

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