bash: Code execution in bash autocompletion
Published Mar 27, 2017
7.8
HIGHCVSS 3.0
EPSS 0.43%
Description
The path autocompletion feature in Bash 4.4 allows local users to gain privileges via a crafted filename starting with a " (double quote) character and a command substitution metacharacter.
Affected products
No data.
No data.
Red Hat Enterprise Linux 5
bash
Not affected
Red Hat Enterprise Linux 6
bash
Not affected
Red Hat Enterprise Linux 7
bash
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | bash | Not affected | n/a |
| Red Hat Enterprise Linux 6 | bash | Not affected | n/a |
| Red Hat Enterprise Linux 7 | bash | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of bash as shipped with Red Hat Enterprise Linux as they did not include the commit which introduced it.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:L/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (8 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.43% (0.00425) | 34.50th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.43% (0.00425) | 36.44th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.04% (0.00042) | 5.06th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00950) | 32.28th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.95% (0.00950) | 13.46th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.56% (0.00555) | 12.81th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.56% (0.00555) | 0.00th | v1 |
References (9)
- http://git.savannah.gnu.org/cgit/bash.git/commit/?id=4f747edc625815f449048579f6e65869914dd715 x_refsource_CONFIRMPatchThird Party Advisory
- http://www.openwall.com/lists/oss-security/2017/02/08/3 mailing-listx_refsource_MLISTMailing ListPatchThird Party Advisory
- http://www.securityfocus.com/bid/96136 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2017-5932 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1420674 Issue Tracking
- https://github.com/jheyens/bash_completion_vuln/blob/master/2017-01-17.bash_completion_report.pdf
- https://lists.gnu.org/archive/html/bug-bash/2017-01/msg00034.html mailing-listx_refsource_MLISTMailing ListPatchVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-5932
- https://www.cve.org/CVERecord?id=CVE-2017-5932
| Link | Providers | Tags |
|---|---|---|
| http://git.savannah.gnu.org/cgit/bash.git/commit/?id=4f747edc625815f449048579f6e65869914dd715 | x_refsource_CONFIRMPatchThird Party Advisory | |
| http://www.openwall.com/lists/oss-security/2017/02/08/3 | mailing-listx_refsource_MLISTMailing ListPatchThird Party Advisory | |
| http://www.securityfocus.com/bid/96136 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/security/cve/CVE-2017-5932 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1420674 | Issue Tracking | |
| https://github.com/jheyens/bash_completion_vuln/blob/master/2017-01-17.bash_completion_report.pdf | ||
| https://lists.gnu.org/archive/html/bug-bash/2017-01/msg00034.html | mailing-listx_refsource_MLISTMailing ListPatchVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-5932 | ||
| https://www.cve.org/CVERecord?id=CVE-2017-5932 |
Change history (0)
No recorded changes yet.