CVE-2016-7543
bash: Specially crafted SHELLOPTS+PS4 variables allows command substitution
Severity
ModerateRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · September 16, 2016
Updated · May 13, 2026
Description
An arbitrary command injection flaw was found in the way bash processed the SHELLOPTS and PS4 environment variables. A local, authenticated attacker could use this flaw to exploit poorly written setuid programs to elevate their privileges under certain circumstances.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 7CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 · 6.9AV:L/AC:M/Au:N/C:C/I:C/A:C
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')