CVEfocus › CVE database › CVE-2016-9401

CVE-2016-9401

CVSS 6.2 MediumEPSS 0.4% (higher than 37% of CVEs)Published 2017-01-23Updated 2025-08-06Assigner: mitre

popd in bash might allow local users to bypass the restricted shell and cause a use-after-free via a crafted address.

CWE-416

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

14Fixed
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04bashFixed4.4-5ubuntu1UBUNTU-CVE-2016-9401
Ubuntu 16.04bashFixed4.3-14ubuntu1.2UBUNTU-CVE-2016-9401
Ubuntu 14.04bashFixed4.3-7ubuntu1.7UBUNTU-CVE-2016-9401
Debian 14bashFixed4.4-3DEBIAN-CVE-2016-9401
Debian 13bashFixed4.4-3DEBIAN-CVE-2016-9401
Debian 12bashFixed4.4-3DEBIAN-CVE-2016-9401
Red Hat Enterprise Linux 7bashFixed0:4.2.46-28.el7RHSA-2017:1931
Red Hat Enterprise Linux 7bash-docFixed0:4.2.46-28.el7RHSA-2017:1931
Red Hat Enterprise Linux 6bashFixed0:4.1.2-48.el6RHSA-2017:0725
Red Hat Enterprise Linux 6bash-docFixed0:4.1.2-48.el6RHSA-2017:0725
Red Hat Enterprise Linux 5bashWill not fix
Will not fix
Alpine Linux 3.5bashFixed4.3.46-r5ALPINE-CVE-2016-9401
Alpine Linux 3.4bashFixed4.3.42-r5ALPINE-CVE-2016-9401
Alpine Linux 3.3bashFixed4.3.42-r5ALPINE-CVE-2016-9401
Alpine Linux 3.2bashFixed4.3.33-r2ALPINE-CVE-2016-9401

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.