CVE-2014-6277Bash OS Command Injection
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…
Published Sep 27, 2014 · Updated Oct 23, 2026 · Also known as DEBIAN-CVE-2014-6277, MGASA-2014-0394, SUSE-SU-2016:2872-1, UBUNTU-CVE-2014-6277, USN-2380-1
Key Facts
Patch immediately- CVE-2014-6277 is a critical-severity vulnerability (CVSS 10.0 v2) affecting Bash (Gnu), rootio-bash, bash-doc (oracle) and 12 more products.
- It is exploited in the wild, listed in Industry KEV feed since Mar 1, 2018. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 64% probability of exploitation in the next 30 days.
- Fixed versions are available, including Bash 3.2-33.el5_11.4.0.1, Bash 4.1.2-29.el6.0.1, Bash 4.2-50.2.mga3.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v2
10.0
AV:N/AC:L/Au:N/C:C/I:C/A:C
EPSS (30-day exploit likelihood)
64%
Higher than 99.4% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
77/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Mar 1, 2018
1251 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
3
Proof-of-concept links
In-the-wild evidence
2
Reports of active use
Advisories And Exploit References
- advisoryhttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2014-6277
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2014-6277
- advisoryhttps://ubuntu.com/security/CVE-2014-6277
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2014-6277
- advisoryhttp://lcamtuf.blogspot.ca/2014/09/bash-bug-apply-unofficial-patch-now.html
- advisoryhttp://lcamtuf.blogspot.ca/2014/10/bash-bug-how-we-finally-cracked.html
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 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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Mar 1, 2018 | n/a | Not reported |
Affected Products
95 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| BashGnu | 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.14.7 | 4.3.027-1 |
| rootio-bashrootio | See advisory | 4.3-9.2 |
| bash-docoracle | See advisory | 4.1.2-29.el6.0.1 |
| bash-develsuse | See advisory | 4.2-81.1 |
| bash-langsuse | See advisory | 4.2-81.1 |
Patched Releases
Bash
3.2-33.el5_11.4.0.1, 4.1.2-29.el6.0.1, 4.2-50.2.mga3, 4.2-50.2.mga4, 4.2-81.1, 4.2-82.1, 4.2.45-5.el7_0.4.0.1, 4.3-7ubuntu1.5, 4.3-9.2, 4.3.027-1, 4.4-92.1
bash-devel
4.2-81.1, 4.2-82.1, 4.4-92.1
bash-doc
4.1.2-29.el6.0.1, 4.2-81.1, 4.2-82.1, 4.2.45-5.el7_0.4.0.1, 4.4-92.1
bash-lang
4.2-81.1, 4.2-82.1, 4.4-92.1
bash-loadables
4.2-81.1, 4.4-92.1
libreadline6
6.2-81.1, 6.2-82.1
libreadline6-32bit
6.2-81.1, 6.2-82.1
libreadline7
7.0-92.1
libreadline7-32bit
7.0-92.1
readline-devel
6.2-81.1, 6.2-82.1, 7.0-92.1
readline-devel-32bit
6.2-81.1, 7.0-92.1
readline-doc
6.2-81.1, 6.2-82.1, 7.0-92.1
rootio-bash
4.3-9.2
sles12-docker-image
1.1.4-20171002
sles12sp1-docker-image
1.0.7-20171002
Timeline
Publicly disclosed
Sep 27, 2014
Added to Industry KEV feed
Mar 1, 2018
Last updated
Oct 23, 2026
Weakness Type
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
- advisorybugzilla.redhat.com · show_bug.cgi
- advisorysecurity-tracker.debian.org · CVE-2014-6277
- advisoryubuntu.com · CVE-2014-6277
- advisorycve.org · CVERecord
- advisorylcamtuf.blogspot.ca · bash-bug-apply-unofficial-patch-now.html
FAQ
Common Questions.
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 demonstr…
Affected: Bash (Gnu) versions 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.14.7; rootio-bash; bash-doc (oracle), among others. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed since Mar 1, 2018.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including Bash 3.2-33.el5_11.4.0.1, Bash 4.1.2-29.el6.0.1, Bash 4.2-50.2.mga3.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2014-6277 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo