CVE-2014-6278 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 commands via a crafted environment, as demonstrated by vectors involving the ForceCommand feature in OpenSSH sshd, the mod_cgi and mod_cgid modules i...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
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.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2025-10-02 |
|---|---|
| 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 commands 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, CVE-2014-7169, and CVE-2014-6277.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2014-6278 |
|---|---|
| BreachSpider ID | BS-2014-GLOBAL-156569-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2014-09-30 |
| 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 versions up to 4.3 bash43-026 have a critical vulnerability where function definitions in environment variables can be exploited to execute arbitrary commands. This affects systems using OpenSSH, Apache HTTP Server, and DHCP clients, leading to potential remote code execution. The vulnerability is due to an incomplete fix for previous CVEs and has a high exploitation likelihood.
The vulnerability arises from the way GNU Bash processes function definitions in environment variables. An attacker can craft a malicious environment variable that, when passed to a vulnerable Bash instance, results in the execution of arbitrary commands. This can occur in various scenarios, such as when using the ForceCommand feature in OpenSSH, CGI scripts in Apache, or scripts executed by DHCP clients. The attack vector is network-based, requiring no user interaction, and can lead to full system compromise.
Compensating controls AI-drafted, review before use
Implement strict input validation and sanitization for environment variables, especially in network-facing services. Use non-Bash shells for critical services if possible. Apply the latest security patches and updates for affected components.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2014-6278?
GNU Bash versions up to 4.3 bash43-026 have a critical vulnerability where function definitions in environment variables can be exploited to execute arbitrary commands. This affects systems using OpenSSH, Apache HTTP Server, and DHCP clients, leading to potential remote code execution. The vulnerability is due to an incomplete fix for previous CVEs and has a high exploitation likelihood.
What is the CVSS score for CVE-2014-6278?
CVE-2014-6278 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 99.7%.
Is CVE-2014-6278 actively exploited?
Yes. CVE-2014-6278 is in the CISA known-exploited catalog (added 2025-10-02). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2014-6278?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2014-6278?
CVE-2014-6278 affects Gnu Bash.
What NERC-CIP standard applies to CVE-2014-6278?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to electronic security perimeters, potentially leading to the compromise of critical control systems.
What IEC 62443 requirement maps to CVE-2014-6278?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves the protection of software from unauthorized modification, which is crucial for maintaining the integrity and security of industrial control systems.
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.