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-16849MEDIUMVulnerabilities in IBM AIX and PowerVM VIOSEPSS 0.3%CVE-2025-39728MEDIUMclk: samsung: Fix UBSAN panic in samsung_clk_init()EPSS 0.3%CVE-2022-2951HIGH Altair HyperView Player versions 2021.1.0.27 and prior are vulnerable to improper validation of array index vulnerability during processiEPSS 0.3%CVE-2026-43110HIGHwifi: brcmfmac: validate bsscfg indices in IF eventsEPSS 0.3%CVE-2026-107225MEDIUMExcelize: GetStyle panics on a negative fillId, borderId or fontId in styles.xmlEPSS 0.3%CVE-2026-107222MEDIUMExcelize: GetConditionalFormats indexes conditional-formatting rule sub-elements with no length or nil checkEPSS 0.3%CVE-2024-41564MEDIUMEMI v.1.1.10 and before, fixed in v.1.1.11, contains an Improper Validation of Specified Index, Position, or Offset in Input vulnerability. EPSS 0.3%CVE-2026-116585MEDIUMGo JOSE: Panic during CBC-HMAC processingEPSS 0.3%CVE-2026-107220MEDIUMExcelize: Panic in cellInRange on a worksheet with an empty mergeCell refEPSS 0.3%CVE-2026-107457LOWMemory corruption vulnerability in QMqttClient impacts Qt MQTTEPSS 0.3%CVE-2026-109250HIGHFreeRDP 3.0.0 before 3.32.0 Heap Buffer Overflow via PKCS#11 collect_keys()EPSS 0.3%CVE-2024-56596HIGHjfs: fix array-index-out-of-bounds in jfs_readdirEPSS 0.3%CVE-2024-56598HIGHjfs: array-index-out-of-bounds fix in dtReadFirstEPSS 0.3%CVE-2025-40114HIGHiio: light: Add check for array bounds in veml6075_read_int_time_msEPSS 0.3%CVE-2024-53214HIGHvfio/pci: Properly hide first-in-list PCIe extended capabilityEPSS 0.3%CVE-2023-52805HIGHjfs: fix array-index-out-of-bounds in diAllocEPSS 0.3%CVE-2026-25585HIGHiccDEV vulnerable to OOB in CIccXform3DLut::Apply()EPSS 0.3%CVE-2022-49186HIGHclk: visconti: prevent array overflow in visconti_clk_register_gates()EPSS 0.2%CVE-2023-52601HIGHjfs: fix array-index-out-of-bounds in dbAdjTreeEPSS 0.2%CVE-2024-56595HIGHjfs: add a check to prevent array-index-out-of-bounds in dbAdjTreeEPSS 0.2%