CVEfocus › CVE database › CVE-2014-6271

CVE-2014-6271

Known exploited (CISA KEV)CVSS 9.8 CriticalEPSS 99.9% (in the top 1% of all CVEs)Published 2014-09-24Updated 2025-10-22Assigner: debian

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which allows remote attackers to execute arbitrary code via a crafted environment, as demonstrated by vectors involving the ForceCommand feature in OpenSSH sshd, the mod_cgi and mod_cgid modules in the Apache HTTP Server, scripts executed by unspecified DHCP clients, and other situations in which setting the environment occurs across a privilege boundary from Bash execution, aka "ShellShock." NOTE: the original fix for this issue was incorrect; CVE-2014-7169 has been assigned to cover the vulnerability that is still present after the incorrect fix.

CWE-78

What to do

This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2022-01-28). If you run an affected version, patch or mitigate now.

Fixed builds are available from 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

9Fixed

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 14.04bashFixed4.3-7ubuntu1.1UBUNTU-CVE-2014-6271
Debian 14bashFixed4.3-9.1DEBIAN-CVE-2014-6271
Debian 13bashFixed4.3-9.1DEBIAN-CVE-2014-6271
Debian 12bashFixed4.3-9.1DEBIAN-CVE-2014-6271
Red Hat Enterprise Linux 7bashFixed0:4.2.45-5.el7_0.2RHSA-2014:1293
Red Hat Enterprise Linux 7bash-docFixed0:4.2.45-5.el7_0.2RHSA-2014:1293
Red Hat Enterprise Linux 6bashFixed0:4.1.2-15.el6_5.1RHSA-2014:1293
Red Hat Enterprise Linux 6bash-docFixed0:4.1.2-15.el6_5.1RHSA-2014:1293
Red Hat Enterprise Linux 5bashFixed0:3.2-33.el5.1RHSA-2014:1293

What the vendor says

As published in the CVE record by debian, 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.