glibc: Buffer overflow during unescaping of user names with the ~ operator
Published Oct 22, 2017
9.8
CRITICALCVSS 3.0
EPSS 2.80%
Description
The glob function in glob.c in the GNU C Library (aka glibc or libc6) before 2.27 contains a buffer overflow during unescaping of user names with the ~ operator.
Affected products
No data.
No data.
Red Hat Enterprise Linux 6
glibc-0:2.12-1.212.el6
Fixed · RHSA-2018:1879
Red Hat Enterprise Linux 7
glibc-0:2.17-222.el7
Fixed · RHSA-2018:0805
Red Hat Enterprise Linux 5
compat-glibc
Not affected
Red Hat Enterprise Linux 5
glibc
Not affected
Red Hat Enterprise Linux 6
compat-glibc
Not affected
Red Hat Enterprise Linux 7
compat-glibc
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | glibc-0:2.12-1.212.el6 | Fixed | RHSA-2018:1879 |
| Red Hat Enterprise Linux 7 | glibc-0:2.17-222.el7 | Fixed | RHSA-2018:0805 |
| Red Hat Enterprise Linux 5 | compat-glibc | Not affected | n/a |
| Red Hat Enterprise Linux 5 | glibc | Not affected | n/a |
| Red Hat Enterprise Linux 6 | compat-glibc | Not affected | n/a |
| Red Hat Enterprise Linux 7 | compat-glibc | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
AV:N/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 v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (19 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.80% (0.02801) | 85.98th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.82% (0.02824) | 84.70th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.23% (0.00234) | 43.40th | v4 (v2025.03.14) |
| Mar 29, 2025 | 1.30% (0.01302) | 67.40th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.23% (0.00234) | 44.27th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.33% (0.00328) | 71.21th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.33% (0.00328) | 70.11th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.33% (0.00328) | 67.64th | v3 (v2023.03.01) |
| May 8, 2023 | 0.39% (0.00392) | 69.33th | v3 (v2023.03.01) |
| Mar 15, 2023 | 0.55% (0.00553) | 74.09th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.53% (0.00533) | 73.55th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.02% (0.01018) | 38.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.02% (0.01018) | 36.86th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.25% (0.01247) | 30.57th | v1 |
| Jan 6, 2022 | 1.25% (0.01247) | 29.93th | v1 |
| Sep 1, 2021 | 1.25% (0.01247) | 68.62th | v1 |
| Apr 14, 2021 | 1.25% (0.01247) | 0.00th | v1 |
References (9)
- http://www.securityfocus.com/bid/101535 vdb-entryx_refsource_BID
- https://access.redhat.com/errata/RHSA-2018:0805 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2018:1879 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2017-15804 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1505298 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2017-15804
- https://sourceware.org/bugzilla/show_bug.cgi?id=22332 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Ba=commit%3Bh=a159b53fa059947cc2548e3b0d5bdcf7b9630ba8 x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2017-15804
| Link | Providers | Tags |
|---|---|---|
| http://www.securityfocus.com/bid/101535 | vdb-entryx_refsource_BID | |
| https://access.redhat.com/errata/RHSA-2018:0805 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/errata/RHSA-2018:1879 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/security/cve/CVE-2017-15804 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1505298 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-15804 | ||
| https://sourceware.org/bugzilla/show_bug.cgi?id=22332 | x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory | |
| https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Ba=commit%3Bh=a159b53fa059947cc2548e3b0d5bdcf7b9630ba8 | x_refsource_CONFIRM | |
| https://www.cve.org/CVERecord?id=CVE-2017-15804 |
Change history (0)
No recorded changes yet.