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-2024-45578HIGHImproper Validation of Array Index in Camera DriverEPSS 0.1%CVE-2024-45576HIGHImproper Validation of Array Index in Camera DriverEPSS 0.1%CVE-2024-45574HIGHImproper Validation of Array Index in Camera DriverEPSS 0.1%CVE-2022-33281MEDIUMImproper validation of array index in computer vision.EPSS 0.1%CVE-2023-31309MEDIUMImproper validation in Power Management Firmware (PMFW) may allow an attacker with privileges to pass malformed workload arguments when expoEPSS 0.1%CVE-2026-96675MEDIUMalsa-lib through 1.2.16.1 Denial of Service via pcm_multiEPSS 0.1%CVE-2024-49834HIGHImproper Validation of Array Index in CameraEPSS 0.1%CVE-2023-43535HIGHImproper Validation of Array Index in DisplayEPSS 0.1%CVE-2025-21447HIGHImproper Validation of Array Index in Computer VisionEPSS 0.1%CVE-2024-49837HIGHImproper Validation of Array Index in Automotive OS PlatformEPSS 0.1%CVE-2024-49843HIGHImproper Validation of Array Index in Graphics_LinuxEPSS 0.1%CVE-2025-21423HIGHImproper Validation of Array Index in DisplayEPSS 0.1%CVE-2026-0799HIGHOOBR and OOBW in libpcap before 1.10.7EPSS 0.1%CVE-2023-33111MEDIUMImproper Validation of Array Index in AudioEPSS 0.1%CVE-2026-110934MEDIUMImproper validation of array index vulnerability in Samsung Open Source Vyond allows Input Data Manipulation. This issue affects Vyond: befEPSS 0.1%CVE-2026-6840MEDIUMMissing bounds validation for operator could allow out of range operator-code lookup during model loading Affected version is prior to commEPSS 0.1%CVE-2024-33044HIGHImproper Validation of Array Index in HypervisorEPSS 0.1%CVE-2026-17413MEDIUMThis Power System update is being released to addressEPSS 0.1%CVE-2024-49833HIGHImproper Validation of Array Index in CameraEPSS 0.1%CVE-2024-45550HIGHImproper Validation of Array Index in DSP ServicesEPSS 0.1%