Skip to content
Noroxi
CVE-2016-9401· NVD / CVE Program· CNA mitre

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

MediumCVSS 5.5 · v3.1—No exploit Fix available
Published
Jan 23, 2017
Updated
Jun 16, 2026
EPSS
0.4% · 34th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.4%

CISA SSVC decision

Exploitation
proof of concept
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Affected systems

VendorProduct
gnubash
debiandebian linux
redhatenterprise linux desktop
redhatenterprise linux server
redhatenterprise linux server aus
redhatenterprise linux server eus
redhatenterprise linux server tus
redhatenterprise linux workstation

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux8.0
  • gnu bashbefore 4.4
  • gnu bash4.4
  • redhat enterprise linux desktop6.0
  • redhat enterprise linux desktop7.0
  • redhat enterprise linux server6.0
  • redhat enterprise linux server7.0
  • redhat enterprise linux server aus7.4
  • redhat enterprise linux server aus7.6
  • redhat enterprise linux server aus7.7
  • redhat enterprise linux server eus7.4
  • redhat enterprise linux server eus7.5
  • redhat enterprise linux server eus7.6
  • redhat enterprise linux server eus7.7
  • redhat enterprise linux server tus7.6
  • redhat enterprise linux server tus7.7
  • redhat enterprise linux workstation6.0
  • redhat enterprise linux workstation7.0

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.2bashbefore 4.3.33-r24.3.33-r2
Alpine:v3.3bashbefore 4.3.42-r54.3.42-r5
Alpine:v3.5bashbefore 4.3.46-r54.3.46-r5
Debian:12bashbefore 4.4-34.4-3
Debian:8bashbefore 4.3-11+deb8u24.3-11+deb8u2
openSUSE:Tumbleweedbashbefore 7.0-92.17.0-92.1
Red Hat:enterprise_linux:6::clientbashbefore 0:4.1.2-48.el60:4.1.2-48.el6
Red Hat:enterprise_linux:6::clientbash-debuginfobefore 0:4.1.2-48.el60:4.1.2-48.el6
Red Hat:enterprise_linux:6::clientbash-docbefore 0:4.1.2-48.el60:4.1.2-48.el6
Red Hat:enterprise_linux:7::clientbashbefore 0:4.2.46-28.el70:4.2.46-28.el7
Red Hat:enterprise_linux:7::clientbash-debuginfobefore 0:4.2.46-28.el70:4.2.46-28.el7
Red Hat:enterprise_linux:7::clientbash-docbefore 0:4.2.46-28.el70:4.2.46-28.el7
SUSE:Linux Enterprise Desktop 12 SP2bashbefore 4.3-82.14.3-82.1
SUSE:Linux Enterprise Software Development Kit 11 SP4bashbefore 3.2-147.35.13.2-147.35.1

Same product

gnu: all records

Other highest-scoring records for the same primary product.

  • CVE-2014-7169GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of environment variablKEV
    99Now
  • CVE-2014-6271GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which allows remote attacKEV
    99Now
  • CVE-2014-6278GNU Bash through 4.3 bash43-026 does not properly parse function definitions in the values of environment variables, which allows remote attKEV
    95Now
  • CVE-2014-7186The redirection implementation in parse.y in GNU Bash through 4.3 bash43-026 allows remote attackers to cause a denial of service (out-of-bo
    61This week
  • CVE-2014-6277GNU Bash through 4.3 bash43-026 does not properly parse function definitions in the values of environment variables, which allows remote att
    61This week
  • CVE-2014-7187Off-by-one error in the read_token_word function in parse.y in GNU Bash through 4.3 bash43-026 allows remote attackers to cause a denial of
    59Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:bash4.3.33-r2 · Alpine:v3.2Package registry (OSV)
debian:bash4.4-3 · Debian:12Package registry (OSV)
opensuse:bash7.0-92.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:bash0:4.1.2-48.el6 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:bash-debuginfo0:4.1.2-48.el6 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:bash-doc0:4.1.2-48.el6 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
suse:bash4.3-82.1 · SUSE:Linux Enterprise Desktop 12 SP2Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

Weakness class (CWE)

CWE-416 · Use After Free

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Root cause

After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
free(dev->buf);/* ... another thread is still running ... */process(dev->buf);

Fixed

c
lock(&dev->lock);free(dev->buf);dev->buf = NULL;unlock(&dev->lock);

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records