{"id":"CVE-2017-1000253","published":"2017-10-05T01:29:04Z","modified":"2026-06-17T00:58:59Z","title":"Linux Kernel PIE Stack Buffer Corruption Vulnerability","vendor":"Linux","product":"Kernel","tier":"core","eol":null,"description":{"text":"Linux distributions that have not patched their long-term kernels with https://git.kernel.org/linus/a87938b2e246b81b4fb713edb371a9fa3c5c3c86 (committed on April 14, 2015). This kernel vulnerability was fixed in April 2015 by commit a87938b2e246b81b4fb713edb371a9fa3c5c3c86 (backported to Linux 3.10.77 in May 2015), but it was not recognized as a security threat. With CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE enabled, and a normal top-down address allocation strategy, load_elf_binary() will attempt to map a PIE binary into an address range immediately below mm->mmap_base. Unfortunately, load_elf_ binary() does not take account of the need to allocate sufficient space for the entire binary which means that, while the first PT_LOAD segment is mapped below mm->mmap_base, the subsequent PT_LOAD segment(s) end up being mapped above mm->mmap_base into the are that is supposed to be the \"gap\" between the stack and the binary.","provenance":"source","from":"NVD"},"summary":{"text":"The Linux kernel's ELF loader (load_elf_binary() in the binfmt code) fails to reserve enough address space for all PT_LOAD segments of a PIE binary when CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE is enabled, so later segments can be mapped into the gap between the stack and the binary, causing memory buffer corruption. An attacker with a local, low-privilege account can trigger it by running a crafted PIE binary, with no user interaction or special configuration beyond that kernel option and default top-down address allocation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-23T07:00:12Z"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.10695,"percentile":0.95796,"date":"2026-10-28","provenance":"source"},"kev":{"dateAdded":"2024-09-09","dueDate":"2024-09-30","ransomware":true,"requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","notes":"This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. For more information, please see: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a87938b2e246b81b4fb713edb371a9fa3c5c3c86; https://nvd.nist.gov/vuln/detail/CVE-2017-1000253","provenance":"source"},"vulncheckKev":{"dateAdded":"2021-06-17","exploitedFirstSeen":"2021-06-17","ransomware":true,"evidence":[{"url":"https://www.trendmicro.com/en_in/research/21/f/bash-ransomware-darkradiation-targets-red-hat--and-debian-based-linux-distributions.html","date":"2021-06-17"},{"url":"https://cybersecurityworks.com/howdymanage/uploads/file/ransomware_index-update-q221-csw.pdf","date":"2021-08-16"},{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2024-09-09"}],"evidenceTotal":3,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"},{"name":"Actively_Exploited_Kev | Oct 18, 2026","url":"https://otx.alienvault.com/pulse/6ad38c22e1848f8189d1c121","created":"2026-10-17"}],"provenance":"machine"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"references":[{"url":"http://www.securityfocus.com/bid/101010","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1039434","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2793","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2794","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2795","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2796","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2797","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2798","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2799","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2800","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2801","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2802","tags":["Third Party Advisory"]},{"url":"https://www.qualys.com/2017/09/26/cve-2017-1000253/cve-2017-1000253.txt","tags":["Patch","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/101010","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1039434","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2793","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2794","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2795","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2796","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2797","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2798","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2799","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2800","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2801","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2802","tags":["Third Party Advisory"]},{"url":"https://www.qualys.com/2017/09/26/cve-2017-1000253/cve-2017-1000253.txt","tags":["Patch","Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-1000253","tags":["US Government Resource"]}],"techniques":[{"id":"T1055","name":"Process Injection","tactics":["privilege-escalation","stealth"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: memory layout corruption enables code injection into processes","mappingType":"primary_impact","evidence":[{"from":"description","quote":"subsequent PT_LOAD segment(s) end up being mapped above mm->mmap_base","start":776,"end":845}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2017-1514","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2017-1514","exploited":true,"exploitedSince":"2024-09-09","provenance":"source"},"exploits":[{"id":42887,"url":"https://www.exploit-db.com/exploits/42887","title":"Linux Kernel 3.10.0-514.21.2.el7.x86_64 / 3.10.0-514.26.1.el7.x86_64 (CentOS 7) - SUID Position Independent Executable 'PIE' Local Privilege Escalation","type":"local","platform":"linux","date":"2017-09-26","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2017-09-26"},"pocGithub":{"count":2,"skipped":0,"earliest":"2018-06-18","earliestUrl":"https://github.com/RicterZ/PIE-Stack-Clash-CVE-2017-1000253","repos":[{"name":"RicterZ/PIE-Stack-Clash-CVE-2017-1000253","url":"https://github.com/RicterZ/PIE-Stack-Clash-CVE-2017-1000253","stars":6,"created":"2018-06-18"},{"name":"sxlmnwb/CVE-2017-1000253","url":"https://github.com/sxlmnwb/CVE-2017-1000253","stars":2,"created":"2022-10-16"}]},"first":{"date":"2017-09-26","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/42887"},"provenance":"source"},"exploitRefs":[],"flow":[{"stage":"primary","techniques":["T1055"],"provenance":"ai"}],"timeline":[{"date":"2017-09-26","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-42887); later: PoC-in-GitHub 2018-06-18","url":"https://www.exploit-db.com/exploits/42887","provenance":"source"},{"date":"2017-10-05","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000253","provenance":"source"},{"date":"2021-06-17","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.trendmicro.com/en_in/research/21/f/bash-ransomware-darkradiation-targets-red-hat--and-debian-based-linux-distributions.html","provenance":"source"},{"date":"2024-09-09","kind":"kev","label":"Added to CISA KEV (known ransomware use)","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2024-09-09","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2017-1514","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Exploit-DB","daysToKev":2531},"priority":{"score":77.6,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1960 days ago"},{"name":"Known ransomware use","points":10.0,"detail":"CISA KEV and VulnCheck KEV: Known"},{"name":"EPSS percentile","points":19.16,"detail":"percentile 0.9580"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 2 PoC-in-GitHub repos"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":5.46,"detail":"base score 7.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}