CVE-2014-6277 in Gnu Bash
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 demons...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Gnu | Bash | 1.14.0 1.14.1 1.14.2 1.14.3 1.14.4 1.14.5+19 more1.14.6 1.14.7 2.0 2.01 2.01.1 2.02 2.02.1 2.03 2.04 2.05 3.0 3.0.16 3.1 3.2 3.2.48 4.0 4.1 4.2 4.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2014-6277 |
|---|---|
| BreachSpider ID | BS-2014-GLOBAL-157922-C |
| CVSS vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| Published | 2014-09-27 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-78: OS Command Injection
Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78
CAPEC-108 Command Line Execution through SQL Injection via CWE-78
CAPEC-6 Argument Injection via CWE-78
CAPEC-15 Command Delimiters via CWE-78
CAPEC-88 OS Command Injection via CWE-78
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
GNU Bash through version 4.3 bash43-026 is vulnerable to arbitrary code execution or denial of service due to improper parsing of function definitions in environment variables.
Remote attackers can exploit this vulnerability by crafting environment variables with malicious function definitions, particularly in contexts like the ForceCommand feature in OpenSSH sshd or mod_cgi in Apache HTTP Server.
Questions
What is CVE-2014-6277?
GNU Bash through version 4.3 bash43-026 is vulnerable to arbitrary code execution or denial of service due to improper parsing of function definitions in environment variables.
What is the CVSS score for CVE-2014-6277?
CVE-2014-6277 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 64.3%.
Is CVE-2014-6277 actively exploited?
Public exploit available for CVE-2014-6277. Exploitation risk elevated.
How do I remediate CVE-2014-6277?
Priority: IMMEDIATE.
What systems are affected by CVE-2014-6277?
CVE-2014-6277 affects Gnu Bash.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Gnu","product":"Bash","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.