CVE-2014-6277

critical
Published 2014-09-27 ยท Modified 2026-05-06
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
10.0

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-36933 remote linux verified
fdiskyou ยท 2014-09-29

dhclient 4.1 - Bash Environment Variable Command Injection (Shellshock)

Source code queued for fetch โ€” refresh in a moment.
EDB-35081 dos linux verified
Michal Zalewski ยท 2014-10-27

Binary File Descriptor Library (libbfd) - Out-of-Bounds Crash

Source code queued for fetch โ€” refresh in a moment.
EDB-34860 remote linux
@0x00string ยท 2014-10-02

GNU bash 4.3.11 - Environment Variable dhclient

Source code queued for fetch โ€” refresh in a moment.

OS impact

arch Arch Fixed 1 release
VersionStatusFixed in
โ€” Fixed 4.3.027-1
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 4.3-9.2
sid Fixed 4.3-9.2
forky Fixed 4.3-9.2
bullseye Fixed 4.3-9.2
bookworm Fixed 4.3-9.2

Application impact

VendorProductVersionsFixed
gnubash1.14.0
gnubash1.14.1
gnubash1.14.2
gnubash1.14.3
gnubash1.14.4
gnubash1.14.5
gnubash1.14.6
gnubash1.14.7
gnubash2.0
gnubash2.01
gnubash2.01.1
gnubash2.02
gnubash2.02.1
gnubash2.03
gnubash2.04
gnubash2.05
gnubash3.0
gnubash3.0.16
gnubash3.1
gnubash3.2
gnubash3.2.48
gnubash4.0
gnubash4.1
gnubash4.2
gnubash4.3

References

CWEs

CWE-78

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.