目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CWE-129 对数组索引的验证不恰当 类漏洞列表 232

CWE-129 对数组索引的验证不恰当 类弱点 232 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-129 属于数组索引验证不当漏洞,指程序使用不可信输入计算数组索引时,未进行有效校验或校验逻辑错误,导致索引越界。攻击者通常通过构造恶意输入,使索引指向非法内存位置,从而引发缓冲区溢出、数据篡改或拒绝服务攻击。开发者应严格验证输入数据的范围,确保其始终处于数组合法边界内,并采用安全的边界检查机制,从源头阻断越界访问风险。

MITRE CWE 官方描述
CWE:CWE-129 数组索引验证不当 (Improper Validation of Array Index) 英文:产品在计算或使用数组索引时使用了不可信输入 (untrusted input),但未对索引进行验证或验证不正确,未能确保该索引引用数组内的有效位置 (valid position)。
常见影响 (5)
Integrity, Availability DoS: Crash, Exit, or Restart
Use of an index that is outside the bounds of an array will very likely result in the corruption of relevant memory and perhaps instructions, leading to a crash, if the values are outside of the valid memory area.
Integrity Modify Memory
If the memory corrupted is data, rather than instructions, the system will continue to function with improper values.
Confidentiality, Integrity Modify Memory, Read Memory
Use of an index that is outside the bounds of an array can also trigger out-of-bounds read or write operations, or operations on the wrong objects; i.e., "buffer overflows" are not always the result. This may result in the exposure or modification of sensitive data.
Integrity, Confidentiality, Availability Execute Unauthorized Code or Commands
If the memory accessible by the attacker can be effectively controlled, it may be possible to execute arbitrary code, as with a standard buffer overflow and possibly without the use of large inputs if a precise index can be controlled.
Integrity, Availability, Confidentiality DoS: Crash, Exit, or Restart, Execute Unauthorized Code or Commands, Read Memory, Modify Memory
A single fault could allow either an overflow (CWE-788) or underflow (CWE-786) of the array index. What happens next will depend on the type of operation being performed out of bounds, but can expose sensitive information, cause a system crash, or possibly lead to arbitrary code execution.
缓解措施 (5)
Architecture and Design Use an input validation framework such as Struts or the OWASP ESAPI Validation API. Note that using a framework does not automatically address all input validation problems; be mindful of weaknesses that could arise from misusing the framework itself (CWE-1173).
Architecture and Design For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server. Even though clien…
Requirements Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, Ada allows the programmer to constrain the values of a variable and languages such as Java and Ruby will allow the programmer to handle exceptions when an out-of-bounds index is accessed.
Operation, Build and Compilation Run or compile the software using features or extensions that randomly arrange the positions of a program's executable and libraries in memory. Because this makes the addresses unpredictable, it can prevent an attacker from reliably jumping to exploitable code. Examples include Address Space Layout Randomization (ASLR) [REF-58] [REF-60] and Position-Independent Executables (PIE) [REF-64]. Imported…
Effectiveness: Defense in Depth
Operation Use a CPU and operating system that offers Data Execution Protection (using hardware NX or XD bits) or the equivalent techniques that simulate this feature in software, such as PaX [REF-60] [REF-61]. These techniques ensure that any instruction executed is exclusively at a memory address that is part of the code segment. For more information on these techniques see D3-PSEP (Process Segment Executi…
Effectiveness: Defense in Depth
代码示例 (2)
In the code snippet below, an untrusted integer value is used to reference an object in an array.
public String getValue(int index) { return array[index]; }
Bad · Java
The following example takes a user-supplied value to allocate an array of objects and then operates on the array.
private void buildList ( int untrustedListSize ){ if ( 0 > untrustedListSize ){ die("Negative value supplied for list size, die evil hacker!"); } Widget[] list = new Widget [ untrustedListSize ]; list[0] = new Widget(); }
Bad · Java
CVE ID 标题 CVSS 风险等级 Published
CVE-2026-93841 vLLM 0.29.0 采样器状态破坏漏洞 — vllm 3.7 Low 2026-09-18
CVE-2026-93840 vLLM 0.29.0 前跨请求Logits损坏漏洞 — vllm 3.7 Low 2026-09-18
CVE-2026-93592 vLLM 0.28.0 之前拒绝服务漏洞 — vllm 7.5 High 2026-09-18
CVE-2026-91101 HP Linux Imaging and Printing 多个漏洞 — HP Linux Imaging and Printing Software (HPLIP) 5.1 Medium 2026-09-16
CVE-2026-84445 gRPC-Go 输入验证错误漏洞 — grpc-go 8.7 High 2026-09-14
CVE-2026-49838 osrg GoBGP 输入验证错误漏洞 — gobgp 5.9 Medium 2026-09-10
CVE-2026-88052 tesseract-ocr Tesseract 输入验证错误漏洞 — tesseract 7.8 High 2026-09-10
CVE-2023-54396 PMMP PocketMine-MP 输入验证错误漏洞 — PocketMine-MP 6.5 Medium 2026-09-09
CVE-2026-87500 Google Chrome 输入验证错误漏洞 — Chrome - - 2026-09-09
CVE-2026-0799 The Tcpdump Group LIBPCAP 缓冲区错误漏洞 — libpcap 8.7 High 2026-09-05
CVE-2026-57159 PJSIP 输入验证错误漏洞 — pjproject 8.4 High 2026-09-04
CVE-2023-31308 AMD Radeon 输入验证错误漏洞 — AMD Radeon™ PRO V620 Graphics Products 3.3 Low 2026-08-31
CVE-2026-82327 openSUSE libsolv 输入验证错误漏洞 — Red Hat Enterprise Linux 10 5.5 Medium 2026-08-28
CVE-2026-79775 Rclone 输入验证错误漏洞 — rclone 6.5 Medium 2026-08-25
CVE-2026-13212 zephyrproject Zephyr 输入验证错误漏洞 — zephyr 8.8 High 2026-08-24
CVE-2026-17097 IBM PowerVM Hypervisor 输入验证错误漏洞 — PowerVM Hypervisor 7.3 High 2026-08-19
CVE-2026-16849 IBM AIX 输入验证错误漏洞 — AIX 4.3 Medium 2026-08-19
CVE-2026-73489 Eugene Russh 输入验证错误漏洞 — russh 4.3 Medium 2026-08-13
CVE-2026-73564 frp SSH隧道网关整数溢出导致远程拒绝服务漏洞 — frp 8.7 High 2026-08-13
CVE-2026-53792 RsyncProject Rsync 输入验证错误漏洞 — rsync 6.5 Medium 2026-08-13
CVE-2026-70635 TimescaleDB 缓冲区错误漏洞 — timescaledb 7.1 High 2026-08-06
CVE-2026-70634 TimescaleDB 缓冲区错误漏洞 — timescaledb 8.1 High 2026-08-06
CVE-2026-45799 Square Wire 输入验证错误漏洞 — wire 7.5 High 2026-07-17
CVE-2026-63308 Helm 输入验证错误漏洞 — helm 4.3 Medium 2026-07-17
CVE-2026-46377 tomwright dasel 输入验证错误漏洞 — dasel 6.2 Medium 2026-07-16
CVE-2026-24238 NVIDIA TensorRT 输入验证错误漏洞 — TensorRT 7.8 High 2026-07-14
CVE-2026-15685 Ollama 输入验证错误漏洞 — Ollama - - 2026-07-13
CVE-2026-57251 Foxit PDF Editor 输入验证错误漏洞 — Foxit PDF Editor 7.8 High 2026-07-08
CVE-2026-57272 GeoVision GeoWebPlayer 输入验证错误漏洞 — GeoWebPlayer 8.3 High 2026-07-02
CVE-2026-57271 GeoVision GeoWebPlayer 输入验证错误漏洞 — GeoWebPlayer 8.3 High 2026-07-02

CWE-129(对数组索引的验证不恰当) 是常见的弱点类别,本平台收录该类弱点关联的 232 条 CVE 漏洞。