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-2024-51517MEDIUMVulnerability of improper memory access in the phone service module Impact: Successful exploitation of this vulnerability may affect availabEPSS 0.1%CVE-2023-21650MEDIUMImproper Validation of Array Index in GPS HLOS DriverEPSS 0.1%CVE-2023-21636MEDIUMImproper Validation of Array Index in LinuxEPSS 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-2023-43535HIGHImproper Validation of Array Index in DisplayEPSS 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-2024-49837HIGHImproper Validation of Array Index in Automotive OS PlatformEPSS 0.1%CVE-2025-21447HIGHImproper Validation of Array Index in Computer VisionEPSS 0.1%CVE-2025-21423HIGHImproper Validation of Array Index in DisplayEPSS 0.1%CVE-2024-49843HIGHImproper Validation of Array Index in Graphics_LinuxEPSS 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-17413MEDIUMThis Power System update is being released to addressEPSS 0.1%CVE-2024-33044HIGHImproper Validation of Array Index in HypervisorEPSS 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-45550HIGHImproper Validation of Array Index in DSP ServicesEPSS 0.1%CVE-2024-49832HIGHImproper Validation of Array Index in CameraEPSS 0.1%