{"id":"UBUNTU-CVE-2016-0634","details":"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.","modified":"2026-02-04T02:55:52.679597Z","published":"2016-09-16T00:00:00Z","related":["USN-3294-1"],"upstream":["CVE-2016-0634"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-0634"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2016/09/16/8"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3294-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-0634"}],"affected":[{"package":{"name":"bash","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/bash@4.3-7ubuntu1.7?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3-7ubuntu1.7"}]}],"versions":["4.2-5ubuntu3","4.3-1ubuntu2","4.3-2ubuntu1","4.3-3ubuntu1","4.3-4ubuntu1","4.3-4ubuntu2","4.3-6ubuntu1","4.3-7ubuntu1","4.3-7ubuntu1.1","4.3-7ubuntu1.2","4.3-7ubuntu1.3","4.3-7ubuntu1.4","4.3-7ubuntu1.5","4.3-7ubuntu1.6"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"4.3-7ubuntu1.7","binary_name":"bash"},{"binary_version":"4.3-7ubuntu1.7","binary_name":"bash-builtins"},{"binary_version":"4.3-7ubuntu1.7","binary_name":"bash-static"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-0634.json"}},{"package":{"name":"bash","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/bash@4.3-14ubuntu1.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3-14ubuntu1.2"}]}],"versions":["4.3-14ubuntu1","4.3-14ubuntu1.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"4.3-14ubuntu1.2","binary_name":"bash"},{"binary_version":"4.3-14ubuntu1.2","binary_name":"bash-builtins"},{"binary_version":"4.3-14ubuntu1.2","binary_name":"bash-static"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-0634.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}