Skip to content
Fencer Intel
critical 9.8

CVE-2017-15804 json

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 name…

published 2017-10-22 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-7227

cvss
9.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.8%
EPSS 2.8% chance of exploitation in 30 days, percentile 86%
public exploits
0
none known

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.

Patch / fix

  • glibc Debian 14, Debian 13, Debian 12 2.25-3

debian advisories DEBIAN-CVE-2017-15804

  • glibc Ubuntu 16.04 LTS 2.23-0ubuntu10
  • eglibc Ubuntu 14.04 LTS 2.19-0ubuntu6.14

ubuntu advisories UBUNTU-CVE-2017-15804

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • glibc RHEL 6 2.12-1.212.el6
  • nscd RHEL 6 2.12-1.212.el6
  • glibc-utils RHEL 6 2.12-1.212.el6
  • glibc-common RHEL 6 2.12-1.212.el6
  • glibc-debuginfo-common RHEL 6 2.12-1.212.el6
  • glibc RHEL 7 2.17-222.el7
  • nscd RHEL 7 2.17-222.el7
  • glibc-utils RHEL 7 2.17-222.el7

red hat advisories RHSA-2018:1879RHSA-2018:0805

  • glibc SLES for SAP 11 SP4, SLES 11 SP4, SLES 11 SP3-TERADATA +3 more 2.11.3-17.110.19.2
  • glibc SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2 +6 more 2.22-62.3.4
  • glibc SLES 12-LTSS 2.19-22.27.958
  • glibc SLES for SAP 12 SP1, SLES 12 SP1-LTSS 2.19-40.16.950

suse advisories SUSE-SU-2018:2883-1SUSE-SU-2018:2187-1SUSE-SU-2018:2185-1SUSE-SU-2018:0074-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-15804 updated cvss 5.5

glibc: Buffer overflow during unescaping of user names with the ~ operator

  • Red Hat Enterprise Linux 7 compat-glibc
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client (v. 7) nscd 2.17-222.el7, glibc 2.17-222.el7, glibc-utils 2.17-222.el7, glibc-common 2.17-222.el7, glibc-debuginfo-common 2.17-222.el7 Red Hat Enterprise Linux Client Optional (v. 7) glibc-debuginfo-common 2.17-222.el7 Red Hat Enterprise Linux ComputeNode (v. 7) nscd 2.17-222.el7, glibc 2.17-222.el7, glibc-utils 2.17-222.el7, glibc-common 2.17-222.el7, glibc-debuginfo-common 2.17-222.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) glibc-debuginfo-common 2.17-222.el7
    fixed: vendor fix RHSA-2018:0805
  • Red Hat Enterprise Linux Desktop (v. 6) nscd 2.12-1.212.el6, glibc 2.12-1.212.el6, glibc-utils 2.12-1.212.el6, glibc-common 2.12-1.212.el6, glibc-debuginfo-common 2.12-1.212.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) glibc-debuginfo-common 2.12-1.212.el6
    fixed: vendor fix RHSA-2018:1879
  • Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) nscd 2.17-222.el7, glibc 2.17-222.el7, glibc-utils 2.17-222.el7, glibc-common 2.17-222.el7, glibc-debuginfo-common 2.17-222.el7 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) glibc-debuginfo-common 2.17-222.el7
    fixed: vendor fix RHSA-2018:0805
  • Red Hat Enterprise Linux HPC Node (v. 6) nscd 2.12-1.212.el6, glibc 2.12-1.212.el6, glibc-utils 2.12-1.212.el6, glibc-common 2.12-1.212.el6, glibc-debuginfo-common 2.12-1.212.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) glibc-debuginfo-common 2.12-1.212.el6 Red Hat Enterprise Linux Server (v. 6) nscd 2.12-1.212.el6, glibc 2.12-1.212.el6, glibc-utils 2.12-1.212.el6, glibc-common 2.12-1.212.el6, glibc-debuginfo-common 2.12-1.212.el6
    fixed: vendor fix RHSA-2018:1879
  • Red Hat Enterprise Linux Server (v. 7) nscd 2.17-222.el7, glibc 2.17-222.el7, glibc-utils 2.17-222.el7, glibc-common 2.17-222.el7, glibc-debuginfo-common 2.17-222.el7
    fixed: vendor fix RHSA-2018:0805
  • Red Hat Enterprise Linux Server Optional (v. 6) glibc-debuginfo-common 2.12-1.212.el6
    fixed: vendor fix RHSA-2018:1879
  • Red Hat Enterprise Linux Server Optional (v. 7) glibc-debuginfo-common 2.17-222.el7
    fixed: vendor fix RHSA-2018:0805
show 5 more
  • Red Hat Enterprise Linux Workstation (v. 6) nscd 2.12-1.212.el6, glibc 2.12-1.212.el6, glibc-utils 2.12-1.212.el6, glibc-common 2.12-1.212.el6, glibc-debuginfo-common 2.12-1.212.el6
    fixed: vendor fix RHSA-2018:1879
  • Red Hat Enterprise Linux Workstation (v. 7) nscd 2.17-222.el7, glibc 2.17-222.el7, glibc-utils 2.17-222.el7, glibc-common 2.17-222.el7, glibc-debuginfo-common 2.17-222.el7
    fixed: vendor fix RHSA-2018:0805
  • Red Hat Enterprise Linux Workstation Optional (v. 6) glibc-debuginfo-common 2.12-1.212.el6
    fixed: vendor fix RHSA-2018:1879
  • Red Hat Enterprise Linux Workstation Optional (v. 7) glibc-debuginfo-common 2.17-222.el7
    fixed: vendor fix RHSA-2018:0805
  • Red Hat Enterprise Linux 5 glibc, compat-glibc Red Hat Enterprise Linux 6 compat-glibc
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.80% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.