Falhas do tipo CWE-129

381 resultados

Validação inadequada de índice de array

Ocorre quando o código não valida corretamente um índice antes de acessar um array, permitindo leitura ou escrita fora dos limites da estrutura. Um atacante pode explorar isso para ler dados sensíveis da memória adjacente, sobrescrever dados críticos ou executar código arbitrário.

Exemplo

Um aplicativo web recebe um ID de usuário vindo de um parâmetro GET e o usa diretamente como índice em um array de usuários sem verificar se está dentro do tamanho válido. Um atacante fornece um índice negativo ou muito grande, acessando registros de outros usuários ou corrompendo estruturas internas.

Como mitigar

Sempre validar o índice antes do acesso: verificar se está >= 0 e < tamanho_do_array. Use bibliotecas que oferecem acesso seguro a coleções (como listas tipadas em linguagens modernas) e implemente testes de boundary para casos extremos durante o desenvolvimento.

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-2026-26933MEDIUMImproper Validation of Array Index in Packetbeat Leading to Denial of ServiceEPSS 0.2%CVE-2024-53156HIGHwifi: ath9k: add range check for conn_rsp_epid in htc_connect_service()EPSS 0.2%CVE-2026-93841MEDIUMvLLM through 0.29.0 Adjacent-Request Sampler State Corruption via Unvalidated Prompt Token IDsEPSS 0.2%CVE-2024-38562HIGHwifi: nl80211: Avoid address calculations via out of bounds array indexingEPSS 0.2%CVE-2026-75615MEDIUMASN1SCC: Out-of-bounds read via unvalidated character index in ASN.1 string decodersEPSS 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-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-2025-22067HIGHspi: cadence: Fix out-of-bounds array access in cdns_mrvl_xspi_setup_clock()EPSS 0.2%CVE-2024-26758MEDIUMmd: Don't ignore suspended array in md_check_recovery()EPSS 0.2%CVE-2026-24238HIGHNVIDIA TensorRT for contains a vulnerability where an attacker might cause an improper validation of array index. A successful exploit of thEPSS 0.2%