cve.bz

CVE-2016-0634 gnu bash: OS Command Injection

7.5 highEPSS 6.1%Fix available

High (7.5) in gnu bash. EPSS 6.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
6.1% (unchanged from 6.1% a week ago; 6.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-10-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-0634 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-0634?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-0634?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-0634 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnu:bash4.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14bash4.4-1DEBIAN-CVE-2016-0634
Ubuntu14.04:LTSbash4.3-7ubuntu1.7UBUNTU-CVE-2016-0634 USN-3294-1
Ubuntu16.04:LTSbash4.3-14ubuntu1.2UBUNTU-CVE-2016-0634 USN-3294-1
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morebash, bash-doc, bash-debuginfo0:4.1.2-48.el6RHSA-2017:0725
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morebash, bash-doc, bash-debuginfo0:4.2.46-28.el7RHSA-2017:1931
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP2-LTSS and 6 morebash4.3-83.10.1SUSE-SU-2018:1398-1
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Server 12 SP1, Linux Enterprise Server for SAP Applications 12 SP1 and 2 morebash4.2-82.1SUSE-SU-2016:2872-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4bash3.2-147.29.1SUSE-SU-2017:0302-1
SUSELinux Enterprise Server 12 SP2-BCLbash4.3-83.10.1SUSE-SU-2018:1398-2
Alpinev3.7, v3.8, v3.9 and 15 morebash4.4.12-r1ALPINE-CVE-2016-0634

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6bash-0:4.1.2-48.el6Fixed 2017-03-21RHSA-2017:0725
Red Hat Enterprise Linux 7bash-0:4.2.46-28.el7Fixed 2017-08-01RHSA-2017:1931
Red Hat Enterprise Linux 5bashWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-0634.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON