CVE-2017-1000408
A memory leak in glibc 2.1.1 (released on May 24, 1999) can be reached and amplified through the...
A memory leak in glibc 2.1.1 (released on May 24, 1999) can be reached and amplified through the LD_HWCAP_MASK environment variable. Please note that many versions of glibc are not vulnerable to this issue if patched for CVE-2017-1000366.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
A memory leak in glibc 2.1.1 (released on May 24, 1999) can be reached and amplified through the LD_HWCAP_MASK environment variable. Please note that many versions of glibc are not vulnerable to this issue if patched for CVE-2017-1000366.
- Record
CVE-2017-1000408- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.2 High
AV:L/AC:L/Au:N/C:C/I:C/A:C - Weakness
- CWE-772
- Updated
- 2026-11-02
CVE List No score
A memory leak in glibc 2.1.1 (released on May 24, 1999) can be reached and amplified through the LD_HWCAP_MASK environment variable. Please note that many versions of glibc are not vulnerable to this issue if patched for CVE-2017-1000366.
- Record
CVE-2017-1000408- Updated
- 2026-11-02
EUVDEUVD-2017-1547 No score
A memory leak in glibc 2.1.1 (released on May 24, 1999) can be reached and amplified through the LD_HWCAP_MASK environment variable. Please note that many versions of glibc are not vulnerable to this issue if patched for CVE-2017-1000366.
- Record
EUVD-2017-1547- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-h374-m7g3-c2ww
7.8
A memory leak in glibc 2.1.1 (released on May 24, 1999) can be reached and amplified through the...
A memory leak in glibc 2.1.1 (released on May 24, 1999) can be reached and amplified through the LD_HWCAP_MASK environment variable. Please note that many versions of glibc are not vulnerable to this issue if patched for CVE-2017-1000366.
- Record
GHSA-h374-m7g3-c2ww- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-772
- Updated
- 2026-11-02
OSV
7.8
A memory leak in glibc 2.1.1 (released on May 24, 1999) can be reached and amplified through the LD_HWCAP_MASK environment variable. Please note that many versions of glibc are not vulnerable to this issue if patched for CVE-2017-1000366.
- Record
CVE-2017-1000408- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-1000408
7.8
A memory leak in glibc 2.1.1 (released on May 24, 1999) can be reached and amplified through the LD_HWCAP_MASK environment variable. Please note that many versions of glibc are not vulnerable to this issue if patched for CVE-2017-1000366.
- Record
DEBIAN-CVE-2017-1000408- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2017-1000408
7.8
A memory leak in glibc 2.1.1 (released on May 24, 1999) can be reached and amplified through the LD_HWCAP_MASK environment variable. Please note that many versions of glibc are not vulnerable to this issue if patched for CVE-2017-1000366.
- Record
UBUNTU-CVE-2017-1000408- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10792-1 No score
glibc-2.34-1.2 on GA media
These are all security issues fixed in the glibc-2.34-1.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10792-1- 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
OSVUSN-3534-1 No score
eglibc, glibc vulnerabilities
It was discovered that the GNU C library did not properly handle all of the possible return values from the kernel getcwd(2) syscall. A local attacker could potentially exploit this to execute arbitrary code in setuid programs and gain administrative privileges. (CVE-2018-1000001)
A memory leak was discovered in the _dl_init_paths() function in the GNU C library dynamic loader. A local attacker could potentially exploit this with a specially crafted value in the LD_HWCAP_MASK environment variable, in combination with CVE-2017-1000409 and another vulnerability on a system with hardlink protections disabled, in order to gain administrative privileges. (CVE-2017-1000408)
A heap-based buffer overflow was discovered in the _dl_init_paths() function in the GNU C library dynamic loader. A local attacker could potentially exploit this with a specially crafted value in the LD_LIBRARY_PATH environment variable, in combination with CVE-2017-1000408 and another vulnerability on a system with hardlink protections disabled, in order to gain administrative privileges. (CVE-2017-1000409)
An off-by-one error leading to a heap-based buffer overflow was discovered in the GNU C library glob() implementation. An attacker could potentially exploit this to cause a denial of service or execute arbitrary code via a maliciously crafted pattern. (CVE-2017-15670)
A heap-based buffer overflow was discovered during unescaping of user names with the ~ operator in the GNU C library glob() implementation. An attacker could potentially exploit this to cause a denial of service or execute arbitrary code via a maliciously crafted pattern. (CVE-2017-15804)
It was discovered that the GNU C library dynamic loader mishandles RPATH and RUNPATH containing $ORIGIN for privileged (setuid or AT_SECURE) programs. A local attacker could potentially exploit this by providing a specially crafted library in the current working directory in order to gain administrative privileges. (CVE-2017-16997)
It was discovered that the GNU C library malloc() implementation could return a memory block that is too small if an attempt is made to allocate an object whose size is close to SIZE_MAX, resulting in a heap-based overflow. An attacker could potentially exploit this to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 17.10. (CVE-2017-17426)
- Record
USN-3534-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
glibcDebian:12 |
before 2.25-5 | 2.25-5 |
glibcDebian:13 |
before 2.25-5 | 2.25-5 |
glibcDebian:14 |
before 2.25-5 | 2.25-5 |
glibcSUSE:Linux Enterprise Desktop 12 SP2 From an advisory covering 7 CVEs |
before 2.22-62.3.4 | 2.22-62.3.4 |
glibcSUSE:Linux Enterprise Desktop 12 SP3 From an advisory covering 7 CVEs |
before 2.22-62.3.4 | 2.22-62.3.4 |
glibcSUSE: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 |
glibcSUSE:Linux Enterprise Software Development Kit 12 SP2 From an advisory covering 7 CVEs |
before 2.22-62.3.4 | 2.22-62.3.4 |
glibcSUSE:Linux Enterprise Software Development Kit 12 SP3 From an advisory covering 7 CVEs |
before 2.22-62.3.4 | 2.22-62.3.4 |
glibcSUSE:Linux Enterprise Server 12 SP2 From an advisory covering 7 CVEs |
before 2.22-62.3.4 | 2.22-62.3.4 |
glibcSUSE: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 |
Show 7 moreShow less
| Package | Affected | Fixed |
|---|---|---|
glibcSUSE:Linux Enterprise Server 12 SP3 From an advisory covering 7 CVEs |
before 2.22-62.3.4 | 2.22-62.3.4 |
glibcSUSE: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 |
eglibcUbuntu:14.04:LTS |
before 2.19-0ubuntu6.14, plus listed versions 2.17-93ubuntu42.18-0ubuntu12.18-0ubuntu22.18-0ubuntu42.18-0ubuntu5 Show 18 moreShow less2.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.13 |
2.19-0ubuntu6.14 |
glibcUbuntu:16.04:LTS |
before 2.23-0ubuntu10, plus listed versions 2.21-0ubuntu42.21-0ubuntu52.21-0ubuntu62.23-0ubuntu12.23-0ubuntu2 Show 6 moreShow less2.23-0ubuntu32.23-0ubuntu42.23-0ubuntu52.23-0ubuntu62.23-0ubuntu72.23-0ubuntu9 |
2.23-0ubuntu10 |
eglibcUbuntu:14.04:LTS From an advisory covering 7 CVEs |
before 2.19-0ubuntu6.14, plus listed versions 2.17-93ubuntu42.18-0ubuntu12.18-0ubuntu22.18-0ubuntu42.18-0ubuntu5 Show 18 moreShow less2.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.13 |
2.19-0ubuntu6.14 |
glibcUbuntu:16.04:LTS From an advisory covering 7 CVEs |
before 2.23-0ubuntu10, plus listed versions 2.21-0ubuntu42.21-0ubuntu52.21-0ubuntu62.23-0ubuntu12.23-0ubuntu2 Show 6 moreShow less2.23-0ubuntu32.23-0ubuntu42.23-0ubuntu52.23-0ubuntu62.23-0ubuntu72.23-0ubuntu9 |
2.23-0ubuntu10 |
glibcopenSUSE:Tumbleweed From an advisory covering 34 CVEs |
before 2.34-1.2 | 2.34-1.2 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | GNU C Library Dynamic Loader glibc ld.so - Memory Leak / Buffer Overflow | 2017-12-13 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-1000408 is a high vulnerability (CVSS 7.8) in Gnu Glibc, published December 13, 2017. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 1.45%, the 73rd percentile. Fixed in glibc 2.25-5.
References
exploit-db.com/exploits/43331
seclists.org/oss-sec/2017/q4/385
security.netapp.com/advisory/ntap-20190404-0003
openwall.com/lists/oss-security/2019/06/27/7
openwall.com/lists/oss-security/2019/06/28/1
openwall.com/lists/oss-security/2019/06/28/2
Show 61 moreShow less
nvd.nist.gov/vuln/detail/CVE-2017-1000408
github.com/advisories/GHSA-h374-m7g3-c2ww
security-tracker.debian.org/tracker/CVE-2017-1000408
suse.com/support/update/announcement/2018/suse-su-20180074-1
bugzilla.suse.com/1051042
bugzilla.suse.com/1053188
bugzilla.suse.com/1063675
bugzilla.suse.com/1064569
bugzilla.suse.com/1064580
bugzilla.suse.com/1064583
bugzilla.suse.com/1070905
bugzilla.suse.com/1071319
bugzilla.suse.com/1073231
bugzilla.suse.com/1074293
suse.com/security/cve/CVE-2017-1000408
suse.com/security/cve/CVE-2017-1000409
suse.com/security/cve/CVE-2017-15670
suse.com/security/cve/CVE-2017-15671
suse.com/security/cve/CVE-2017-15804
suse.com/security/cve/CVE-2017-16997
suse.com/security/cve/CVE-2018-1000001
ubuntu.com/security/CVE-2017-1000408
openwall.com/lists/oss-security/2017/12/11/4
ubuntu.com/security/notices/USN-3534-1
cve.org/CVERecord?id=CVE-2017-1000408
ubuntu.com/security/CVE-2017-15670
ubuntu.com/security/CVE-2017-15804
ubuntu.com/security/CVE-2017-16997
ubuntu.com/security/CVE-2017-17426
ubuntu.com/security/CVE-2017-1000409
ubuntu.com/security/CVE-2018-1000001
suse.com/security/cve/CVE-2009-5064
suse.com/security/cve/CVE-2009-5155
suse.com/security/cve/CVE-2010-3192
suse.com/security/cve/CVE-2015-5180
suse.com/security/cve/CVE-2016-10228
suse.com/security/cve/CVE-2016-10739
suse.com/security/cve/CVE-2016-6261
suse.com/security/cve/CVE-2016-6323
suse.com/security/cve/CVE-2017-1000366
suse.com/security/cve/CVE-2017-12132
suse.com/security/cve/CVE-2017-12133
suse.com/security/cve/CVE-2017-17426
suse.com/security/cve/CVE-2017-18269
suse.com/security/cve/CVE-2018-11236
suse.com/security/cve/CVE-2018-11237
suse.com/security/cve/CVE-2018-19591
suse.com/security/cve/CVE-2018-6485
suse.com/security/cve/CVE-2019-19126
suse.com/security/cve/CVE-2019-25013
suse.com/security/cve/CVE-2019-7309
suse.com/security/cve/CVE-2019-9169
suse.com/security/cve/CVE-2020-10029
suse.com/security/cve/CVE-2020-1752
suse.com/security/cve/CVE-2020-27618
suse.com/security/cve/CVE-2020-29562
suse.com/security/cve/CVE-2020-29573
suse.com/security/cve/CVE-2020-6096
suse.com/security/cve/CVE-2021-27645
suse.com/security/cve/CVE-2021-3326
suse.com/security/cve/CVE-2021-33574