CWE-129: Improper Validation of Array Index, published in 2025, page 2
Filter
The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.
What the weakness is: CWE-129 at MITRE. OWASP Top 10: A05:2025 Injection. All weaknesses
Related attack patterns (CAPEC): 1
- CAPEC-100 Overflow Buffers Likelihood: High · Severity: Very High
The attack patterns MITRE's CAPEC relates to CWE-129, as MITRE names them. Credits.
Ask an AI about CWE-129
Show the prompt
Explain CWE-129: Improper Validation of Array Index and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/129.html and https://cve.bz/cve/cwe/129?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 5.5CVE-2025-39728linux kernelEPSS 0.3%
In the Linux kernel, the following vulnerability has been resolved: clk: samsung: Fix UBSAN panic in samsung_clk_init() With UBSAN_ARRAY_BOUNDS=y, I'm hitting the below panic due to dereferencing `ctx->clk_data.hws` before setting `ctx->…
- 7.8CVE-2025-22067linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: spi: cadence: Fix out-of-bounds array access in cdns_mrvl_xspi_setup_clock() If requested_clk > 128, cdns_mrvl_xspi_setup_clock() iterates over the entire cdns_mrvl_xspi…
- 7.8CVE-2025-21447qualcommEPSS 0.1%
Memory corruption may occur while processing device IO control call for session control.
- 7.8CVE-2025-21423qualcommEPSS 0.1%
Memory corruption occurs when handling client calls to EnableTestMode through an Escape call.
- 7.8CVE-2025-21991linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: x86/microcode/AMD: Fix out-of-bounds on systems with CPU-less NUMA nodes Currently, load_microcode_amd() iterates over all NUMA nodes, retrieves their CPU masks and unco…
- 7.8CVE-2023-53019linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: net: mdio: validate parameter addr in mdiobus_get_phy() The caller may pass any value as addr, what may result in an out-of-bounds access to array mdio_map. One existing…
- 7.8CVE-2023-53000linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: netlink: prevent potential spectre v1 gadgets Most netlink attributes are parsed and validated from __nla_validate_parse() or validate_nla() u16 type = nla_type(nla…
- 7.8CVE-2023-52988linux kernelEPSS 0.3%
In the Linux kernel, the following vulnerability has been resolved: ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path() snd_hda_get_connections() can return a negative error code. It may lead to accessing 'conn' ar…
- 7.8CVE-2023-52987linux kernelEPSS 0.3%
In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: ipc4-mtrace: prevent underflow in sof_ipc4_priority_mask_dfs_write() The "id" comes from the user. Change the type to unsigned to prevent an array underflow.
- 6.2CVE-2025-30077onosproject onos-lib-goEPSS 0.2%
Open Networking Foundation SD-RAN ONOS onos-lib-go 0.10.28 allows an index out-of-range panic in asn1/aper GetBitString via a zero value of numBits.
- 7.8CVE-2024-53014qualcommEPSS 0.1%
Memory corruption may occur while validating ports and channels in Audio driver.
- 7.8CVE-2024-49836qualcommEPSS 0.1%
Memory corruption may occur during the synchronization of the camera`s frame processing pipeline.
- 5.5CVE-2024-57996linux kernelEPSS 0.3%
In the Linux kernel, the following vulnerability has been resolved: net_sched: sch_sfq: don't allow 1 packet limit The current implementation does not work correctly with a limit of 1. iproute2 actually checks for this and this patch add…
- 7.8CVE-2022-49720linux kernelEPSS 0.3%
In the Linux kernel, the following vulnerability has been resolved: block: Fix handling of offline queues in blk_mq_alloc_request_hctx() This patch prevents that test nvme/004 triggers the following: UBSAN: array-index-out-of-bounds in …
- 7.8CVE-2022-49548linux kernelEPSS 0.3%
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix potential array overflow in bpf_trampoline_get_progs() The cnt value in the 'cnt >= BPF_MAX_TRAMP_PROGS' check does not include BPF_TRAMP_MODIFY_RETURN bpf prog…
- 7.8CVE-2022-49478linux kernelEPSS 0.3%
In the Linux kernel, the following vulnerability has been resolved: media: pvrusb2: fix array-index-out-of-bounds in pvr2_i2c_core_init Syzbot reported that -1 is used as array index. The problem was in missing validation check. hdw->un…
- 7.8CVE-2022-49471linux kernelEPSS 0.3%
In the Linux kernel, the following vulnerability has been resolved: rtw89: cfo: check mac_id to avoid out-of-bounds Somehow, hardware reports incorrect mac_id and pollute memory. Check index before we access the array. UBSAN: array-in…
- 7.8CVE-2022-49186linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: clk: visconti: prevent array overflow in visconti_clk_register_gates() This code was using -1 to represent that there was no reset function. Unfortunately, the -1 was st…
- 7.8CVE-2022-49170linux kernelEPSS 0.3%
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to do sanity check on curseg->alloc_type As Wenqing Liu reported in bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=215657 - Overview UBSAN: array-inde…
- 7.8CVE-2025-21692linux kernelEPSS 0.6%
In the Linux kernel, the following vulnerability has been resolved: net: sched: fix ets qdisc OOB Indexing Haowei Yan <g1042620637@gmail.com> found that ets_class_from_arg() can index an Out-Of-Bound class in ets_class_from_arg() when pa…
- 7.8CVE-2024-49843qualcommEPSS 0.1%
Memory corruption while processing IOCTL from user space to handle GPU AHB bus error.
- 7.8CVE-2024-49837qualcommEPSS 0.1%
Memory corruption while reading CPU state data during guest VM suspend.
- 7.8CVE-2024-49834qualcommEPSS 0.1%
Memory corruption while power-up or power-down sequence of the camera sensor.
- 7.8CVE-2024-49833qualcommEPSS 0.1%
Memory corruption can occur in the camera when an invalid CID is used.
- 7.8CVE-2024-49832qualcommEPSS 0.1%
Memory corruption in Camera due to unusually high number of nodes passed to AXI port.
- 7.8CVE-2024-45582qualcommEPSS 0.1%
Memory corruption while validating number of devices in Camera kernel .
- 9.8CVE-2024-45569qualcommEPSS 0.6%
Memory corruption while parsing the ML IE due to invalid frame content.
- 7.8CVE-2025-21680linux kernelEPSS 0.2%
In the Linux kernel, the following vulnerability has been resolved: pktgen: Avoid out-of-bounds access in get_imix_entries Passing a sufficient amount of imix entries leads to invalid access to the pkt_dev->imix_entries array because of …
- 7.8CVE-2024-45550qualcommEPSS 0.1%
Memory corruption occurs when invoking any IOCTL-calling application that executes all MCDM driver IOCTL calls.