Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-118 (对可索引资源的访问不恰当(越界错误)) — Vulnerability Class 11

11 vulnerabilities classified as CWE-118 (对可索引资源的访问不恰当(越界错误)). AI Chinese analysis included.

CWE-118, Incorrect Access of Indexable Resource, is a critical memory safety weakness where software fails to properly validate bounds before accessing indexed data structures like arrays or buffers. Attackers typically exploit this vulnerability by supplying crafted input that exceeds the allocated resource limits, enabling unauthorized memory reads or writes. This can lead to severe consequences, including application crashes, data corruption, or the execution of arbitrary code through buffer overflow techniques. To mitigate this risk, developers must implement rigorous input validation and enforce strict boundary checks before any indexing operation. Utilizing safe programming languages with automatic memory management, employing static analysis tools to detect out-of-bounds access, and adopting defensive coding practices that explicitly verify array indices against their maximum valid values are essential strategies for preventing these exploitable errors in production environments.

MITRE CWE Description
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.
Common Consequences (1)
OtherVaries by Context

Vulnerabilities classified as CWE-118 (对可索引资源的访问不恰当(越界错误)) represent 11 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.