{"id":"CVE-2017-1085","url":"https://www.cyber-defence.io/tools/cve/CVE-2017-1085","generatedAt":"2026-10-28T19:03:28.645Z","title":"A specially crafted executable could be exploited to execute arbitrary code in the user context.","description":"In FreeBSD before 11.2-RELEASE, an application which calls setrlimit() to increase RLIMIT_STACK may turn a read-only memory region below the stack into a read-write region. A specially crafted executable could be exploited to execute arbitrary code in the user context.","published":"2018-09-12T14:29:01.000Z","lastModified":"2026-06-17T01:13:53.000Z","status":"Modified","sourceIdentifier":"secteam@freebsd.org","cvss":{"version":"3.0","score":7.8,"severity":"HIGH","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-119"],"affected":["freebsd/freebsd"],"epss":{"score":0.0185,"percentile":0.78991,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":true,"firstPublished":"2017-06-28","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":42279,"kind":"exploit","title":"FreeBSD - 'setrlimit' Stack Clash (PoC)","url":"https://www.exploit-db.com/exploits/42279","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/freebsd_x86/dos/42279.c","file":"exploits/freebsd_x86/dos/42279.c","published":"2017-06-28","added":"2017-06-28","updated":"2017-06-29","author":"Qualys Corporation","type":"dos","platform":"freebsd_x86","port":null,"verified":true,"codes":["CVE-2017-1085"],"tags":null,"aliases":"Stack Clash","applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://www.qualys.com/2017/06/19/stack-clash/freebsd_cve-2017-1085.c"}]},"verdict":{"level":"urgent","text":"A public exploit is published in Exploit-DB (verified) and the impact is high, while EPSS rates exploitation at 1.8%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use."},"changes":[],"references":[{"url":"https://www.exploit-db.com/exploits/42279/","tags":["Third Party Advisory","VDB Entry"],"source":"secteam@freebsd.org"},{"url":"https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt","tags":["Exploit","Technical Description","Third Party Advisory"],"source":"secteam@freebsd.org"},{"url":"https://www.exploit-db.com/exploits/42279/","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":["Exploit","Technical Description","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-1085","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."}