cve.bz

CVE-2014-6277 (Shellshock) gnu bash: OS Command Injection

no score yetExploitEPSS 64%Fix available

Known as Shellshock

gnu bash: no CVSS score yet. EPSS 64% estimated probability of exploitation activity in the next 30 days.

On this page
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 code or cause a denial of service (uninitialized memory access, and untrusted-pointer read and write operations) 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 and CVE-2014-7169.
EPSS
64% (unchanged from 64% a week ago; 64% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2014-6277 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2014-6277?via=ask-ai-copy and https://cve.bz/cve/CVE-2014-6277?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2014-6277 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:bash1.14.0
gnu:bash1.14.1
gnu:bash1.14.2
gnu:bash1.14.3
gnu:bash1.14.4
gnu:bash1.14.5
gnu:bash1.14.6
gnu:bash1.14.7
gnu:bash2.0
gnu:bash2.01
gnu:bash2.01.1
gnu:bash2.02
gnu:bash2.02.1
gnu:bash2.03
gnu:bash2.04
gnu:bash2.05
gnu:bash2.05:a
gnu:bash2.05:b
gnu:bash3.0
gnu:bash3.0.16
gnu:bash3.1
gnu:bash3.2
gnu:bash3.2.48
gnu:bash4.0
gnu:bash4.0:rc1
gnu:bash4.1
gnu:bash4.2
gnu:bash4.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14bash4.3-9.2DEBIAN-CVE-2014-6277
Ubuntu14.04:LTSbash4.3-7ubuntu1.5UBUNTU-CVE-2014-6277 USN-2380-1
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Server 12 SP1, Linux Enterprise Server for SAP Applications 12 SP1 and 2 morebash4.2-82.1SUSE-SU-2016:2872-1
openSUSETumbleweedbash7.0-92.1openSUSE-SU-2024:10106-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat's statement

Red Hat no longer considers this bug to be a security issue. The change introduced in bash errata RHSA-2014:1306, RHSA-2014:1311 and RHSA-2014:1312 removed the exposure of the bash parser to untrusted input, mitigating this problem to a bug without security impact.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 4bashNot affected
Red Hat Enterprise Linux 5bashNot affected
Red Hat Enterprise Linux 6bashNot affected
Red Hat Enterprise Linux 7bashNot affected
Red Hat Enterprise Virtualization 3rhev-hypervisorNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2014-6277.

Public exploits

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON