Weaknesses of type CWE-129

381 results

Validação inadequada de índice de array

Ocorre quando o código não valida corretamente se um índice está dentro dos limites válidos do array antes de acessá-lo. Um atacante pode fornecer um índice fora dos limites (negativo ou maior que o tamanho), causando leitura ou escrita em endereços de memória inválidos, resultando em crash, vazamento de dados ou execução de código arbitrário.

Example

Uma API web recebe um parâmetro 'posição' do usuário e acessa um array sem verificar se a posição é válida. Um atacante envia posição=-1 ou posição=999999, lendo/alterando memória adjacente ao array, ou causando segmentation fault.

How to mitigate

Sempre validar que o índice é >= 0 e < tamanho do array antes de usar. Em linguagens de alto nível, preferir iteradores ou métodos nativos que validam automaticamente; em C/C++, usar bounds checking explícito ou bibliotecas como AddressSanitizer durante testes.

CVE-2026-93840MEDIUMvLLM before 0.29.0 Cross-Request Logits Corruption via allowed_token_idsEPSS 0.2%CVE-2023-51455MEDIUMA Improper Validation of Array Index issue affecting the v2_sdk_service running on a set of DJI drone devices on the port 10000 could allow EPSS 0.2%CVE-2025-40014HIGHobjtool, spi: amd: Fix out-of-bounds stack access in amd_set_spi_freq()EPSS 0.2%CVE-2024-53228HIGHriscv: kvm: Fix out-of-bounds array accessEPSS 0.2%CVE-2024-53156HIGHwifi: ath9k: add range check for conn_rsp_epid in htc_connect_service()EPSS 0.2%CVE-2026-26933MEDIUMImproper Validation of Array Index in Packetbeat Leading to Denial of ServiceEPSS 0.2%CVE-2026-93841MEDIUMvLLM through 0.29.0 Adjacent-Request Sampler State Corruption via Unvalidated Prompt Token IDsEPSS 0.2%CVE-2026-75615MEDIUMASN1SCC: Out-of-bounds read via unvalidated character index in ASN.1 string decodersEPSS 0.2%CVE-2024-38562HIGHwifi: nl80211: Avoid address calculations via out of bounds array indexingEPSS 0.2%CVE-2026-107325HIGHApplication denial of service via missing BSON array length validation in MongoDB Go DriverEPSS 0.2%CVE-2026-107211HIGHExcelize: Unchecked pivot-cache field index in extractPivotTableFields causes unrecoverable panicEPSS 0.2%CVE-2026-0529MEDIUMImproper Validation of Array Index in Packetbeat Leading to Overflow BuffersEPSS 0.2%CVE-2025-21991HIGHx86/microcode/AMD: Fix out-of-bounds on systems with CPU-less NUMA nodesEPSS 0.2%CVE-2025-21680HIGHpktgen: Avoid out-of-bounds access in get_imix_entriesEPSS 0.2%CVE-2022-31603MEDIUMNVIDIA DGX A100 contains a vulnerability in SBIOS in the IpSecDxe, where a user with high privileges and preconditioned IpSecDxe global dataEPSS 0.2%CVE-2023-53340HIGHnet/mlx5: Collect command failures data only for known commandsEPSS 0.2%CVE-2025-22067HIGHspi: cadence: Fix out-of-bounds array access in cdns_mrvl_xspi_setup_clock()EPSS 0.2%CVE-2025-54610MEDIUMOut-of-bounds access vulnerability in the audio codec module. Impact: Successful exploitation of this vulnerability may affect availability.EPSS 0.2%CVE-2026-119143MEDIUMWasmtime 46.0.0 before 48.0.6 and 49.0.0 before 49.0.3 Panic via Zero-Length Stream WritesEPSS 0.2%CVE-2024-26758MEDIUMmd: Don't ignore suspended array in md_check_recovery()EPSS 0.2%