← Vulnerability feed

Vulnerability record · CVE-2016-0634 · published 28 August 2017

CVE-2016-0634: Gnu bash os command injection vulnerability

Gnu · Bash

The expansion of '\h' in the prompt string in bash 4.3 allows remote authenticated users to execute arbitrary code via shell metacharacters placed in 'hostname' of a machine.

7.5 CVSS 3.0 High EPSS 6.0% · top 6.9% CWE-78 · OS command injection
7.5CVSS 3.0 base score, v2 6.0
6.0%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
30References
17 Jun 2026Last modified by NVD

Description

The expansion of '\h' in the prompt string in bash 4.3 allows remote authenticated users to execute arbitrary code via shell metacharacters placed in 'hostname' of a machine.

CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://rhn.redhat.com/errata/RHSA-2017-0725.html
http://www.openwall.com/lists/oss-security/2016/09/16/12 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/09/16/8 Mailing ListPatchThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/09/18/11 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/09/19/7 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/09/20/1 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/09/27/9 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/09/29/27 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/10/07/6 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/10/10/3 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/10/10/4 Mailing ListThird Party Advisory
http://www.securityfocus.com/bid/92999 Third Party AdvisoryVDB Entry
https://access.redhat.com/errata/RHSA-2017:1931
https://bugzilla.redhat.com/show_bug.cgi?id=1377613 Issue TrackingPatchThird Party AdvisoryVDB Entry
https://security.gentoo.org/glsa/201612-39 Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2017-0725.html
http://www.openwall.com/lists/oss-security/2016/09/16/12 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/09/16/8 Mailing ListPatchThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/09/18/11 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/09/19/7 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/09/20/1 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/09/27/9 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/09/29/27 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/10/07/6 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/10/10/3 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2016/10/10/4 Mailing ListThird Party Advisory
http://www.securityfocus.com/bid/92999 Third Party AdvisoryVDB Entry
https://access.redhat.com/errata/RHSA-2017:1931
https://bugzilla.redhat.com/show_bug.cgi?id=1377613 Issue TrackingPatchThird Party AdvisoryVDB Entry
https://security.gentoo.org/glsa/201612-39 Third Party Advisory

Track CVE-2016-0634 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2014-7169GNU Bash environment variable function parsing command injection (Shellshock variant)GNU Bash through 4.3 bash43-025 processes trailing strings after malformed function definitions in environment variable values, allowing command inje…KEVEPSS 100%analysed9.8CVE-2014-6271GNU Bash environment variable command injection (ShellShock)GNU Bash through 4.3 processes trailing strings after function definitions in environment variable values, allowing injected commands to run when Bas…KEVEPSS 100%analysed8.8CVE-2014-6278GNU Bash environment function parsing command injectionGNU Bash through 4.3 bash43-026 fails to properly parse function definitions in environment variable values, allowing command injection when the envi…KEVEPSS 100%analysed10.0CVE-2014-7186GNU Bash redirection stack out-of-bounds access via here documentsThe redirection implementation in parse.y in GNU Bash through 4.3 bash43-026 mishandles here documents, causing an out-of-bounds array access in the …EPSS 66%analysed10.0CVE-2014-7187GNU Bash off-by-one in read_token_word causes crashGNU Bash through 4.3 bash43-026 contains an off-by-one error in the read_token_word function in parse.y, the 'word_lineno' issue. Deeply nested for l…EPSS 65%analysed10.0CVE-2014-6277GNU Bash environment function parsing flaw allows command executionGNU Bash through 4.3 bash43-026 fails to properly parse function definitions in environment variable values, allowing crafted environments to trigger…EPSS 70%analysed8.4CVE-2016-7543Gnu bash improper input validation vulnerabilityBash before 4.4 allows local users to execute arbitrary commands with root privileges via crafted SHELLOPTS and PS4 environment variables.EPSS 0.58%7.8CVE-2022-3715Gnu bash memory buffer overflow vulnerabilityA flaw was found in the bash package, where a heap-buffer overflow can occur in valid parameter_transform. This issue may lead to memory problems.EPSS 0.36%

Source: NIST National Vulnerability Database (record CVE-2016-0634), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.