Fallos del tipo CWE-129

323 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 que valores fora dos limites sejam usados. Isso pode causar leitura ou escrita de memória inválida, levando a crash, vazamento de dados ou execução de código arbitrário.

Ejemplo

Uma aplicação recebe um ID de usuário via parâmetro HTTP e o usa diretamente como índice em um array de sessões sem verificar se está dentro dos limites. Um atacante envia um índice negativo ou maior que o tamanho do array, acessando memória adjacente e roubando dados de outras sessões.

Cómo mitigar

Sempre validar que o índice está entre 0 e (tamanho_do_array - 1) antes de qualquer acesso. Use funções de linguagem que impõem limites automaticamente (como iteradores) ou implemente verificações explícitas com exceções/retorno de erro.

CVE-2024-56596HIGHjfs: fix array-index-out-of-bounds in jfs_readdirEPSS 0.3%CVE-2025-40114HIGHiio: light: Add check for array bounds in veml6075_read_int_time_msEPSS 0.3%CVE-2023-52805HIGHjfs: fix array-index-out-of-bounds in diAllocEPSS 0.3%CVE-2024-53214HIGHvfio/pci: Properly hide first-in-list PCIe extended capabilityEPSS 0.3%CVE-2023-52601HIGHjfs: fix array-index-out-of-bounds in dbAdjTreeEPSS 0.2%CVE-2022-49186HIGHclk: visconti: prevent array overflow in visconti_clk_register_gates()EPSS 0.2%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-2026-93841MEDIUMvLLM through 0.29.0 Adjacent-Request Sampler State Corruption via Unvalidated Prompt Token IDsEPSS 0.2%CVE-2026-26933MEDIUMImproper Validation of Array Index in Packetbeat Leading to Denial of ServiceEPSS 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-2024-38562HIGHwifi: nl80211: Avoid address calculations via out of bounds array indexingEPSS 0.2%CVE-2025-40014HIGHobjtool, spi: amd: Fix out-of-bounds stack access in amd_set_spi_freq()EPSS 0.2%CVE-2026-25585HIGHiccDEV vulnerable to OOB in CIccXform3DLut::Apply()EPSS 0.2%CVE-2025-21680HIGHpktgen: Avoid out-of-bounds access in get_imix_entriesEPSS 0.2%CVE-2026-13212HIGHZephyr virtio driver calls an arbitrary function pointer from an out-of-range used-ring descriptor idEPSS 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-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%