{"api_version":"1","generated_at":"2026-07-23T06:52:05+00:00","cve":"CVE-2017-1085","urls":{"html":"https://cve.report/CVE-2017-1085","api":"https://cve.report/api/cve/CVE-2017-1085.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-1085","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-1085"},"summary":{"title":"CVE-2017-1085","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.","state":"PUBLIC","assigner":"secteam@freebsd.org","published_at":"2018-09-12 14:29:00","updated_at":"2018-11-23 16:57:00"},"problem_types":["CWE-119"],"metrics":[],"references":[{"url":"https://www.exploit-db.com/exploits/42279/","name":"42279","refsource":"EXPLOIT-DB","tags":["Third Party Advisory","VDB Entry"],"title":"FreeBSD - 'setrlimit' Stack Clash (PoC) - FreeBSD_x86 dos Exploit","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt","name":"https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt","refsource":"MISC","tags":["Exploit","Technical Description","Third Party Advisory"],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-1085","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1085","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"1085","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"freebsd","cpe5":"freebsd","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"1085","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"freebsd","cpe5":"freebsd","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"secteam@freebsd.org","DATE_PUBLIC":"2017-06-19T00:00:00","ID":"CVE-2017-1085","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"FreeBSD","version":{"version_data":[{"version_value":"before 11.2-RELEASE"}]}}]},"vendor_name":"FreeBSD"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Userspace stack overflow"}]}]},"references":{"reference_data":[{"name":"https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt","refsource":"MISC","url":"https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt"},{"name":"42279","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/42279/"}]}},"nvd":{"publishedDate":"2018-09-12 14:29:00","lastModifiedDate":"2018-11-23 16:57:00","problem_types":["CWE-119"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":7.2},"severity":"HIGH","exploitabilityScore":3.9,"impactScore":10,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:*","versionEndExcluding":"11.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"1085","Ordinal":"97158","Title":"CVE-2017-1085","CVE":"CVE-2017-1085","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"1085","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2017","CveId":"1085","Ordinal":"2","NoteData":"2018-09-12","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"1085","Ordinal":"3","NoteData":"2018-09-13","Type":"Other","Title":"Modified"}]}}}