The glob function in glob.c in the GNU C Library (aka glibc or libc6) before 2.27…
Priority MEDIUM 47CWE-119Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 18 fixed, 1 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.02801 86th percentileScored 2026-11-07
Fix Partial Red Hat: 2 advisoriesRed Hat: 18 fixed, 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 2 advisories
- RHSA-2018:1879 Released 2018-06-19 · Red Hat rating Moderateglibc security and bug fix update
- Red Hat Enterprise Linux Desktop (v. 6) glibc-2.12-1.212.el6, glibc-common-2.12-1.212.el6, glibc-devel-2.12-1.212.el6 +3
- Red Hat Enterprise Linux Desktop Optional (v. 6) glibc-static-2.12-1.212.el6
- Red Hat Enterprise Linux HPC Node (v. 6) glibc-2.12-1.212.el6, glibc-common-2.12-1.212.el6, glibc-devel-2.12-1.212.el6 +3
- Red Hat Enterprise Linux HPC Node Optional (v. 6) glibc-static-2.12-1.212.el6
- Red Hat Enterprise Linux Server (v. 6) glibc-2.12-1.212.el6, glibc-2.12-1.212.el6.ppc, glibc-common-2.12-1.212.el6 +5
- Red Hat Enterprise Linux Server Optional (v. 6) glibc-static-2.12-1.212.el6, glibc-static-2.12-1.212.el6.ppc
- Red Hat Enterprise Linux Workstation (v. 6) glibc-2.12-1.212.el6, glibc-common-2.12-1.212.el6, glibc-devel-2.12-1.212.el6 +3
- Red Hat Enterprise Linux Workstation Optional (v. 6) glibc-static-2.12-1.212.el6
- RHSA-2018:0805 Released 2018-04-10 · Red Hat rating Moderateglibc security, bug fix, and enhancement update
- Red Hat Enterprise Linux Client (v. 7) glibc-2.17-222.el7, glibc-common-2.17-222.el7, glibc-devel-2.17-222.el7 +3
- Red Hat Enterprise Linux Client Optional (v. 7) glibc-static-2.17-222.el7
- Red Hat Enterprise Linux ComputeNode (v. 7) glibc-2.17-222.el7, glibc-common-2.17-222.el7, glibc-devel-2.17-222.el7 +3
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) glibc-static-2.17-222.el7
- Red Hat Enterprise Linux Server (v. 7) glibc-2.17-222.el7, glibc-2.17-222.el7.ppc, glibc-common-2.17-222.el7 +5
- Red Hat Enterprise Linux Server Optional (v. 7) glibc-static-2.17-222.el7, glibc-static-2.17-222.el7.ppc
- Red Hat Enterprise Linux Workstation (v. 7) glibc-2.17-222.el7, glibc-common-2.17-222.el7, glibc-devel-2.17-222.el7 +3
- Red Hat Enterprise Linux Workstation Optional (v. 7) glibc-static-2.17-222.el7
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) glibc-2.17-222.el7, glibc-common-2.17-222.el7, glibc-devel-2.17-222.el7 +3
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) glibc-static-2.17-222.el7
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2018:0805 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2018:0805 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2018:0805 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2018:0805 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2018:1879 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2018:1879 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2018:1879 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2018:1879 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2018:1879 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:0805 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2018:1879 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2018:0805 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2018:1879 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:0805 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2018:1879 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2018:0805 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) | Fixed | RHSA-2018:0805 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) | Fixed | RHSA-2018:0805 |
Not affected: 2 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2017-15804
- 2026-10-03 Alias added: GHSA-3r84-39rf-qwh3
References
More GNU Glibc vulnerabilities
- TI-2023-04522 Glibc: buffer overflow in ld.so leading to privilege escalation KEVCVSS 3.1HIGH 7.8
- TI-2015-00205 Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and… CVSS 2.0HIGH 10.0
- TI-2026-04772 scanf %mc off-by-one heap buffer overflow CVSS 3.1CRITICAL 9.8
- TI-2022-07360 The deprecated compatibility function clnt_create in the sunrpc module of the GNU C… CVSS 3.1CRITICAL 9.8
- TI-2022-07359 The deprecated compatibility function svcunix_create in the sunrpc module of the GNU C… CVSS 3.1CRITICAL 9.8
- TI-2015-06274 Multiple stack-based buffer overflows in the (1) send_dg and (2) send_vc functions in the… CVSS 3.0HIGH 8.1
Sources
- CVE-2017-15804 · CVE Program
- CVE-2017-15804 · NVD
- FIRST EPSS
- GHSA-3r84-39rf-qwh3 · GitHub Advisory Database · CC BY 4.0
- CVE-2017-15804 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences