CVE-2014-6271
KEVCRITICAL 9.8EPSS 100.0%
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.
- CVSS v3.1 NVD
- 9.8 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS v2.0 NVD
- 10.0 HIGH
AV:N/AC:L/Au:N/C:C/I:C/A:C - EPSS
- 100.00% chance of exploitation in the next 30 days, 100th percentile
- CISA KEV
- added 2022-01-28
- Nuclei
- critical · CWE-78
- Published
- 2014-09-24
- Updated
- 2025-10-22
Proof-of-concept exploits (95)
- http://packetstormsecurity.com/files/128517/VMware-Security-Advisory-2014-0010.html
- http://packetstormsecurity.com/files/128567/CA-Technologies-GNU-Bash-Shellshock.html
- http://packetstormsecurity.com/files/128573/Apache-mod_cgi-Remote-Command-Execution.html
- http://packetstormsecurity.com/files/137376/IPFire-Bash-Environment-Variable-Injection-Sh…
- https://securityblog.redhat.com/2014/09/24/bash-specially-crafted-environment-variables-c…
- https://www.exploit-db.com/exploits/34879/
- https://www.exploit-db.com/exploits/37816/
- https://www.exploit-db.com/exploits/40619/
- 0x00-0x00/CVE-2014-62713★ · 2017-11-23
- 0xN7y/CVE-2014-62711★ · 2023-10-31
- AlissoftCodes/Shellshock0★ · 2024-07-02
- AlissonFaoli/Shellshock0★ · 2024-07-02
- Anklebiter87/Cgi-bin_bash_Reverse1★ · 2017-10-30
- Any3ite/CVE-2014-62711★ · 2020-01-06
- Aruthw/CVE-2014-62710★ · 2018-07-18
- BluHExH/Hex-exploshop-vip1★ · 2025-05-24
- Brandaoo/CVE-2014-62710★ · 2023-03-29
- Dilith006/CVE-2014-62710★ · 2020-05-12
- DrPandemic/RBE2★ · 2014-10-04
- EvolvingSysadmin/Shellshock1★ · 2022-06-30
- FilipStudeny/-CVE-2014-6271-Shellshock-Remote-Command-Injection-0★ · 2022-09-09
- HttpEduardo/ShellTHEbest0★ · 2026-01-08
- Jsmoreira02/CVE-2014-62715★ · 2024-09-22
- KJOONHWAN/CVE-Exploit-Demonstration0★ · 2023-01-05
- Kaizhe/attacker1★ · 2021-01-04
- MuirlandOracle/CVE-2014-6271-IPFire0★ · 2020-11-25
- Pilou-Pilou/docker_CVE-2014-6271.0★ · 2017-01-25
- RAJMadhusankha/Shellshock-CVE-2014-6271-Exploitation-and-Analysis0★ · 2025-08-09
- RadYio/CVE-2014-62711★ · 2024-11-26
- RainMak3r/Rainstorm2★ · 2014-09-26
- Sindadziy/cve-2014-62710★ · 2019-11-12
- Sindayifu/CVE-2019-14287-CVE-2014-62710★ · 2020-01-08
- TheRealCiscoo/Shellshock1★ · 2026-07-12
- TheRealCiscoo/Shellshock-Exploit1★ · 2026-05-16
- UMDTERPS/Shell-Shock-Update0★ · 2014-12-17
- Xandevistan/CVE-Exploit-Demonstration0★ · 2023-01-05
- YunchoHang/CVE-2014-6271-SHELLSHOCK0★ · 2025-02-26
- akr3ch/CVE-2014-62714★ · 2022-04-02
- andrewxx007/MyExploit-ShellShock1★ · 2023-05-15
- b4keSn4ke/CVE-2014-627115★ · 2022-04-01
- battleofthebots/decepticon0★ · 2023-10-13
- bdisann/ehmylist0★ · 2021-07-22
- capture0x/XSHOCK87★ · 2022-12-08
- cj1324/CGIShell13★ · 2014-10-02
- crinadeac/folder0★ · 2025-02-24
- criticalstack/bro-scripts72★ · 2021-11-17
- cved-sources/cve-2014-62710★ · 2021-04-15
- cyberharsh/Shellbash-CVE-2014-62710★ · 2020-08-15
- eduardo-paim/ShellTHEbest0★ · 2026-01-08
- ehackify/shockpot0★ · 2022-06-03
- hanmin0512/CVE-2014-6271_pwnable0★ · 2023-08-29
- heikipikker/shellshock-shell0★ · 2014-11-28
- hmlio/vaas-cve-2014-627122★ · 2019-10-08
- huanlu/cve-2014-6271-huan-lu0★ · 2015-06-10
- ibrahimAlbadrani/HTB_Shocker0★ · 2025-05-24
- internero/debian-lenny-bash_3.2.52-cve-2014-62710★ · 2014-09-26
- jblaine/cookbook-bash-CVE-2014-62710★ · 2014-09-25
- kelleykong/cve-2014-6271-mengjia-kong0★ · 2015-06-06
- knightc0de/Shellshock_vuln_Exploit0★ · 2025-06-21
- kowshik-sundararajan/CVE-2014-62710★ · 2018-05-04
- kxcode/kbash2★ · 2018-12-11
- mattclegg/CVE-2014-62710★ · 2014-09-25
- moayadalmalat/shellshock-exploit1★ · 2018-09-24
- mochizuki875/CVE-2014-6271-Apache-Debian1★ · 2021-10-06
- moften/CVE-2014-62710★ · 2025-05-05
- mrigank-9594/Exploit-Shellshock0★ · 2021-06-24
- mritunjay-k/CVE-2014-62710★ · 2023-03-02
- opsxcq/exploit-CVE-2014-6271232★ · 2023-05-11
- pbr94/Shellshock-Bash-Remote-Code-Execution-Vulnerability-and-Exploitation2★ · 2020-05-10
- rashmikadileeshara/CVE-2014-6271-Shellshock-0★ · 2020-05-12
- rrreeeyyy/cve-2014-6271-spec0★ · 2014-09-25
- rsherstnev/CVE-2014-62710★ · 2025-07-25
- rvolosatovs/mooshy0★ · 2018-05-06
- ryeyao/CVE-2014-6271_Test1★ · 2014-09-29
- sch3m4/RIS2★ · 2014-09-29
- securetiger/Exploit-Shellshock0★ · 2021-06-24
- securusglobal/BadBash4★ · 2014-09-26
- shawntns/exploit-CVE-2014-62710★ · 2019-04-28
- shaynewang/exploits0★ · 2017-11-16
- the-emmon/IPFire-RCE-exploit0★ · 2021-03-10
- villadora/CVE-2014-62710★ · 2014-09-26
- w4fz5uck5/ShockZaum-CVE-2014-62710★ · 2018-06-20
- woltage/CVE-2014-62710★ · 2014-09-26
- yanicklandry/bashfix0★ · 2014-09-26
- zalalov/CVE-2014-62714★ · 2017-04-30
- FacundoMfernandez/pentesting-obioba0★ · 2026-05-05
- Industri4l-H3ll-Xpl0it3rs/CVE-2014-6271-Shellshock0★ · 2026-02-24
- J0hnTh3Kn1ght/CVE-2014-62715★ · 2024-09-22
- TheRealCiscoo/shellshock-poc1★ · 2026-05-16
- caverm/Shellshock_CVE-2014-62710★ · 2026-07-11
- im2sinister/CVE-2014-62711★ · 2026-07-15
- kaleth4/-CVE-2014-62710★ · 2026-06-19
- kaleth4/CVE-2014-62710★ · 2026-04-09
- mariomolinara/unicas_docker_exploit0★ · 2026-09-08
- muazzez-gurbuz/linux-penetration-test-shellshock0★ · 2026-09-22
Nuclei templates (1)
Metasploit modules (8)
- rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/advantech_switch_bash…
- rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/ipfire_bashbug_exec.rb
- rapid7/metasploit-framework/blob/master/modules/exploits/multi/ftp/pureftpd_bash_env_exec…
- rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/apache_mod_cgi_bash_e…
- rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/cups_bash_env_exec.rb
- rapid7/metasploit-framework/blob/master/modules/exploits/unix/dhcp/bash_environment.rb
- rapid7/metasploit-framework/blob/master/modules/auxiliary/server/dhclient_bash_env.rb
- rapid7/metasploit-framework/blob/master/modules/exploits/osx/local/vmware_bash_function_r…
ExploitDB entries (8)
- https://www.exploit-db.com/exploits/42938
- https://www.exploit-db.com/exploits/40938
- https://www.exploit-db.com/exploits/39918
- https://www.exploit-db.com/exploits/38849
- https://www.exploit-db.com/exploits/35115
- https://www.exploit-db.com/exploits/34900
- https://www.exploit-db.com/exploits/34896
- https://www.exploit-db.com/exploits/34895
Vulhub environments (1)
Exploit collections (2)
- bash-cve-2014-6271.ymlchaitin/xray
- CVE-2014-6271.yamlzan8in/afrog
Security advisories
- http://jvn.jp/en/jp/JVN55667175/index.html
- http://jvndb.jvn.jp/jvndb/JVNDB-2014-000126
- http://advisories.mageia.org/MGASA-2014-0388.html
- http://archives.neohapsis.com/archives/bugtraq/2014-10/0101.html
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10673
- http://lcamtuf.blogspot.com/2014/09/quick-notes-about-bash-bug-its-impact.html
- http://linux.oracle.com/errata/ELSA-2014-1293.html
- http://linux.oracle.com/errata/ELSA-2014-1294.html
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00028.html
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00029.html
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00034.html
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00037.html
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00040.html
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00044.html
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00049.html
- http://lists.opensuse.org/opensuse-security-announce/2014-10/msg00004.html
- http://lists.opensuse.org/opensuse-updates/2014-10/msg00023.html
- http://lists.opensuse.org/opensuse-updates/2014-10/msg00025.html
- http://marc.info/?l=bugtraq&m=141216207813411&w=2
- http://marc.info/?l=bugtraq&m=141216668515282&w=2
- http://marc.info/?l=bugtraq&m=141235957116749&w=2
- http://marc.info/?l=bugtraq&m=141319209015420&w=2
- http://marc.info/?l=bugtraq&m=141330425327438&w=2
- http://marc.info/?l=bugtraq&m=141330468527613&w=2
- http://marc.info/?l=bugtraq&m=141345648114150&w=2
- http://marc.info/?l=bugtraq&m=141383026420882&w=2
- http://marc.info/?l=bugtraq&m=141383081521087&w=2
- http://marc.info/?l=bugtraq&m=141383138121313&w=2
- http://marc.info/?l=bugtraq&m=141383196021590&w=2
- http://marc.info/?l=bugtraq&m=141383244821813&w=2
- http://marc.info/?l=bugtraq&m=141383304022067&w=2
- http://marc.info/?l=bugtraq&m=141383353622268&w=2
- http://marc.info/?l=bugtraq&m=141383465822787&w=2
- http://marc.info/?l=bugtraq&m=141450491804793&w=2
- http://marc.info/?l=bugtraq&m=141576728022234&w=2
- http://marc.info/?l=bugtraq&m=141577137423233&w=2
- http://marc.info/?l=bugtraq&m=141577241923505&w=2
- http://marc.info/?l=bugtraq&m=141577297623641&w=2
- http://marc.info/?l=bugtraq&m=141585637922673&w=2
- http://marc.info/?l=bugtraq&m=141694386919794&w=2
- http://marc.info/?l=bugtraq&m=141879528318582&w=2
- http://marc.info/?l=bugtraq&m=142113462216480&w=2
- http://marc.info/?l=bugtraq&m=142118135300698&w=2
- http://marc.info/?l=bugtraq&m=142358026505815&w=2
- http://marc.info/?l=bugtraq&m=142358078406056&w=2
- http://marc.info/?l=bugtraq&m=142546741516006&w=2
- http://marc.info/?l=bugtraq&m=142719845423222&w=2
- http://marc.info/?l=bugtraq&m=142721162228379&w=2
- http://marc.info/?l=bugtraq&m=142805027510172&w=2
- http://packetstormsecurity.com/files/161107/SonicWall-SSL-VPN-Shellshock-Remote-Code-Exec…
- http://rhn.redhat.com/errata/RHSA-2014-1293.html
- http://rhn.redhat.com/errata/RHSA-2014-1294.html
- http://rhn.redhat.com/errata/RHSA-2014-1295.html
- http://rhn.redhat.com/errata/RHSA-2014-1354.html
- http://seclists.org/fulldisclosure/2014/Oct/0
- http://secunia.com/advisories/58200
- http://secunia.com/advisories/59272
- http://secunia.com/advisories/59737
- http://secunia.com/advisories/59907
- http://secunia.com/advisories/60024
- http://secunia.com/advisories/60034
- http://secunia.com/advisories/60044
- http://secunia.com/advisories/60055
- http://secunia.com/advisories/60063
- http://secunia.com/advisories/60193
- http://secunia.com/advisories/60325
- http://secunia.com/advisories/60433
- http://secunia.com/advisories/60947
- http://secunia.com/advisories/61065
- http://secunia.com/advisories/61128
- http://secunia.com/advisories/61129
- http://secunia.com/advisories/61188
- http://secunia.com/advisories/61283
- http://secunia.com/advisories/61287
- http://secunia.com/advisories/61291
- http://secunia.com/advisories/61312
- http://secunia.com/advisories/61313
- http://secunia.com/advisories/61328
- http://secunia.com/advisories/61442
- http://secunia.com/advisories/61471
- http://secunia.com/advisories/61485
- http://secunia.com/advisories/61503
- http://secunia.com/advisories/61542
- http://secunia.com/advisories/61547
- http://secunia.com/advisories/61550
- http://secunia.com/advisories/61552
- http://secunia.com/advisories/61565
- http://secunia.com/advisories/61603
- http://secunia.com/advisories/61633
- http://secunia.com/advisories/61641
- http://secunia.com/advisories/61643
- http://secunia.com/advisories/61654
- http://secunia.com/advisories/61676
- http://secunia.com/advisories/61700
- http://secunia.com/advisories/61703
- http://secunia.com/advisories/61711
- http://secunia.com/advisories/61715
- http://secunia.com/advisories/61780
- http://secunia.com/advisories/61816
- http://secunia.com/advisories/61855
- http://secunia.com/advisories/61857
- http://secunia.com/advisories/61873
- http://secunia.com/advisories/62228
- http://secunia.com/advisories/62312
- http://secunia.com/advisories/62343
- http://support.apple.com/kb/HT6495
- http://support.novell.com/security/cve/CVE-2014-6271.html
- http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20140926-ba…
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1021272
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1021279
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1021361
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004879
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004897
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004898
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004915
- http://www-01.ibm.com/support/docview.wss?uid=swg21685541
- http://www-01.ibm.com/support/docview.wss?uid=swg21685604
- http://www-01.ibm.com/support/docview.wss?uid=swg21685733
- http://www-01.ibm.com/support/docview.wss?uid=swg21685749
- http://www-01.ibm.com/support/docview.wss?uid=swg21685914
- http://www-01.ibm.com/support/docview.wss?uid=swg21686084
- http://www-01.ibm.com/support/docview.wss?uid=swg21686131
- http://www-01.ibm.com/support/docview.wss?uid=swg21686246
- http://www-01.ibm.com/support/docview.wss?uid=swg21686445
- http://www-01.ibm.com/support/docview.wss?uid=swg21686447
- http://www-01.ibm.com/support/docview.wss?uid=swg21686479
- http://www-01.ibm.com/support/docview.wss?uid=swg21686494
- http://www-01.ibm.com/support/docview.wss?uid=swg21687079
- http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=MIGR-5096315
- http://www.debian.org/security/2014/dsa-3032
- http://www.kb.cert.org/vuls/id/252743
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:164
- http://www.novell.com/support/kb/doc.php?id=7015701
- http://www.novell.com/support/kb/doc.php?id=7015721
- http://www.oracle.com/technetwork/topics/security/bashcve-2014-7169-2317675.html
- http://www.qnap.com/i/en/support/con_show.php?cid=61
- http://www.securityfocus.com/archive/1/533593/100/0/threaded
- http://www.securityfocus.com/bid/70103
- http://www.ubuntu.com/usn/USN-2362-1
- http://www.us-cert.gov/ncas/alerts/TA14-268A
- http://www.vmware.com/security/advisories/VMSA-2014-0010.html
- http://www.websense.com/support/article/kbarticle/Vulnerabilities-resolved-in-TRITON-APX-…
- https://access.redhat.com/articles/1200223
- https://access.redhat.com/node/1200223
- https://help.ecostruxureit.com/display/public/UADCO8x/StruxureWare+Data+Center+Operation+…
- https://kb.bluecoat.com/index?page=content&id=SA82
- https://kb.juniper.net/InfoCenter/index?page=content&id=JSA10648
- https://kc.mcafee.com/corporate/index?page=content&id=SB10085
- https://securityblog.redhat.com/2014/09/24/bash-specially-crafted-environment-variables-c…
- https://support.apple.com/kb/HT6535
- https://support.citrix.com/article/CTX200217
- https://support.f5.com/kb/en-us/solutions/public/15000/600/sol15629.html
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c04497075
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c04518183
- https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondet…
- https://www.arista.com/en/support/advisories-notices/security-advisories/1008-security-ad…
- https://www.exploit-db.com/exploits/34879
- https://www.exploit-db.com/exploits/37816
- https://www.exploit-db.com/exploits/40619
- https://www.suse.com/support/shellshock
- https://bugzilla.redhat.com/show_bug.cgi?id=1141597