VDB
CVE-2016-0634
CVE-2016-0634
PUBLISHED
Reported by oracle · Published August 28, 2017
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.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| alpine | bash | 0 |
Timeline
- Sep 16, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 5, 2026 Security Advisory (4 in total, the first dated here)
- Oct 10, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-0634
vulnetix vdb fixes CVE-2016-0634
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-0634/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [oss-security] 20160927 Re: Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME mailing-listx_refsource_MLIST
- [oss-security] 20160916 CVE-2016-0634 -- bash prompt expanding $HOSTNAME mailing-listx_refsource_MLIST
- RHSA-2017:0725 vendor-advisoryx_refsource_REDHAT
- [oss-security] 20160929 Re: Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME mailing-listx_refsource_MLIST
- [oss-security] 20160920 Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME mailing-listx_refsource_MLIST
- 92999 vdb-entryx_refsource_BID
- RHSA-2017:1931 vendor-advisoryx_refsource_REDHAT
- [oss-security] 20161007 Re: Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME mailing-listx_refsource_MLIST
- [oss-security] 20160918 Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME mailing-listx_refsource_MLIST
- [oss-security] 20160919 Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME mailing-listx_refsource_MLIST
- [oss-security] 20161010 Re: Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME mailing-listx_refsource_MLIST
- [oss-security] 20160916 Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME mailing-listx_refsource_MLIST
- GLSA-201612-39 vendor-advisoryx_refsource_GENTOO
- x_refsource_CONFIRM
- [oss-security] 20161010 RE: Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME mailing-listx_refsource_MLIST