Every CVE Search/ Get API key

CVE-2017-15671

The glob function in glob.c in the GNU C Library (aka glibc or libc6) before 2.27, when invoked...

5.9 MediumFix available

The glob function in glob.c in the GNU C Library (aka glibc or libc6) before 2.27, when invoked with GLOB_TILDE, could skip freeing allocated memory when processing the ~ operator with a long user name, potentially leading to a denial of service (memory leak).

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.43%Up 0.7 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.9

The glob function in glob.c in the GNU C Library (aka glibc or libc6) before 2.27, when invoked with GLOB_TILDE, could skip freeing allocated memory when processing the ~ operator with a long user name, potentially leading to a denial of service (memory leak).

Record
CVE-2017-15671
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-772
Updated
2026-11-02
CVE List No score

The glob function in glob.c in the GNU C Library (aka glibc or libc6) before 2.27, when invoked with GLOB_TILDE, could skip freeing allocated memory when processing the ~ operator with a long user name, potentially leading to a denial of service (memory leak).

Record
CVE-2017-15671
Updated
2026-11-02
EUVDEUVD-2017-7122 No score

The glob function in glob.c in the GNU C Library (aka glibc or libc6) before 2.27, when invoked with GLOB_TILDE, could skip freeing allocated memory when processing the ~ operator with a long user name, potentially leading to a denial of service (memory leak).

Record
EUVD-2017-7122
Updated
2026-11-03
GitHub AdvisoriesGHSA-3gv3-62jc-35qm 5.9

The glob function in glob.c in the GNU C Library (aka glibc or libc6) before 2.27, when invoked...

The glob function in glob.c in the GNU C Library (aka glibc or libc6) before 2.27, when invoked with GLOB_TILDE, could skip freeing allocated memory when processing the ~ operator with a long user name, potentially leading to a denial of service (memory leak).

Record
GHSA-3gv3-62jc-35qm
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-772
Updated
2026-11-02
OSV 5.9

The glob function in glob.c in the GNU C Library (aka glibc or libc6) before 2.27, when invoked with GLOB_TILDE, could skip freeing allocated memory when processing the ~ operator with a long user name, potentially leading to a denial of service (memory leak).

Record
CVE-2017-15671
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-15671 5.9

The glob function in glob.c in the GNU C Library (aka glibc or libc6) before 2.27, when invoked with GLOB_TILDE, could skip freeing allocated memory when processing the ~ operator with a long user name, potentially leading to a denial of service (memory leak).

Record
DEBIAN-CVE-2017-15671
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 7 moreShow less
OSVUBUNTU-CVE-2017-15671 5.9

The glob function in glob.c in the GNU C Library (aka glibc or libc6) before 2.27, when invoked with GLOB_TILDE, could skip freeing allocated memory when processing the ~ operator with a long user name, potentially leading to a denial of service (memory leak).

Record
UBUNTU-CVE-2017-15671
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2017-0464 No score

Updated glibc packages fix security vulnerabilities

The DNS stub resolver in the GNU C Library (aka glibc or libc6) before version 2.26, when EDNS support is enabled, will solicit large UDP responses from name servers, potentially simplifying off-path DNS spoofing attacks due to IP fragmentation.(CVE-2017-12132, CVE-2017-12133).

The GNU C Library (aka glibc or libc6) before 2.27 contains an off-by-one error leading to a heap-based buffer overflow (CVE-2017-15670).

The glob function in glob.c in the GNU C Library (aka glibc or libc6) before 2.27, when invoked with GLOB_TILDE, could skip freeing allocated memory when processing the ~ operator with a long user name, potentially leading to a denial of service (memory leak) (CVE-2017-15671).

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 (CVE-2017-15804).

As libtirpc is also affected by CVE-2017-12133, it's part of this update.

Record
MGASA-2017-0464
Updated
2026-11-02
OSVMGASA-2017-0470 No score

Updated glibc packages fix security vulnerabilities

The DNS stub resolver in the GNU C Library (aka glibc or libc6) before version 2.26, when EDNS support is enabled, will solicit large UDP responses from name servers, potentially simplifying off-path DNS spoofing attacks due to IP fragmentation.(CVE-2017-12132, CVE-2017-12133).

The GNU C Library (aka glibc or libc6) before 2.27 contains an off-by-one error leading to a heap-based buffer overflow (CVE-2017-15670).

The glob function in glob.c in the GNU C Library (aka glibc or libc6) before 2.27, when invoked with GLOB_TILDE, could skip freeing allocated memory when processing the ~ operator with a long user name, potentially leading to a denial of service (memory leak) (CVE-2017-15671).

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 (CVE-2017-15804).

As libtirpc is also affected by CVE-2017-12133, it's part of this update.

Record
MGASA-2017-0470
Updated
2026-11-02
OSVSUSE-SU-2018:0074-1 No score

Security update for glibc

This update for glibc fixes the following issues:

  • A privilege escalation bug in the realpath() function has been fixed. [CVE-2018-1000001, bsc#1074293]

  • A memory leak and a buffer overflow in the dynamic ELF loader has been fixed. [CVE-2017-1000408, CVE-2017-1000409, bsc#1071319]

  • An issue in the code handling RPATHs was fixed that could have been exploited by an attacker to execute code loaded from arbitrary libraries. [CVE-2017-16997, bsc#1073231]

  • A potential crash caused by a use-after-free bug in pthread_create() has been fixed. [bsc#1053188]

  • A bug that prevented users to build shared objects which use the optimized libmvec.so API has been fixed. [bsc#1070905]

  • A memory leak in the glob() function has been fixed. [CVE-2017-15670, CVE-2017-15671, CVE-2017-15804, bsc#1064569, bsc#1064580, bsc#1064583]

  • A bug that would lose the syscall error code value in case of crashes has been fixed. [bsc#1063675]

Record
SUSE-SU-2018:0074-1
Updated
2026-11-02
OSVSUSE-SU-2018:2185-1 No score

Security update for glibc

This update for glibc fixes the following issues:

Security issues fixed:

  • CVE-2017-15804: Fix buffer overflow during unescaping of user names in the glob function in glob.c (bsc#1064580).
  • CVE-2017-15670: Fix buffer overflow in glob with GLOB_TILDE (bsc#1064583).
  • CVE-2017-15671: Fix memory leak in glob with GLOB_TILDE (bsc#1064569).
  • CVE-2018-11236: Fix 32bit arch integer overflow in stdlib/canonicalize.c when processing very long pathname arguments (bsc#1094161).
  • CVE-2017-12132: Reduce advertised EDNS0 buffer size to guard against fragmentation attacks (bsc#1051791).
Record
SUSE-SU-2018:2185-1
Updated
2026-11-02
OSVSUSE-SU-2018:2187-1 No score

Security update for glibc

This update for glibc fixes the following issues:

Security issues fixed:

  • CVE-2017-15804: Fix buffer overflow during unescaping of user names in the glob function in glob.c (bsc#1064580).
  • CVE-2017-15670: Fix buffer overflow in glob with GLOB_TILDE (bsc#1064583).
  • CVE-2017-15671: Fix memory leak in glob with GLOB_TILDE (bsc#1064569).
  • CVE-2018-11236: Fix 32bit arch integer overflow in stdlib/canonicalize.c when processing very long pathname arguments (bsc#1094161).
  • CVE-2017-12132: Reduce advertised EDNS0 buffer size to guard against fragmentation attacks (bsc#1051791).
  • CVE-2018-1000001: Avoid underflow of malloced area (bsc#1074293).
Record
SUSE-SU-2018:2187-1
Updated
2026-11-02
OSVSUSE-SU-2018:4067-1 No score

Recommended update for glibc

This update for glibc fixes the following issues:

Security issue fixed:

  • CVE-2017-15671: Fixed memory leak in glob with GLOB_TILDE (bsc#1064569, BZ #22325).

Non-security issue fixed:

  • Avoid access beyond memory bounds in pthread_attr_getaffinity_np (bsc#1110170, BZ #15618).
  • Remove improper assert in dlclose (bsc#1110174, BZ #11941).
Record
SUSE-SU-2018:4067-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
glibc
Debian:12
before 2.25-3
2.25-3
glibc
Debian:13
before 2.25-3
2.25-3
glibc
Debian:14
before 2.25-3
2.25-3
glibc
Mageia:6
From an advisory covering 5 CVEs
before 2.22-26.mga6
2.22-26.mga6
libtirpc
Mageia:6
From an advisory covering 5 CVEs
before 1.0.1-5.1.mga6
1.0.1-5.1.mga6
glibc
Mageia:5
From an advisory covering 5 CVEs
before 2.20-26.mga5
2.20-26.mga5
libtirpc
Mageia:5
From an advisory covering 5 CVEs
before 0.2.5-3.3.mga5
0.2.5-3.3.mga5
glibc
SUSE:Linux Enterprise Desktop 12 SP2
From an advisory covering 7 CVEs
before 2.22-62.3.4
2.22-62.3.4
glibc
SUSE:Linux Enterprise Desktop 12 SP3
From an advisory covering 7 CVEs
before 2.22-62.3.4
2.22-62.3.4
glibc
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
From an advisory covering 7 CVEs
before 2.22-62.3.4
2.22-62.3.4
Show 16 moreShow less
Affected packages
PackageAffectedFixed
glibc
SUSE:Linux Enterprise Software Development Kit 12 SP2
From an advisory covering 7 CVEs
before 2.22-62.3.4
2.22-62.3.4
glibc
SUSE:Linux Enterprise Software Development Kit 12 SP3
From an advisory covering 7 CVEs
before 2.22-62.3.4
2.22-62.3.4
glibc
SUSE:Linux Enterprise Server 12 SP2
From an advisory covering 7 CVEs
before 2.22-62.3.4
2.22-62.3.4
glibc
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
From an advisory covering 7 CVEs
before 2.22-62.3.4
2.22-62.3.4
glibc
SUSE:Linux Enterprise Server 12 SP3
From an advisory covering 7 CVEs
before 2.22-62.3.4
2.22-62.3.4
glibc
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
From an advisory covering 7 CVEs
before 2.22-62.3.4
2.22-62.3.4
glibc
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
From an advisory covering 5 CVEs
before 2.19-40.16.950
2.19-40.16.950
glibc
SUSE:Linux Enterprise Server 12 SP1-LTSS
From an advisory covering 5 CVEs
before 2.19-40.16.950
2.19-40.16.950
glibc
SUSE:Linux Enterprise Server 12-LTSS
From an advisory covering 6 CVEs
before 2.19-22.27.958
2.19-22.27.958
glibc
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 2.11.3-17.110.24.2
2.11.3-17.110.24.2
glibc
SUSE:Linux Enterprise Point of Sale 11 SP3
before 2.11.3-17.110.24.2
2.11.3-17.110.24.2
glibc
SUSE:Linux Enterprise Server 11 SP3-LTSS
before 2.11.3-17.110.24.2
2.11.3-17.110.24.2
glibc
SUSE:Linux Enterprise Server 11 SP3-TERADATA
before 2.11.3-17.110.24.2
2.11.3-17.110.24.2
glibc
SUSE:Linux Enterprise Server 11 SP4
before 2.11.3-17.110.24.2
2.11.3-17.110.24.2
glibc
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 2.11.3-17.110.24.2
2.11.3-17.110.24.2
eglibc
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
2.17-93ubuntu42.18-0ubuntu12.18-0ubuntu22.18-0ubuntu42.18-0ubuntu5
Show 24 moreShow less
2.18-0ubuntu62.18-0ubuntu72.19-0ubuntu22.19-0ubuntu32.19-0ubuntu42.19-0ubuntu52.19-0ubuntu62.19-0ubuntu6.12.19-0ubuntu6.32.19-0ubuntu6.42.19-0ubuntu6.52.19-0ubuntu6.62.19-0ubuntu6.72.19-0ubuntu6.82.19-0ubuntu6.92.19-0ubuntu6.102.19-0ubuntu6.112.19-0ubuntu6.132.19-0ubuntu6.142.19-0ubuntu6.152.19-0ubuntu6.15+esm12.19-0ubuntu6.15+esm22.19-0ubuntu6.15+esm32.19-0ubuntu6.15+esm4
None known

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-15671 is a medium vulnerability (CVSS 5.9) in Gnu Glibc, published October 20, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.43%, the 73rd percentile. Fixed in glibc 2.25-3.

References

Show 32 moreShow less
MoveEnter Open