CVE-2014-6271: Shellshock
- Vendors
- F5GNU ProjectDebian ProjectRed HatArista NetworksInternational Business MachinesOracle CorporationSuse
CVE-2014-6271, known as Shellshock, is a command-injection vulnerability in GNU Bash through version 4.3. When importing shell function definitions from environment variables, vulnerable Bash versions execute commands appended after the function definition. An attacker who controls an environment-variable value passed to a subsequently invoked Bash process can therefore execute arbitrary commands. Exposed execution paths include Apache HTTP Server mod_cgi and mod_cgid, OpenSSH ForceCommand configurations, and scripts invoked by certain DHCP clients. The initial fix was incomplete; CVE-2014-7169 identifies a related vulnerability remaining after that fix.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises confidentiality, integrity, and availability within the privileges of the application invoking Bash. Attackers can read or modify accessible data, execute programs, disrupt services, and install malware. Privileged execution contexts can permit full system compromise; root access is not an inherent consequence in every configuration. Shellshock has been exploited in the wild to install malware, including Gafgyt, and compromised systems can support further intrusion and lateral movement.
Mitigation
If you can’t patch tonight, do this now.
Until patching is possible, restrict or disable services that pass attacker-controlled environment variables to Bash. Disable unnecessary Bash-based CGI execution, limit network access to affected services, and prevent untrusted input from reaching Bash execution contexts. Use network segmentation to reduce exposure and contain potential compromise. WAF and IPS detections can provide additional coverage for HTTP-based exploitation attempts but do not replace Bash updates or protect every execution path.
Remediation
Patch, then assume compromise.
Install the latest vendor-supported Bash security updates for every affected operating system, appliance, and application-bundled Bash installation. Do not rely solely on the initial CVE-2014-6271 patch: apply subsequent updates addressing CVE-2014-7169 and the related Shellshock flaws. Follow product-specific advisories for embedded or bundled installations and validate patch effectiveness using published vendor or CERT test cases. Amazon Linux installations should apply the Bash update associated with ALAS-2014-418; affected appliances require their vendor-provided updates.
Exploits
31 exploits validated by Mallory's analysis. Hidden: 21 rejected by Mallory's analysis as not a working exploit; 18 not yet analyzed, such as Exploit-DB entries. Showing the 25 most capable, earliest first.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2014-6271 exploited in the wild?
- Yes. As of Nov 19, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jan 28, 2022.
- Is there a public exploit for CVE-2014-6271?
- Yes. Mallory tracks 31 public exploits or proofs of concept for CVE-2014-6271, the earliest disclosed Sep 24, 2014.
- Is there a patch for CVE-2014-6271?
- Install the latest vendor-supported Bash security updates for every affected operating system, appliance, and application-bundled Bash installation. Do not rely solely on the initial CVE-2014-6271 patch: apply subsequent updates addressing CVE-2014-7169 and the related Shellshock flaws.
- What products are affected by CVE-2014-6271?
- GNU Project Bash, F5 Arx Firmware, F5 Big-Ip Aam, F5 Big-Ip Access Policy Manager, F5 BIG-IP Advanced Firewall Manager, and at least 69 more.
- How severe is CVE-2014-6271?
- CVE-2014-6271 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 100.0% (100th percentile) as of Nov 19, 2026.
Recent activity
77 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.