{"id":"CVE-2017-1000371","url":"https://www.cyber-defence.io/tools/cve/CVE-2017-1000371","generatedAt":"2026-10-29T00:59:52.575Z","title":"The offset2lib patch as used by the Linux Kernel contains a vulnerability, if RLIMIT_STACK is set to RLIM_INFINITY and 1 Gigabyte of memory is allocated (the maximum under the 1/4 restriction) then the stack will be grown down to 0x80000000, and as the…","description":"The offset2lib patch as used by the Linux Kernel contains a vulnerability, if RLIMIT_STACK is set to RLIM_INFINITY and 1 Gigabyte of memory is allocated (the maximum under the 1/4 restriction) then the stack will be grown down to 0x80000000, and as the PIE binary is mapped above 0x80000000 the minimum distance between the end of the PIE binary's read-write segment and the start of the stack becomes small enough that the stack guard page can be jumped over by an attacker. This affects Linux Kernel version 4.11.5. This is a different issue than CVE-2017-1000370 and CVE-2017-1000365. This issue appears to be limited to i386 based systems.","published":"2017-06-19T16:29:00.000Z","lastModified":"2026-06-17T00:59:03.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"cwe":[],"affected":["linux/linux kernel"],"epss":{"score":0.02583,"percentile":0.85155,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":2,"verified":true,"firstPublished":"2017-06-28","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":42276,"kind":"exploit","title":"Linux Kernel (Debian 9/10 / Ubuntu 14.04.5/16.04.2/17.04 / Fedora 23/24/25) - 'ldso_dynamic Stack Clash' Local Privilege Escalation","url":"https://www.exploit-db.com/exploits/42276","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux_x86/local/42276.c","file":"exploits/linux_x86/local/42276.c","published":"2017-06-28","added":"2017-06-28","updated":"2017-07-19","author":"Qualys Corporation","type":"local","platform":"linux_x86","port":null,"verified":true,"codes":["CVE-2017-1000371","CVE-2017-1000366"],"tags":null,"aliases":"Stack Clash","applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://www.qualys.com/2017/06/19/stack-clash/linux_ldso_dynamic.c"},{"edbId":42273,"kind":"exploit","title":"Linux Kernel - 'offset2lib' Stack Clash","url":"https://www.exploit-db.com/exploits/42273","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux_x86/local/42273.c","file":"exploits/linux_x86/local/42273.c","published":"2017-06-28","added":"2017-06-28","updated":"2017-11-22","author":"Qualys Corporation","type":"local","platform":"linux_x86","port":null,"verified":true,"codes":["CVE-2017-1000371","CVE-2017-1000370"],"tags":null,"aliases":"Stack Clash","applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://www.qualys.com/2017/06/19/stack-clash/linux_offset2lib.c"}]},"verdict":{"level":"urgent","text":"2 public exploits are published in Exploit-DB (verified) and the impact is high, while EPSS rates exploitation at 2.6%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use."},"changes":[],"references":[{"url":"http://www.debian.org/security/2017/dsa-3981","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/99131","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://access.redhat.com/security/cve/CVE-2017-1000371","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://www.exploit-db.com/exploits/42273/","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://www.exploit-db.com/exploits/42276/","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://www.debian.org/security/2017/dsa-3981","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/99131","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/security/cve/CVE-2017-1000371","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/42273/","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/42276/","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000371","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}