CVE-2014-6278
GNU Bash OS Command Injection Vulnerability
Known exploited
CISA added this CVE to its list of known exploited vulnerabilities on 2 Oct 2025. US federal agencies had to act by 23 Oct 2025.
- Name
- GNU Bash OS Command Injection Vulnerability
- Required action
- Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- Ransomware
- Use in ransomware campaigns is not known
- Notes
- http://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-027 https://support.broadcom.com/web/ecx/support-content-notification/-/external/content/SecurityAdvisories/0/23467 https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20140926-bash https://www.ibm.com/support/pages/security-bulletin-update-vulnerabilities-bash-affect-aix-toolbox-linux-applications-cve-2014-6271-cve-2014-6277-cve-2014-6278-cve-2014-7169-cve-2014-7186-and-cve-2014-7187 https://nvd.nist.gov/vuln/detail/CVE-2014-6278
Description
GNU Bash through 4.3 bash43-026 does not properly parse function definitions in the values of environment variables, which allows remote attackers to execute arbitrary commands 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. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-6271, CVE-2014-7169, and CVE-2014-6277.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 99.7%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.9% of all scored CVEs. Scores of 26 Nov 2026.
The assessment of CISA (SSVC, 2 Oct 2025):
- Exploitation
- active: CISA has reliable evidence of exploitation in the wild
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in their own package version, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2014-6278 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2014-6278RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2014-6278Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image; it prints the installed and the fixed version when a package is affected:
trivy rootfs --scanners vuln / | grep CVE-2014-6278
trivy image --scanners vuln IMAGE | grep CVE-2014-6278
Patchbrief matches the package lists of your Linux servers and containers every day against the Trivy vulnerability database, which covers the packages of Linux distributions and language packages (npm, PyPI, Go, Maven and others), and sends one digest with the command that fixes each problem. Install the agent.
References
Advisories
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004897 www-01.ibm.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21685749 www-01.ibm.com
- HPSBMU03165 marc.info · vendor advisory
- https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk102673&src=securityAlerts supportcenter.checkpoint.com
- http://linux.oracle.com/errata/ELSA-2014-3093 linux.oracle.com
- SSRT101819 marc.info · vendor advisory
- HPSBMU03245 marc.info · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21686479 www-01.ibm.com
- JVN#55667175 jvn.jp · third party advisory
- 60433 secunia.com · third party advisory
- HPSBMU03143 marc.info · vendor advisory
- HPSBMU03182 marc.info · vendor advisory
92 more
- HPSBST03155 marc.info · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21685541 www-01.ibm.com
- http://www.oracle.com/technetwork/topics/security/bashcve-2014-7169-2317675.html oracle.com
- 61816 secunia.com · third party advisory
- openSUSE-SU-2014:1310 lists.opensuse.org · vendor advisory
- 61442 secunia.com · third party advisory
- HPSBMU03246 marc.info · vendor advisory
- 61283 secunia.com · third party advisory
- https://kc.mcafee.com/corporate/index?page=content&id=SB10085 kc.mcafee.com
- 61654 secunia.com · third party advisory
- USN-2380-1 ubuntu.com · vendor advisory
- http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=MIGR-5096315 www-947.ibm.com
- 62312 secunia.com · third party advisory
- https://support.f5.com/kb/en-us/solutions/public/15000/600/sol15629.html support.f5.com
- HPSBMU03217 marc.info · vendor advisory
- https://security-tracker.debian.org/tracker/CVE-2014-6278 security-tracker.debian.org
- http://www-01.ibm.com/support/docview.wss?uid=swg21685604 www-01.ibm.com
- SSRT101868 marc.info · vendor advisory
- 61703 secunia.com · third party advisory
- 61065 secunia.com · third party advisory
- HPSBST03129 marc.info · vendor advisory
- HPSBMU03144 marc.info · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21686445 www-01.ibm.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21686131 www-01.ibm.com
- JVNDB-2014-000126 jvndb.jvn.jp · third party advisory
- 61641 secunia.com · third party advisory
- https://kb.juniper.net/InfoCenter/index?page=content&id=JSA10648 kb.juniper.net
- SUSE-SU-2014:1287 lists.opensuse.org · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004898 www-01.ibm.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21685914 www-01.ibm.com
- MDVSA-2015:164 mandriva.com · vendor advisory
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c04497075 support.hpe.com
- 60325 secunia.com · third party advisory
- 60024 secunia.com · third party advisory
- 20140926 GNU Bash Environment Variable Command Injection Vulnerability tools.cisco.com · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1147414 bugzilla.redhat.com
- 62343 secunia.com · third party advisory
- 61565 secunia.com · third party advisory
- https://www.suse.com/support/shellshock/ suse.com
- HPSBST03157 marc.info · vendor advisory
- 61313 secunia.com · third party advisory
- 61485 secunia.com · third party advisory
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c04518183 support.hpe.com
- HPSBST03154 marc.info · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1021272 www-01.ibm.com
- HPSBGN03142 marc.info · vendor advisory
- 61312 secunia.com · third party advisory
- http://linux.oracle.com/errata/ELSA-2014-3094 linux.oracle.com
- 60193 secunia.com · third party advisory
- http://www.vmware.com/security/advisories/VMSA-2014-0010.html vmware.com
- 60063 secunia.com · third party advisory
- 60034 secunia.com · third party advisory
- 59907 secunia.com · third party advisory
- 58200 secunia.com · third party advisory
- HPSBST03181 marc.info · vendor advisory
- 61643 secunia.com · third party advisory
- http://www.novell.com/support/kb/doc.php?id=7015721 novell.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21687079 www-01.ibm.com
- 61503 secunia.com · third party advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21686246 www-01.ibm.com
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004915 www-01.ibm.com
- http://support.novell.com/security/cve/CVE-2014-6278.html support.novell.com
- HPSBHF03145 marc.info · vendor advisory
- http://www.qnap.com/i/en/support/con_show.php?cid=61 qnap.com
- 61552 secunia.com · third party advisory
- 61780 secunia.com · third party advisory
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1021279 www-01.ibm.com
- https://support.citrix.com/article/CTX200223 support.citrix.com
- HPSBGN03138 marc.info · vendor advisory
- 60044 secunia.com · third party advisory
- 61291 secunia.com · third party advisory
- HPSBHF03125 marc.info · vendor advisory
- 61287 secunia.com · third party advisory
- HPSBHF03146 marc.info · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1021361 www-01.ibm.com
- HPSBGN03141 marc.info · vendor advisory
- 61128 secunia.com · third party advisory
- https://support.citrix.com/article/CTX200217 support.citrix.com
- 61471 secunia.com · third party advisory
- 60055 secunia.com · third party advisory
- 59961 secunia.com · third party advisory
- 61550 secunia.com · third party advisory
- 61633 secunia.com · third party advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21686494 www-01.ibm.com
- https://kb.bluecoat.com/index?page=content&id=SA82 kb.bluecoat.com
- 61328 secunia.com · third party advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21685733 www-01.ibm.com
- 61129 secunia.com · third party advisory
- 61603 secunia.com · third party advisory
- 61857 secunia.com · third party advisory
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004879 www-01.ibm.com
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-6278 cisa.gov · government resource
Exploits and proof of concept
Other references
- http://packetstormsecurity.com/files/137344/Sun-Secure-Global-Desktop-Oracle-Global-Desktop-Shellshock.html packetstormsecurity.com
- http://packetstormsecurity.com/files/128567/CA-Technologies-GNU-Bash-Shellshock.html packetstormsecurity.com
- http://lcamtuf.blogspot.com/2014/10/bash-bug-how-we-finally-cracked.html lcamtuf.blogspot.com
- http://lcamtuf.blogspot.com/2014/09/bash-bug-apply-unofficial-patch-now.html lcamtuf.blogspot.com
- https://www.arista.com/en/support/advisories-notices/security-advisories/1008-security-advisory-0006 arista.com
Guides
- Shellshock (CVE-2014-6271 and follow-ups): bash runs code from environment variables How a function definition in an environment variable let attackers run commands through CGI scripts, SSH and DHCP, the six CVEs, and how to test bash today.
Source: the record CVE-2014-6278 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.