All reports
Medium

bash: Specially crafted SHELLOPTS+PS4 variables allows command substitution

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2016-7543

Probability of exploitation in the next 30 days: 0.58%

FIRST EPSS · 2026-11-23

Description

Bash before 4.4 allows local users to execute arbitrary commands with root privileges via crafted SHELLOPTS and PS4 environment variables.

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.