← Vulnerability feed

Vulnerability record · CVE-2014-6271 · published 24 September 2014

CVE-2014-6271: GNU Bash environment variable command injection (ShellShock)

Gnu · Bash

GNU Bash through 4.3 processes trailing strings after function definitions in environment variable values, allowing injected commands to run when Bash is invoked. This is the ShellShock flaw, and it matters because Bash is widely used and the vulnerable path crosses privilege boundaries in common services.

9.8 CVSS 3.1 Critical CISA KEV since 28 Jan 2022 EPSS 100% · top 0.1% CWE-78 · OS command injection
9.8CVSS 3.1 base score, v2 10.0
100%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
74Affected product versions listed by NVD
341References, 30 tagged exploit
17 Jun 2026Last modified by NVD

Description

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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 16 September 2026. Confidence: high.

critical priorityCVSS 9.8, CISA KEV active exploitation, and near-maximum EPSS make this an urgent patch-first issue despite its age.

What it is

GNU Bash through 4.3 processes trailing strings after function definitions in environment variable values, allowing injected commands to run when Bash is invoked. This is the ShellShock flaw, and it matters because Bash is widely used and the vulnerable path crosses privilege boundaries in common services.

Impact

An attacker can execute arbitrary commands with the privileges of the process that invokes Bash, which can lead to full host compromise where that process is privileged. The CVSS vector rates confidentiality, integrity and availability impact as high.

Attack surface

Reachable remotely over the network with no authentication and no user interaction per the CVSS vector (AV:N/AC:L/PR:N/UI:N). The description names ForceCommand in OpenSSH sshd, Apache mod_cgi and mod_cgid, DHCP client scripts, and other cases where an environment is set across a privilege boundary before Bash runs.

Exploitation

CISA KEV lists it as actively exploited, added 2022-01-28, and EPSS is 0.99999 (99.993rd percentile). References include an Exploit-tagged link, and KEV notes no known ransomware campaign use.

What to do

  • Patch Bash to a vendor-fixed version; note the original fix was incomplete and CVE-2014-7169 covers the residual issue, so apply the later corrected update.
  • Apply vendor updates per CISA KEV instructions for all listed vendors and products, including appliances and storage systems that embed Bash.
  • Where patching is delayed, avoid passing untrusted input into environment variables consumed by Bash, and restrict or disable CGI and other Bash-invoking interfaces exposed to untrusted networks.
  • Reduce exposure of SSH ForceCommand and DHCP client script paths that set environment variables across a privilege boundary.

Detection

  • Monitor process execution for Bash spawned by web servers (mod_cgi/mod_cgid), sshd ForceCommand, or DHCP client scripts with unexpected child processes.
  • Inspect HTTP requests and other untrusted input for the '() { :;};' function-definition pattern characteristic of ShellShock payloads.
  • Alert on environment variables containing function definitions followed by trailing commands reaching Bash-invoking services.
  • Audit hosts and appliances for unpatched Bash versions, including embedded copies in network and storage devices.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2014-6271 to the Known Exploited Vulnerabilities catalog on 28 January 2022 as "GNU Bourne-Again Shell (Bash) Arbitrary Code Execution Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 28 July 2022.

Affected products

74 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://advisories.mageia.org/MGASA-2014-0388.html Third Party Advisory
http://archives.neohapsis.com/archives/bugtraq/2014-10/0101.html Broken LinkThird Party Advisory
http://jvn.jp/en/jp/JVN55667175/index.html Vendor Advisory
http://jvndb.jvn.jp/jvndb/JVNDB-2014-000126 Third Party AdvisoryVDB EntryVendor Advisory
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10673 Third Party Advisory
http://lcamtuf.blogspot.com/2014/09/quick-notes-about-bash-bug-its-impact.html ExploitIssue TrackingThird Party Advisory
http://linux.oracle.com/errata/ELSA-2014-1293.html Third Party Advisory
http://linux.oracle.com/errata/ELSA-2014-1294.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00028.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00029.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00034.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00037.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00040.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00044.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00049.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2014-10/msg00004.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-updates/2014-10/msg00023.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-updates/2014-10/msg00025.html Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141216207813411&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141216668515282&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141235957116749&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141319209015420&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141330425327438&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141330468527613&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141345648114150&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141383026420882&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141383081521087&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141383138121313&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141383196021590&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141383244821813&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141383304022067&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141383353622268&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141383465822787&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141450491804793&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141576728022234&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141577137423233&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141577241923505&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141577297623641&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141585637922673&w=2 Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=141694386919794&w=2 Mailing ListThird Party Advisory

Track CVE-2014-6271 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2021-1870Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions, affecting macOS Big Sur, Catalina, Mojave, iOS and iPadOS, plus WebKitGTK a…KEVEPSS 7.7%analysed9.8CVE-2021-1871Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions. It affects macOS Big Sur, Catalina, Mojave, iOS and iPadOS, and a remote at…KEVEPSS 7.0%analysed9.8CVE-2020-11651SaltStack Salt master authentication bypass in ClearFuncsSaltStack Salt before 2019.2.4 and 3000 before 3000.2 fails to properly validate method calls in the salt-master ClearFuncs class, allowing remote un…KEVEPSS 97%analysed9.8CVE-2020-7247OpenSMTPD MAIL FROM command injection allows remote root code executionOpenSMTPD 6.6, as shipped in OpenBSD 6.6 and other products, mishandles input validation in smtp_mailaddr in smtp_session.c, returning an incorrect v…KEVEPSS 99%analysed9.8CVE-2019-11043PHP-FPM buffer overflow enables remote code executionPHP-FPM in certain configurations writes past allocated buffers into FCGI protocol data space, an out-of-bounds write (CWE-787, CWE-120). It affects …KEVEPSS 100%analysed9.8CVE-2019-16928Exim heap buffer overflow in string_vformat via long EHLO commandExim 4.92 through 4.92.2 contains a heap-based buffer overflow in string_vformat in string.c triggered by a long EHLO command, allowing remote code e…KEVEPSS 42%analysed9.8CVE-2019-10149Exim MTA improper recipient validation leads to remote command executionExim versions 4.87 through 4.91 fail to properly validate recipient addresses in the deliver_message() function in /src/deliver.c, allowing command i…KEVEPSS 100%analysed9.8CVE-2018-6789Exim SMTP base64d buffer overflow allows remote code executionExim before 4.90.1 contains a buffer overflow in the base64d function of its SMTP listener. A handcrafted message can trigger the overflow, and the f…KEVEPSS 82%analysed

Source: NIST National Vulnerability Database (record CVE-2014-6271), CISA KEV, FIRST EPSS (scores of 2026-09-16). This page is refreshed as NVD updates the record.