Skip to content
Fencer Intel
medium 6.2

CVE-2016-9401 json

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

published 2017-01-23 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-10211

cvss
6.2
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 36%
public exploits
0
none known

Summary

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

Patch / fix

  • gnu bash 4.4
  • bash Debian 14, Debian 13, Debian 12 4.4-3

debian advisories DEBIAN-CVE-2016-9401

  • bash Ubuntu 14.04 LTS 4.3-7ubuntu1.7
  • bash Ubuntu 16.04 LTS 4.3-14ubuntu1.2
  • bash Ubuntu 18.04 LTS 4.4-5ubuntu1

ubuntu advisories UBUNTU-CVE-2016-9401

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • bash RHEL 7 4.2.46-28.el7
  • bash RHEL 6 4.1.2-48.el6

red hat advisories RHSA-2017:1931RHSA-2017:0725

  • bash SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 3.2-147.35.1
  • bash SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +3 more 4.3-82.1

suse advisories SUSE-SU-2017:1337-1SUSE-SU-2017:1317-1

  • bash openSUSE Tumbleweed 7.0-92.1

opensuse advisories openSUSE-SU-2024:10106-1

  • bash Alpine 3.2 4.3.33-r2
  • bash Alpine 3.4, Alpine 3.3 4.3.42-r5
  • bash Alpine 3.5 4.3.46-r5

alpine advisories ALPINE-CVE-2016-9401

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-9401 updated cvss 3.3

bash: popd controlled free

  • Red Hat Enterprise Linux 5 bash
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client (v. 7) bash 4.2.46-28.el7 Red Hat Enterprise Linux Client Optional (v. 7) bash-doc 4.2.46-28.el7, bash-debuginfo 4.2.46-28.el7 Red Hat Enterprise Linux ComputeNode (v. 7) bash 4.2.46-28.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) bash-doc 4.2.46-28.el7, bash-debuginfo 4.2.46-28.el7
    fixed: vendor fix RHSA-2017:1931
  • Red Hat Enterprise Linux Desktop (v. 6) bash 4.1.2-48.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) bash-doc 4.1.2-48.el6, bash-debuginfo 4.1.2-48.el6 Red Hat Enterprise Linux HPC Node (v. 6) bash 4.1.2-48.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) bash-doc 4.1.2-48.el6, bash-debuginfo 4.1.2-48.el6 Red Hat Enterprise Linux Server (v. 6) bash 4.1.2-48.el6
    fixed: vendor fix RHSA-2017:0725
  • Red Hat Enterprise Linux Server (v. 7) bash 4.2.46-28.el7
    fixed: vendor fix RHSA-2017:1931
  • Red Hat Enterprise Linux Server Optional (v. 6) bash-doc 4.1.2-48.el6, bash-debuginfo 4.1.2-48.el6
    fixed: vendor fix RHSA-2017:0725
  • Red Hat Enterprise Linux Server Optional (v. 7) bash-doc 4.2.46-28.el7, bash-debuginfo 4.2.46-28.el7
    fixed: vendor fix RHSA-2017:1931
  • Red Hat Enterprise Linux Workstation (v. 6) bash 4.1.2-48.el6
    fixed: vendor fix RHSA-2017:0725
  • Red Hat Enterprise Linux Workstation (v. 7) bash 4.2.46-28.el7
    fixed: vendor fix RHSA-2017:1931
show 2 more
  • Red Hat Enterprise Linux Workstation Optional (v. 6) bash-doc 4.1.2-48.el6, bash-debuginfo 4.1.2-48.el6
    fixed: vendor fix RHSA-2017:0725
  • Red Hat Enterprise Linux Workstation Optional (v. 7) bash-doc 4.2.46-28.el7, bash-debuginfo 4.2.46-28.el7
    fixed: vendor fix RHSA-2017:1931

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
15 mo ago

Exploit prediction

0.42% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CISA ADP 3.1 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 2.1 AV:L/AC:L/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.