# CVE-2014-6271: GNU Bourne-Again Shell (Bash) Arbitrary Code Execution Vulnerability

> CVE-2014-6271: GNU Bourne-Again Shell (Bash) Arbitrary Code Execution Vulnerability. CVSS 9.8 (CVSS 3.1), in CISA KEV.

Canonical: https://rewindex.com/cve/CVE-2014-6271
Last updated: 2025-10-22T00:05:36Z

- Published: 2014-09-24 18:00 UTC · Updated: 2025-10-22 00:05 UTC · Assigner: debian
- CVSS: 9.8 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 100.0%, 100th percentile (scored 2026-10-25)
- CISA KEV: yes, added 2022-01-28, federal due date 2022-07-28, ransomware use: Unknown

## 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.

## CISA required action

Apply updates per vendor instructions.

## Affected vendors and products

- GNU: Bourne-Again Shell (Bash)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2014-6271)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2014-6271)
- [http://jvn.jp/en/jp/JVN55667175/index.html](http://jvn.jp/en/jp/JVN55667175/index.html)
- [http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10673](http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10673)
- [http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00034.html](http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00034.html)
- [http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00037.html](http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00037.html)
- [http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00044.html](http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00044.html)
- [http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00049.html](http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00049.html)
- [http://lists.opensuse.org/opensuse-updates/2014-10/msg00025.html](http://lists.opensuse.org/opensuse-updates/2014-10/msg00025.html)
- [http://marc.info/?l=bugtraq&m=141216668515282&w=2](http://marc.info/?l=bugtraq&m=141216668515282&w=2)
- [http://marc.info/?l=bugtraq&m=141383026420882&w=2](http://marc.info/?l=bugtraq&m=141383026420882&w=2)
- [http://marc.info/?l=bugtraq&m=141383138121313&w=2](http://marc.info/?l=bugtraq&m=141383138121313&w=2)
- [http://marc.info/?l=bugtraq&m=141576728022234&w=2](http://marc.info/?l=bugtraq&m=141576728022234&w=2)
- [http://marc.info/?l=bugtraq&m=141577137423233&w=2](http://marc.info/?l=bugtraq&m=141577137423233&w=2)
- [http://marc.info/?l=bugtraq&m=141585637922673&w=2](http://marc.info/?l=bugtraq&m=141585637922673&w=2)
- [http://marc.info/?l=bugtraq&m=142358026505815&w=2](http://marc.info/?l=bugtraq&m=142358026505815&w=2)
- [http://marc.info/?l=bugtraq&m=142358078406056&w=2](http://marc.info/?l=bugtraq&m=142358078406056&w=2)
- [http://marc.info/?l=bugtraq&m=142719845423222&w=2](http://marc.info/?l=bugtraq&m=142719845423222&w=2)
- [http://marc.info/?l=bugtraq&m=142721162228379&w=2](http://marc.info/?l=bugtraq&m=142721162228379&w=2)
- [http://packetstormsecurity.com/files/128517/VMware-Security-Advisory-2014-0010.html](http://packetstormsecurity.com/files/128517/VMware-Security-Advisory-2014-0010.html)
- [http://rhn.redhat.com/errata/RHSA-2014-1295.html](http://rhn.redhat.com/errata/RHSA-2014-1295.html)
- [http://secunia.com/advisories/60433](http://secunia.com/advisories/60433)
- [http://secunia.com/advisories/61188](http://secunia.com/advisories/61188)
- [http://secunia.com/advisories/61442](http://secunia.com/advisories/61442)
- [http://secunia.com/advisories/61676](http://secunia.com/advisories/61676)
- [http://secunia.com/advisories/61715](http://secunia.com/advisories/61715)
- [http://secunia.com/advisories/61816](http://secunia.com/advisories/61816)
- [https://securityblog.redhat.com/2014/09/24/bash-specially-crafted-environment-variables-code-injection-attack/](https://securityblog.redhat.com/2014/09/24/bash-specially-crafted-environment-variables-code-injection-attack/)
- [https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit\_doGoviewsolutiondetails=&solutionid=sk102673&src=securityAlerts](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk102673&src=securityAlerts)
- [https://www.exploit-db.com/exploits/37816/](https://www.exploit-db.com/exploits/37816/)
- [https://www.exploit-db.com/exploits/38849/](https://www.exploit-db.com/exploits/38849/)
- [https://www.exploit-db.com/exploits/39918/](https://www.exploit-db.com/exploits/39918/)
- [https://www.exploit-db.com/exploits/40619/](https://www.exploit-db.com/exploits/40619/)
- [http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004897](http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004897)
- [http://www-01.ibm.com/support/docview.wss?uid=swg21685541](http://www-01.ibm.com/support/docview.wss?uid=swg21685541)
- [http://www-01.ibm.com/support/docview.wss?uid=swg21685749](http://www-01.ibm.com/support/docview.wss?uid=swg21685749)
- [http://www-01.ibm.com/support/docview.wss?uid=swg21686084](http://www-01.ibm.com/support/docview.wss?uid=swg21686084)
- [http://www-01.ibm.com/support/docview.wss?uid=swg21686479](http://www-01.ibm.com/support/docview.wss?uid=swg21686479)
- [http://www.oracle.com/technetwork/topics/security/bashcve-2014-7169-2317675.html](http://www.oracle.com/technetwork/topics/security/bashcve-2014-7169-2317675.html)
- [http://www.securityfocus.com/archive/1/533593/100/0/threaded](http://www.securityfocus.com/archive/1/533593/100/0/threaded)
- [http://www.websense.com/support/article/kbarticle/Vulnerabilities-resolved-in-TRITON-APX-Version-8-0](http://www.websense.com/support/article/kbarticle/Vulnerabilities-resolved-in-TRITON-APX-Version-8-0)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2014-6271 · Markdown: https://rewindex.com/cve/CVE-2014-6271.md · JSON: https://rewindex.com/api/v1/cves/CVE-2014-6271 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T01:59:16.763Z
