CVE-2017-1000253 is a Linux kernel flaw in load_elf_binary(): when it maps a position-independent executable, later segments can land in the gap below the stack and corrupt it, which Qualys turned into local root. A 2015 kernel commit fixed it quietly. NVD scores it 7.8, and CISA lists it as exploited, including in ransomware campaigns.
Vulnerability summary
CVSS base score
7.8
High severity
EPSS score (FIRST)
10.7%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
Yes
Listed as known exploited
Published
Vulnerability ID: CVE-2017-1000253 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Linux kernel (fs/binfmt_elf.c, load_elf_binary) | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 2.6.25 to before 3.2.70, 3.3 to before 3.4.109, 3.5 to before 3.10.77, 3.11 to before 3.12.43, 3.13 to before 3.14.41, 3.15 to before 3.16.35, 3.17 to before 3.18.14, 3.19 to before 3.19.7, 4.0 to before 4.0.2 (NVD); upstream fix a87938b2e246 |
| Red Hat Enterprise Linux and CentOS 6 and 7 | cpe:2.3:o:redhat:enterprise_linux:*:*:*:*:*:*:*:* | Qualys: all CentOS 7 before 1708, RHEL 7 before 7.4, and all CentOS 6 and RHEL 6 releases exploitable |
| Debian linux package | pkg:deb/debian/linux | Fixed in 3.2.71-1 for wheezy, 3.16.7-ckt11-1 for jessie and 4.0.2-1 in unstable (Debian security tracker, as of 2026-11-25) |
What does this mean for affected devices?
NVD's description, taken from the Qualys advisory, says the bug "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, load_elf_binary() maps a PIE binary just below mm->mmap_base without reserving space for the whole binary, so later PT_LOAD segments "end up being mapped above mm->mmap_base into the are that is supposed to be the "gap" between the stack and the binary." NVD's Primary score is CVSS v3.1 7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), NVD CVSS v2 is 7.2, and CISA ADP also gives 7.8. NVD and CISA ADP classify it as CWE-119, improper restriction of operations within the bounds of a memory buffer (NVD, CVE record).
Why was a 2015 fix still a problem in 2017?
Michael Davidson's commit a87938b2e246, "fs/binfmt_elf.c: fix bug in loading of PIE binaries", computes the total size of the binary before mapping it. It went to the stable trees as a reliability fix, so long-term distribution kernels did not pick it up. The Qualys advisory of 2017-09-26 states that all CentOS 7 versions before 1708, all Red Hat Enterprise Linux 7 versions before 7.4, and all CentOS 6 and RHEL 6 versions were exploitable. Debian's security tracker shows the fix in 3.2.71-1 for wheezy and 3.16.7-ckt11-1 for jessie.
Which kernels and devices are affected?
NVD's CPE ranges cover 2.6.25 up to the stable releases 3.2.70, 3.4.109, 3.10.77, 3.12.43, 3.14.41, 3.16.35, 3.18.14, 3.19.7 and 4.0.2, plus RHEL and CentOS 6 and 7 releases. Embedded Linux devices that still run a 2.6.x or 3.x kernel without the backport are affected where local code can run and PIE randomization is built in. No device vendor is named in the CVE record. Move to a fixed stable release or backport a87938b2e246, and check the kernel .config and version on the device. How to fix memory corruption in embedded firmware covers this class of bug, and Linux kernel CVEs on embedded devices explains version and config triage. Qualys also found the related CVE-2018-14634 in the ELF loader.
Is CVE-2017-1000253 exploited?
Yes. CISA added it to the KEV catalog on 2024-09-09 with the required action "Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable." and a due date of 2024-09-30. Known ransomware campaign use is listed as Known. It is still listed as of 2026-11-25 in catalog version 2026.11.24 (CISA KEV). FIRST EPSS gives 0.10695, the 95.89th percentile, in the 2026-11-24 dataset (FIRST EPSS).
Evidence
- NVD (read 2026-11-25): status Analyzed, published 2017-10-05; description quotes Qualys/commit; NVD Primary CVSS v3.1 7.8 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, NVD v2 7.2; CISA ADP 7.8; CWE-119 (NVD, CISA ADP); CPE linux_kernel 2.6.25-<3.2.70, 3.3-<3.4.109, 3.5-<3.10.77, 3.11-<3.12.43, 3.13-<3.14.41, 3.15-<3.16.35, 3.17-<3.18.14, 3.19-<3.19.7, 4.0-<4.0.2; CentOS 6.x/7.x and RHEL 6.x/7.0-7.3. — NVD
- CVE record: PUBLISHED, CNA mitre, published 2017-10-04. — CVE.org
- Commit a87938b2e246 (Michael Davidson, 2015-04-14) 'fs/binfmt_elf.c: fix bug in loading of PIE binaries'; calculates total binary size like load_elf_interp(); Cc stable. — kernel.org
- Qualys advisory 2017-09-26: distributions without a87938b2e246 vulnerable to LPE; all CentOS 7 before 1708, RHEL 7 before 7.4, all CentOS 6 and RHEL 6 exploitable; fixed April 2015, backported to 3.10.77 May 2015, not recognized as security threat. — Qualys
- Debian tracker: wheezy 3.2.71-1, jessie 3.16.7-ckt11-1, unstable 4.0.2-1. — Debian security tracker
- KEV catalog 2026.11.24: dateAdded 2024-09-09, due 2024-09-30, required action 'Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.', knownRansomwareCampaignUse Known, CWE-119. — CISA KEV
- EPSS 0.10695, percentile 0.95893, dataset 2026-11-24. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
Which kernel versions fix CVE-2017-1000253?
The fix is commit a87938b2e246 from April 2015. NVD's affected ranges end before 3.2.70, 3.4.109, 3.10.77, 3.12.43, 3.14.41, 3.16.35, 3.18.14, 3.19.7 and 4.0.2, so those releases and later are fixed (per NVD and kernel.org).
Is CVE-2017-1000253 used by ransomware?
CISA's KEV catalog lists known ransomware campaign use as Known for this CVE. CISA added it on 2024-09-09 and it is listed as of 2026-11-25 in catalog version 2026.11.24 (per CISA KEV).
Which Linux distributions were exploitable through CVE-2017-1000253?
Qualys reported that all CentOS 7 versions before 1708, all Red Hat Enterprise Linux 7 versions before 7.4, and all CentOS 6 and RHEL 6 versions were exploitable, because the 2015 fix had not been backported to those long-term kernels (per Qualys).
How likely is exploitation of CVE-2017-1000253?
FIRST EPSS gives 0.10695, the 95.89th percentile, in the 2026-11-24 dataset, and the CVE is in CISA KEV. NVD scores it CVSS v3.1 7.8 with a local attack vector (per FIRST EPSS, CISA KEV and NVD).
Questions about this page?