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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | bash | 4.3-9.2 | — |
| Debian 13 | bash | 4.3-9.2 | — |
| Debian 12 | bash | 4.3-9.2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | bash | 4.3-7ubuntu1.5 | USN-2380-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | bash | 4.2-82.1 | SUSE-SU-2016:2872-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP1 | bash | 4.2-82.1 | SUSE-SU-2016:2872-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | bash | 7.0-92.1 | openSUSE-SU-2024:10106-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | bash +1 | 4.2.45-5.el7_0.4.0.1 | ELSA-2014-3092 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 3 modules
-
CUPS Filter Bash Environment Variable Code Injection (Shellshock)
exploit/multi/http/cups_bash_env_exec
-
Apache mod_cgi Bash Environment Variable Injection (Shellshock) Scanner
auxiliary/scanner/http/apache_mod_cgi_bash_env
-
Apache mod_cgi Bash Environment Variable Code Injection (Shellshock)
exploit/multi/http/apache_mod_cgi_bash_env_exec
Exploit-DB 5
- Sun Secure Global Desktop and Oracle Global Desktop 4.61.915 - Command Injection (Shellshock) EDB-39887 · webapps · Jun 6, 2016
- Cisco UCS Manager 2.1(1b) - Remote Command Injection (Shellshock) EDB-39568 · remote · Mar 16, 2016
- Apache mod_cgi - 'Shellshock' Remote Command Injection EDB-34900 · remote · Oct 6, 2014 · verified
- GNU bash 4.3.11 - Environment Variable dhclient EDB-34860 · remote · Oct 2, 2014
- dhclient 4.1 - Bash Environment Variable Command Injection (Shellshock) EDB-36933 · remote · Sep 29, 2014 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 4
- USN-2380-1 bash vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- openSUSE-SU-2024:10106-1 bash-4.4-92.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2872-1 Security update for bash SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2014-3092 Important: bash security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Nov 20, 2014
References
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004897
- http://www-01.ibm.com/support/docview.wss?uid=swg21685749
- HPSBMU03165 vendor-advisory
- https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk102673&src=securityAlerts
- http://linux.oracle.com/errata/ELSA-2014-3093
- SSRT101819 vendor-advisory
- HPSBMU03245 vendor-advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21686479
- JVN#55667175 third-party-advisory
- 60433 third-party-advisory
- HPSBMU03143 vendor-advisory
- HPSBMU03182 vendor-advisory
- http://packetstormsecurity.com/files/137344/Sun-Secure-Global-Desktop-Oracle-Global-Desktop-Shellshock.html
- HPSBST03155 vendor-advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21685541
- http://www.oracle.com/technetwork/topics/security/bashcve-2014-7169-2317675.html
- 61816 third-party-advisory
- openSUSE-SU-2014:1310 vendor-advisory
- 61442 third-party-advisory
- HPSBMU03246 vendor-advisory
- 61283 third-party-advisory
- https://kc.mcafee.com/corporate/index?page=content&id=SB10085
- 61654 third-party-advisory
- USN-2380-1 vendor-advisory
- http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=MIGR-5096315
- 62312 third-party-advisory
- https://support.f5.com/kb/en-us/solutions/public/15000/600/sol15629.html
- HPSBMU03217 vendor-advisory
- https://security-tracker.debian.org/tracker/CVE-2014-6278
- http://www-01.ibm.com/support/docview.wss?uid=swg21685604
- SSRT101868 vendor-advisory
- 61703 third-party-advisory
- 61065 third-party-advisory
- HPSBST03129 vendor-advisory
- HPSBMU03144 vendor-advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21686445
- http://www-01.ibm.com/support/docview.wss?uid=swg21686131
- JVNDB-2014-000126 third-party-advisory
- 61641 third-party-advisory
- 39887 exploit
- https://kb.juniper.net/InfoCenter/index?page=content&id=JSA10648
- SUSE-SU-2014:1287 vendor-advisory
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004898
- http://www-01.ibm.com/support/docview.wss?uid=swg21685914
- MDVSA-2015:164 vendor-advisory
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c04497075
- 60325 third-party-advisory
- 60024 third-party-advisory
- http://packetstormsecurity.com/files/128567/CA-Technologies-GNU-Bash-Shellshock.html
- http://lcamtuf.blogspot.com/2014/10/bash-bug-how-we-finally-cracked.html
- 20140926 GNU Bash Environment Variable Command Injection Vulnerability vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1147414
- 62343 third-party-advisory
- 61565 third-party-advisory
- https://www.suse.com/support/shellshock/
- HPSBST03157 vendor-advisory
- 61313 third-party-advisory
- 61485 third-party-advisory
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c04518183
- HPSBST03154 vendor-advisory