CVE-2016-0634
publishedbash: Arbitrary code execution via malicious hostname
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | oracle |
| Alpine Linux | edge | bash | Fixed | 4.4.12-r1 | Package fix record |
| Oracle Linux | 6 | bashi686 | Advisory build | 0:4.1.2-48.el6 | ELSA-2017-0725 |
| Red Hat Enterprise Linux | RHEL-6 | bashi686 | Advisory build | 4.1.2-48.el6 | RHSA-2017:0725 |
| SUSE / openSUSE | SLE-11-SP4 | libreadline5i586 | Advisory build | 5.2-147.29.1 | SUSE-SU-2017:0302-1 |
| Alpine Linux | v3.10 | bash | Fixed | 4.4.12-r1 | Package fix record |
| Alpine Linux | v3.11 | bash | Fixed | 4.4.12-r1 | Package fix record |
| Alpine Linux | v3.12 | bash | Fixed | 4.4.12-r1 | Package fix record |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.13 | bash | Fixed | 4.4.12-r1 | Package fix record |
| Alpine Linux | v3.14 | bash | Fixed | 4.4.12-r1 | Package fix record |
| Alpine Linux | v3.15 | bash | Fixed | 4.4.12-r1 | Package fix record |
| Alpine Linux | v3.16 | bash | Fixed | 4.4.12-r1 | Package fix record |
| Alpine Linux | v3.17 | bash | Fixed | 4.4.12-r1 | Package fix record |
| Alpine Linux | v3.18 | bash | Fixed | 4.4.12-r1 | Package fix record |
| Alpine Linux | v3.19 | bash | Fixed | 4.4.12-r1 | Package fix record |
| Alpine Linux | v3.20 | bash | Fixed | 4.4.12-r1 | Package fix record |
| Alpine Linux | v3.21 | bash | Fixed | 4.4.12-r1 | Package fix record |
| Alpine Linux | v3.22 | bash | Fixed | 4.4.12-r1 | Package fix record |
| Alpine Linux | v3.23 | bash | Fixed | 4.4.12-r1 | Package fix record |
| Alpine Linux | v3.24 | bash | Fixed | 4.4.12-r1 | Package fix record |
| Alpine Linux | v3.7 | bash | Fixed | 4.4.12-r1 | Package fix record |
| Alpine Linux | v3.8 | bash | Fixed | 4.4.12-r1 | Package fix record |
| Alpine Linux | v3.9 | bash | Fixed | 4.4.12-r1 | Package fix record |
| Oracle Linux | 6 | bashsparc64 | Advisory build | 0:4.1.2-48.el6 | ELSA-2017-0725 |
| Oracle Linux | 6 | bashx86_64 | Advisory build | 0:4.1.2-48.el6 | ELSA-2017-0725 |
| Oracle Linux | 6 | bash-doci686 | Advisory build | 0:4.1.2-48.el6 | ELSA-2017-0725 |
| Oracle Linux | 6 | bash-docsparc64 | Advisory build | 0:4.1.2-48.el6 | ELSA-2017-0725 |
| Oracle Linux | 6 | bash-docx86_64 | Advisory build | 0:4.1.2-48.el6 | ELSA-2017-0725 |
| Oracle Linux | 7 | bashaarch64 | Advisory build | 0:4.2.46-28.el7 | ELSA-2017-1931 |
| Oracle Linux | 7 | bashx86_64 | Advisory build | 0:4.2.46-28.el7 | ELSA-2017-1931 |
| Oracle Linux | 7 | bash-docaarch64 | Advisory build | 0:4.2.46-28.el7 | ELSA-2017-1931 |
| Oracle Linux | 7 | bash-docx86_64 | Advisory build | 0:4.2.46-28.el7 | ELSA-2017-1931 |
| Red Hat Enterprise Linux | RHEL-6 | bashppc64 | Advisory build | 4.1.2-48.el6 | RHSA-2017:0725 |
| Red Hat Enterprise Linux | RHEL-6 | bashs390x | Advisory build | 4.1.2-48.el6 | RHSA-2017:0725 |
| Red Hat Enterprise Linux | RHEL-6 | bashsrc | Advisory build | 4.1.2-48.el6 | RHSA-2017:0725 |
| Red Hat Enterprise Linux | RHEL-6 | bashx86_64 | Advisory build | 4.1.2-48.el6 | RHSA-2017:0725 |
| Red Hat Enterprise Linux | RHEL-6 | bash-debuginfoi686 | Advisory build | 4.1.2-48.el6 | RHSA-2017:0725 |
| Red Hat Enterprise Linux | RHEL-6 | bash-debuginfoppc64 | Advisory build | 4.1.2-48.el6 | RHSA-2017:0725 |
| Red Hat Enterprise Linux | RHEL-6 | bash-debuginfos390x | Advisory build | 4.1.2-48.el6 | RHSA-2017:0725 |
| Red Hat Enterprise Linux | RHEL-6 | bash-debuginfox86_64 | Advisory build | 4.1.2-48.el6 | RHSA-2017:0725 |
| Red Hat Enterprise Linux | RHEL-6 | bash-doci686 | Advisory build | 4.1.2-48.el6 | RHSA-2017:0725 |
| Red Hat Enterprise Linux | RHEL-6 | bash-docppc64 | Advisory build | 4.1.2-48.el6 | RHSA-2017:0725 |
| Red Hat Enterprise Linux | RHEL-6 | bash-docs390x | Advisory build | 4.1.2-48.el6 | RHSA-2017:0725 |
| Red Hat Enterprise Linux | RHEL-6 | bash-docx86_64 | Advisory build | 4.1.2-48.el6 | RHSA-2017:0725 |
| Red Hat Enterprise Linux | RHEL-7 | bashaarch64 | Advisory build | 4.2.46-28.el7 | RHSA-2017:1931 |
| Red Hat Enterprise Linux | RHEL-7 | bashppc64 | Advisory build | 4.2.46-28.el7 | RHSA-2017:1931 |
| Red Hat Enterprise Linux | RHEL-7 | bashppc64le | Advisory build | 4.2.46-28.el7 | RHSA-2017:1931 |
| Red Hat Enterprise Linux | RHEL-7 | bashs390x | Advisory build | 4.2.46-28.el7 | RHSA-2017:1931 |
| Red Hat Enterprise Linux | RHEL-7 | bashsrc | Advisory build | 4.2.46-28.el7 | RHSA-2017:1931 |
| Red Hat Enterprise Linux | RHEL-7 | bashx86_64 | Advisory build | 4.2.46-28.el7 | RHSA-2017:1931 |
| Red Hat Enterprise Linux | RHEL-7 | bash-debuginfoaarch64 | Advisory build | 4.2.46-28.el7 | RHSA-2017:1931 |
| Red Hat Enterprise Linux | RHEL-7 | bash-debuginfoppc64 | Advisory build | 4.2.46-28.el7 | RHSA-2017:1931 |
| Red Hat Enterprise Linux | RHEL-7 | bash-debuginfoppc64le | Advisory build | 4.2.46-28.el7 | RHSA-2017:1931 |
| Red Hat Enterprise Linux | RHEL-7 | bash-debuginfos390x | Advisory build | 4.2.46-28.el7 | RHSA-2017:1931 |
| Red Hat Enterprise Linux | RHEL-7 | bash-debuginfox86_64 | Advisory build | 4.2.46-28.el7 | RHSA-2017:1931 |
| Red Hat Enterprise Linux | RHEL-7 | bash-docaarch64 | Advisory build | 4.2.46-28.el7 | RHSA-2017:1931 |
| Red Hat Enterprise Linux | RHEL-7 | bash-docppc64 | Advisory build | 4.2.46-28.el7 | RHSA-2017:1931 |
| Red Hat Enterprise Linux | RHEL-7 | bash-docppc64le | Advisory build | 4.2.46-28.el7 | RHSA-2017:1931 |
| Red Hat Enterprise Linux | RHEL-7 | bash-docs390x | Advisory build | 4.2.46-28.el7 | RHSA-2017:1931 |
| Red Hat Enterprise Linux | RHEL-7 | bash-docx86_64 | Advisory build | 4.2.46-28.el7 | RHSA-2017:1931 |
| SUSE / openSUSE | SLE-11-SP4 | libreadline5x86_64 | Advisory build | 5.2-147.29.1 | SUSE-SU-2017:0302-1 |
| SUSE / openSUSE | SLE-11-SP4 | readline-develi586 | Advisory build | 5.2-147.29.1 | SUSE-SU-2017:0302-1 |
| SUSE / openSUSE | SLE-11-SP4 | readline-develia64 | Advisory build | 5.2-147.29.1 | SUSE-SU-2017:0302-1 |
| SUSE / openSUSE | SLE-11-SP4 | readline-develppc64 | Advisory build | 5.2-147.29.1 | SUSE-SU-2017:0302-1 |
| SUSE / openSUSE | SLE-11-SP4 | readline-devels390x | Advisory build | 5.2-147.29.1 | SUSE-SU-2017:0302-1 |
| SUSE / openSUSE | SLE-11-SP4 | readline-develx86_64 | Advisory build | 5.2-147.29.1 | SUSE-SU-2017:0302-1 |
| SUSE / openSUSE | SLE-11-SP4 | readline-devel-32bitppc64 | Advisory build | 5.2-147.29.1 | SUSE-SU-2017:0302-1 |
| SUSE / openSUSE | SLE-11-SP4 | readline-devel-32bits390x | Advisory build | 5.2-147.29.1 | SUSE-SU-2017:0302-1 |
| SUSE / openSUSE | SLE-11-SP4 | readline-devel-32bitx86_64 | Advisory build | 5.2-147.29.1 | SUSE-SU-2017:0302-1 |
| SUSE / openSUSE | SLE-12 | sles12-docker-imageppc64le | Advisory build | 1.1.4-20171002 | SUSE-SU-2017:2699-1 |
| SUSE / openSUSE | SLE-12 | sles12-docker-images390x | Advisory build | 1.1.4-20171002 | SUSE-SU-2017:2699-1 |
| SUSE / openSUSE | SLE-12 | sles12-docker-imagex86_64 | Advisory build | 1.1.4-20171002 | SUSE-SU-2017:2699-1 |
| SUSE / openSUSE | SLE-12 | sles12sp1-docker-imageppc64le | Advisory build | 1.0.7-20171002 | SUSE-SU-2017:2700-1 |
| SUSE / openSUSE | SLE-12 | sles12sp1-docker-images390x | Advisory build | 1.0.7-20171002 | SUSE-SU-2017:2700-1 |
| SUSE / openSUSE | SLE-12 | sles12sp1-docker-imagex86_64 | Advisory build | 1.0.7-20171002 | SUSE-SU-2017:2700-1 |
| SUSE / openSUSE | SLE-12-SP1 | bashppc64le | Advisory build | 4.2-82.1 | SUSE-SU-2016:2872-1 |
| SUSE / openSUSE | SLE-12-SP1 | bashs390x | Advisory build | 4.2-82.1 | SUSE-SU-2016:2872-1 |
| SUSE / openSUSE | SLE-12-SP1 | bashx86_64 | Advisory build | 4.2-82.1 | SUSE-SU-2016:2872-1 |
| SUSE / openSUSE | SLE-12-SP1 | bash-develppc64le | Advisory build | 4.2-82.1 | SUSE-SU-2016:2872-1 |
| SUSE / openSUSE | SLE-12-SP1 | bash-devels390x | Advisory build | 4.2-82.1 | SUSE-SU-2016:2872-1 |
| SUSE / openSUSE | SLE-12-SP1 | bash-develx86_64 | Advisory build | 4.2-82.1 | SUSE-SU-2016:2872-1 |
| SUSE / openSUSE | SLE-12-SP1 | bash-docnoarch | Advisory build | 4.2-82.1 | SUSE-SU-2016:2872-1 |
| SUSE / openSUSE | SLE-12-SP1 | bash-langnoarch | Advisory build | 4.2-82.1 | SUSE-SU-2016:2872-1 |
| SUSE / openSUSE | SLE-12-SP1 | libreadline6ppc64le | Advisory build | 6.2-82.1 | SUSE-SU-2016:2872-1 |
| SUSE / openSUSE | SLE-12-SP1 | libreadline6s390x | Advisory build | 6.2-82.1 | SUSE-SU-2016:2872-1 |
| SUSE / openSUSE | SLE-12-SP1 | libreadline6x86_64 | Advisory build | 6.2-82.1 | SUSE-SU-2016:2872-1 |
| SUSE / openSUSE | SLE-12-SP1 | libreadline6-32bits390x | Advisory build | 6.2-82.1 | SUSE-SU-2016:2872-1 |
| SUSE / openSUSE | SLE-12-SP1 | libreadline6-32bitx86_64 | Advisory build | 6.2-82.1 | SUSE-SU-2016:2872-1 |
| SUSE / openSUSE | SLE-12-SP1 | readline-develppc64le | Advisory build | 6.2-82.1 | SUSE-SU-2016:2872-1 |
| SUSE / openSUSE | SLE-12-SP1 | readline-devels390x | Advisory build | 6.2-82.1 | SUSE-SU-2016:2872-1 |
| SUSE / openSUSE | SLE-12-SP1 | readline-develx86_64 | Advisory build | 6.2-82.1 | SUSE-SU-2016:2872-1 |
| SUSE / openSUSE | SLE-12-SP1 | readline-docnoarch | Advisory build | 6.2-82.1 | SUSE-SU-2016:2872-1 |
| SUSE / openSUSE | SLE-12-SP2 | bashppc64le | Advisory build | 4.3-83.10.1 | SUSE-SU-2018:1398-1 |
| SUSE / openSUSE | SLE-12-SP2 | bashs390x | Advisory build | 4.3-83.10.1 | SUSE-SU-2018:1398-1 |
| SUSE / openSUSE | SLE-12-SP2 | bashx86_64 | Advisory build | 4.3-83.10.1 | SUSE-SU-2018:1398-1 |
| SUSE / openSUSE | SLE-12-SP2 | bashx86_64 | Advisory build | 4.3-83.10.1 | SUSE-SU-2018:1398-2 |
| SUSE / openSUSE | SLE-12-SP2 | bash-docnoarch | Advisory build | 4.3-83.10.1 | SUSE-SU-2018:1398-1 |
| SUSE / openSUSE | SLE-12-SP2 | bash-docnoarch | Advisory build | 4.3-83.10.1 | SUSE-SU-2018:1398-2 |
| SUSE / openSUSE | SLE-12-SP2 | libreadline6ppc64le | Advisory build | 6.3-83.10.1 | SUSE-SU-2018:1398-1 |
| SUSE / openSUSE | SLE-12-SP2 | libreadline6s390x | Advisory build | 6.3-83.10.1 | SUSE-SU-2018:1398-1 |
| SUSE / openSUSE | SLE-12-SP2 | libreadline6x86_64 | Advisory build | 6.3-83.10.1 | SUSE-SU-2018:1398-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | oracle · cna |
Weaknesses
1- n/a
References
15- RHSA-2017:0725 http://rhn.redhat.com/errata/RHSA-2017-0725.html
- [oss-security] 20160916 Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME http://www.openwall.com/lists/oss-security/2016/09/16/12
- [oss-security] 20160916 CVE-2016-0634 -- bash prompt expanding $HOSTNAME http://www.openwall.com/lists/oss-security/2016/09/16/8
- [oss-security] 20160918 Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME http://www.openwall.com/lists/oss-security/2016/09/18/11
- [oss-security] 20160919 Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME http://www.openwall.com/lists/oss-security/2016/09/19/7
- [oss-security] 20160920 Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME http://www.openwall.com/lists/oss-security/2016/09/20/1
- [oss-security] 20160927 Re: Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME http://www.openwall.com/lists/oss-security/2016/09/27/9
- [oss-security] 20160929 Re: Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME http://www.openwall.com/lists/oss-security/2016/09/29/27
- [oss-security] 20161007 Re: Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME http://www.openwall.com/lists/oss-security/2016/10/07/6
- [oss-security] 20161010 RE: Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME http://www.openwall.com/lists/oss-security/2016/10/10/3
- [oss-security] 20161010 Re: Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME http://www.openwall.com/lists/oss-security/2016/10/10/4
- 92999 http://www.securityfocus.com/bid/92999
- RHSA-2017:1931 https://access.redhat.com/errata/RHSA-2017:1931
- https://bugzilla.redhat.com/show_bug.cgi?id=1377613
- GLSA-201612-39 https://security.gentoo.org/glsa/201612-39
Provider assertions
3oracle · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 682fb331ddbca4327aa097e48372415136989a392d54465a50d3444b860958a3
- Ingested
- 23 Sep 2026, 07:41:00 UTC
- Source record
- Official CVE record