{"id":"CVE-2017-15671","aliases":["DEBIAN-CVE-2017-15671","EUVD-2017-7122","GHSA-3gv3-62jc-35qm","MGASA-2017-0464","MGASA-2017-0470","SUSE-SU-2018:0074-1","SUSE-SU-2018:2185-1","SUSE-SU-2018:2187-1","SUSE-SU-2018:4067-1","UBUNTU-CVE-2017-15671"],"status":"published","title":"The glob function in glob.c in the GNU C Library (aka glibc or libc6) before 2.27, when invoked...","description":"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).","severity":{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.01431,"percentile":0.7319,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-772"],"published":"2017-10-20T17:00:00Z","modified":"2026-10-24T10:30:55Z","fixes":[{"ecosystem":"Debian:12","package":"glibc","fixed_in":["2.25-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"glibc","fixed_in":["2.25-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"glibc","fixed_in":["2.25-3"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","package":"glibc","fixed_in":["2.11.3-17.110.24.2"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Point of Sale 11 SP3","package":"glibc","fixed_in":["2.11.3-17.110.24.2"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP3-LTSS","package":"glibc","fixed_in":["2.11.3-17.110.24.2"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP3-TERADATA","package":"glibc","fixed_in":["2.11.3-17.110.24.2"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4","package":"glibc","fixed_in":["2.11.3-17.110.24.2"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","package":"glibc","fixed_in":["2.11.3-17.110.24.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.25-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.25-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.25-3"}]}]},{"source":"osv","ecosystem":"Mageia:6","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22-26.mga6"}]}],"bundled":5},{"source":"osv","ecosystem":"Mageia:6","package":"libtirpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1-5.1.mga6"}]}],"bundled":5},{"source":"osv","ecosystem":"Mageia:5","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.20-26.mga5"}]}],"bundled":5},{"source":"osv","ecosystem":"Mageia:5","package":"libtirpc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.5-3.3.mga5"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22-62.3.4"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22-62.3.4"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22-62.3.4"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22-62.3.4"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22-62.3.4"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP2","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22-62.3.4"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22-62.3.4"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22-62.3.4"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.22-62.3.4"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19-40.16.950"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP1-LTSS","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19-40.16.950"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12-LTSS","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.19-22.27.958"}]}],"bundled":6},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11.3-17.110.24.2"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Point of Sale 11 SP3","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11.3-17.110.24.2"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP3-LTSS","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11.3-17.110.24.2"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP3-TERADATA","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11.3-17.110.24.2"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP4","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11.3-17.110.24.2"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11.3-17.110.24.2"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"eglibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.17-93ubuntu4","2.18-0ubuntu1","2.18-0ubuntu2","2.18-0ubuntu4","2.18-0ubuntu5","2.18-0ubuntu6","2.18-0ubuntu7","2.19-0ubuntu2","2.19-0ubuntu3","2.19-0ubuntu4","2.19-0ubuntu5","2.19-0ubuntu6","2.19-0ubuntu6.1","2.19-0ubuntu6.3","2.19-0ubuntu6.4","2.19-0ubuntu6.5","2.19-0ubuntu6.6","2.19-0ubuntu6.7","2.19-0ubuntu6.8","2.19-0ubuntu6.9","2.19-0ubuntu6.10","2.19-0ubuntu6.11","2.19-0ubuntu6.13","2.19-0ubuntu6.14","2.19-0ubuntu6.15","2.19-0ubuntu6.15+esm1","2.19-0ubuntu6.15+esm2","2.19-0ubuntu6.15+esm3","2.19-0ubuntu6.15+esm4"]}],"products":[{"vendor":"gnu","product":"glibc"}],"references":[{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=22325","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"http://www.securityfocus.com/bid/101517","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-15671"},{"url":"https://github.com/advisories/GHSA-3gv3-62jc-35qm"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-15671","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0464.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=21582","tags":["report"]},{"url":"https://advisories.mageia.org/MGASA-2017-0470.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=22255","tags":["report"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20180074-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1051042","tags":["report"]},{"url":"https://bugzilla.suse.com/1053188","tags":["report"]},{"url":"https://bugzilla.suse.com/1063675","tags":["report"]},{"url":"https://bugzilla.suse.com/1064569","tags":["report"]},{"url":"https://bugzilla.suse.com/1064580","tags":["report"]},{"url":"https://bugzilla.suse.com/1064583","tags":["report"]},{"url":"https://bugzilla.suse.com/1070905","tags":["report"]},{"url":"https://bugzilla.suse.com/1071319","tags":["report"]},{"url":"https://bugzilla.suse.com/1073231","tags":["report"]},{"url":"https://bugzilla.suse.com/1074293","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-1000408","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-1000409","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-15670","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-15671","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-15804","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-16997","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-1000001","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20182185-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1051791","tags":["report"]},{"url":"https://bugzilla.suse.com/1094161","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12132","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-11236","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20182187-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20184067-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1110170","tags":["report"]},{"url":"https://bugzilla.suse.com/1110174","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-15671","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-15671","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-15671","description":"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).","status":"published","published":"2017-10-20T17:00:00Z","modified":"2024-08-05T19:57:27.523Z","updated_at":"2026-11-02T14:33:14.271248Z"}],"euvd":[{"id":"EUVD-2017-7122","description":"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).","status":"published","published":"2017-10-20T17:00:00Z","modified":"2024-08-05T19:57:27Z","updated_at":"2026-11-03T02:23:13.863705Z"}],"ghsa":[{"id":"GHSA-3gv3-62jc-35qm","title":"The glob function in glob.c in the GNU C Library (aka glibc or libc6) before 2.27, when invoked...","description":"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).","status":"published","published":"2022-05-13T01:44:00Z","modified":"2023-02-02T05:01:04Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-772"],"updated_at":"2026-11-02T14:51:05.943235Z"}],"nvd":[{"id":"CVE-2017-15671","description":"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).","status":"published","published":"2017-10-20T17:29:00.287Z","modified":"2026-06-17T01:08:05.01Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-772"],"updated_at":"2026-11-02T14:04:03.426231Z"}],"osv":[{"id":"CVE-2017-15671","description":"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).","status":"published","published":"2017-10-20T17:29:00.287Z","modified":"2026-10-24T10:30:55.014995299Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:04.853379Z"},{"id":"DEBIAN-CVE-2017-15671","description":"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).","status":"published","published":"2017-10-20T17:29:00.287Z","modified":"2026-09-01T20:03:44.841747411Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:28.801885Z"},{"id":"UBUNTU-CVE-2017-15671","description":"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).","status":"published","published":"2017-10-20T17:29:00Z","modified":"2026-04-22T11:19:02.303521Z","cvss":[{"version":"3.0","score":5.9,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:14.563448Z"},{"id":"MGASA-2017-0464","title":"Updated glibc packages fix security vulnerabilities","description":"The DNS stub resolver in the GNU C Library (aka glibc or libc6) before\nversion 2.26, when EDNS support is enabled, will solicit large UDP\nresponses from name servers, potentially simplifying off-path DNS\nspoofing attacks due to IP fragmentation.(CVE-2017-12132, CVE-2017-12133).\n\nThe GNU C Library (aka glibc or libc6) before 2.27 contains an off-by-one\nerror leading to a heap-based buffer overflow (CVE-2017-15670).\n\nThe glob function in glob.c in the GNU C Library (aka glibc or libc6)\nbefore 2.27, when invoked with GLOB_TILDE, could skip freeing allocated\nmemory when processing the ~ operator with a long user name, potentially\nleading to a denial of service (memory leak) (CVE-2017-15671).\n\nThe glob function in glob.c in the GNU C Library (aka glibc or libc6)\nbefore 2.27 contains a buffer overflow during unescaping of user names\nwith the ~ operator (CVE-2017-15804).\n\nAs libtirpc is also affected by CVE-2017-12133, it's part of this update.\n","status":"published","published":"2017-12-22T10:31:08Z","modified":"2026-04-16T06:25:45.825071754Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"MGASA-2017-0470","title":"Updated glibc packages fix security vulnerabilities","description":"The DNS stub resolver in the GNU C Library (aka glibc or libc6) before\nversion 2.26, when EDNS support is enabled, will solicit large UDP\nresponses from name servers, potentially simplifying off-path DNS\nspoofing attacks due to IP fragmentation.(CVE-2017-12132, CVE-2017-12133).\n\nThe GNU C Library (aka glibc or libc6) before 2.27 contains an off-by-one\nerror leading to a heap-based buffer overflow (CVE-2017-15670).\n\nThe glob function in glob.c in the GNU C Library (aka glibc or libc6)\nbefore 2.27, when invoked with GLOB_TILDE, could skip freeing allocated\nmemory when processing the ~ operator with a long user name, potentially\nleading to a denial of service (memory leak) (CVE-2017-15671).\n\nThe glob function in glob.c in the GNU C Library (aka glibc or libc6)\nbefore 2.27 contains a buffer overflow during unescaping of user names\nwith the ~ operator (CVE-2017-15804).\n\nAs libtirpc is also affected by CVE-2017-12133, it's part of this update.\n","status":"published","published":"2017-12-28T13:16:56Z","modified":"2026-04-16T06:25:00.384693342Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"SUSE-SU-2018:0074-1","title":"Security update for glibc","description":"This update for glibc fixes the following issues:\n\n- A privilege escalation bug in the realpath() function has been fixed.\n  [CVE-2018-1000001, bsc#1074293]\n\n- A memory leak and a buffer overflow in the dynamic ELF loader has been fixed.\n  [CVE-2017-1000408, CVE-2017-1000409, bsc#1071319]\n\n- An issue in the code handling RPATHs was fixed that could have been exploited\n  by an attacker to execute code loaded from arbitrary libraries.\n  [CVE-2017-16997, bsc#1073231]\n\n- A potential crash caused by a use-after-free bug in pthread_create() has been\n  fixed. [bsc#1053188]\n\n- A bug that prevented users to build shared objects which use the optimized\n  libmvec.so API has been fixed. [bsc#1070905]\n\n- A memory leak in the glob() function has been fixed. [CVE-2017-15670,\n  CVE-2017-15671, CVE-2017-15804, bsc#1064569, bsc#1064580, bsc#1064583]\n\n- A bug that would lose the syscall error code value in case of crashes has\n  been fixed. [bsc#1063675]\n","status":"published","published":"2018-01-12T08:46:15Z","modified":"2026-02-04T02:25:34.853927Z","updated_at":"2026-11-02T15:53:44.594517Z"},{"id":"SUSE-SU-2018:2185-1","title":"Security update for glibc","description":"This update for glibc fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2017-15804: Fix buffer overflow during unescaping of user names in the glob function in glob.c (bsc#1064580).\n- CVE-2017-15670: Fix buffer overflow in glob with GLOB_TILDE (bsc#1064583).\n- CVE-2017-15671: Fix memory leak in glob with GLOB_TILDE (bsc#1064569).\n- CVE-2018-11236: Fix 32bit arch integer overflow in stdlib/canonicalize.c when processing very long pathname arguments (bsc#1094161).\n- CVE-2017-12132: Reduce advertised EDNS0 buffer size to guard against fragmentation attacks (bsc#1051791).\n","status":"published","published":"2018-08-03T13:49:12Z","modified":"2026-02-04T03:51:00.721784Z","updated_at":"2026-11-02T15:53:44.972817Z"},{"id":"SUSE-SU-2018:2187-1","title":"Security update for glibc","description":"This update for glibc fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2017-15804: Fix buffer overflow during unescaping of user names in the glob function in glob.c (bsc#1064580).\n- CVE-2017-15670: Fix buffer overflow in glob with GLOB_TILDE (bsc#1064583).\n- CVE-2017-15671: Fix memory leak in glob with GLOB_TILDE (bsc#1064569).\n- CVE-2018-11236: Fix 32bit arch integer overflow in stdlib/canonicalize.c when processing very long pathname arguments (bsc#1094161).\n- CVE-2017-12132: Reduce advertised EDNS0 buffer size to guard against fragmentation attacks (bsc#1051791).\n- CVE-2018-1000001: Avoid underflow of malloced area (bsc#1074293).\n","status":"published","published":"2018-08-03T13:56:22Z","modified":"2026-02-04T03:10:55.022935Z","updated_at":"2026-11-02T15:53:44.972817Z"},{"id":"SUSE-SU-2018:4067-1","title":"Recommended update for glibc","description":"This update for glibc fixes the following issues:\n\nSecurity issue fixed:\n\n- CVE-2017-15671: Fixed memory leak in glob with GLOB_TILDE (bsc#1064569, BZ #22325).\n\nNon-security issue fixed:\n\n- Avoid access beyond memory bounds in pthread_attr_getaffinity_np (bsc#1110170, BZ #15618).\n- Remove improper assert in dlclose (bsc#1110174, BZ #11941).\n","status":"published","published":"2018-12-10T17:12:49Z","modified":"2026-02-04T02:25:12.535958Z","updated_at":"2026-11-02T15:53:45.378228Z"}]}}
