CWE-118: Incorrect Access of Indexable Resource ('Range Error')
The product does not restrict or incorrectly restricts operations within the boundaries of a resource that is accessed using an index or pointer, such as memory or files.
Last updated
Overview
CWE-118 (Incorrect Access of Indexable Resource ('Range Error')) is a class-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Real-world CVEs
24 recorded CVEs are caused by CWE-118 (Incorrect Access of Indexable Resource ('Range Error')). The highest-severity and most recent are shown first. 1 new CWE-118 CVE has been recorded so far in 2026 (2 in 2025).
- CVE-2015-9142Critical · CVSS 9.8 · EPSS 68th2018-04-18
- CVE-2016-10495Critical · CVSS 9.8 · EPSS 68th2018-04-18
- CVE-2015-2003Critical · CVSS 9.8 · EPSS 81th2018-03-29
- CVE-2015-2000Critical · CVSS 9.8 · EPSS 81th2018-03-29
- CVE-2015-2004Critical · CVSS 9.8 · EPSS 81th2018-03-29
- CVE-2015-2001Critical · CVSS 9.8 · EPSS 81th2018-03-29
- CVE-2015-2002Critical · CVSS 9.8 · EPSS 83th2018-03-29
- CVE-2014-9411Critical · CVSS 9.8 · EPSS 60th2017-08-18
- CVE-2022-38072
ADMesh improper array index validation
High · CVSS 8.8 · EPSS 65th2023-04-03 - CVE-2026-50367
Windows Sensor Data Service Elevation of Privilege Vulnerability
High · CVSS 7.8 · EPSS 27th2026-07-14 - CVE-2023-37923High · CVSS 7.8 · EPSS 38th2024-01-08
- CVE-2023-37922High · CVSS 7.8 · EPSS 38th2024-01-08
Showing 12 of 24 recorded CWE-118 CVEs. Get an alert for each new one, with AI-written analysis and fixes.
Monitor these CVEsCommon consequences
What can happen when CWE-118 is exploited.
Varies by Context
Affects: Other
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
Terminology & mappings
Mapped taxonomies
- Software Fault Patterns: Faulty Buffer Access (SFP8)
Attack patterns
CAPEC attack patterns that exploit this weakness.
- CAPEC-10: Buffer Overflow via Environment Variables
- CAPEC-14: Client-side Injection-induced Buffer Overflow
- CAPEC-24: Filter Failure through Buffer Overflow
- CAPEC-45: Buffer Overflow via Symbolic Links
- CAPEC-46: Overflow Variables and Tags
- CAPEC-47: Buffer Overflow via Parameter Expansion
- CAPEC-8: Buffer Overflow in an API Call
- CAPEC-9: Buffer Overflow in Local Command-Line Utilities
Frequently asked questions
Common questions about CWE-118.
- What is CWE-118?
- The product does not restrict or incorrectly restricts operations within the boundaries of a resource that is accessed using an index or pointer, such as memory or files.
- What CVEs are caused by CWE-118?
- 24 recorded CVEs are attributed to CWE-118, including CVE-2015-9142, CVE-2016-10495 and CVE-2015-2003.
- What are the consequences of CWE-118?
- Exploiting CWE-118 can lead to: Varies by Context.
- Is CWE-118 actively exploited?
- 24 recorded CVEs are caused by CWE-118; none are currently in CISA's KEV catalog of actively exploited flaws.
References
- MITRE CWE definition (CWE-118) (opens in a new tab)
- CWE-118 vulnerabilities on NVD (opens in a new tab)
- Learn: What is a CWE?
Weakness data is sourced from the MITRE CWE catalog (v4.20). CVE associations are aggregated and kept current by RadicalNotion.AI.
Track CWE-118 CVEs
Get an alert when a new CWE-118 CVE affects your products, with AI-written analysis and remediation steps.