Fallos del 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 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-2026-16849MEDIUMVulnerabilities in IBM AIX and PowerVM VIOSEPSS 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-2025-39728MEDIUMclk: samsung: Fix UBSAN panic in samsung_clk_init()EPSS 0.3%CVE-2026-107222MEDIUMExcelize: GetConditionalFormats indexes conditional-formatting rule sub-elements with no length or nil checkEPSS 0.3%CVE-2026-107225MEDIUMExcelize: GetStyle panics on a negative fillId, borderId or fontId in styles.xmlEPSS 0.3%CVE-2026-43110HIGHwifi: brcmfmac: validate bsscfg indices in IF eventsEPSS 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-107220MEDIUMExcelize: Panic in cellInRange on a worksheet with an empty mergeCell refEPSS 0.3%CVE-2026-116585MEDIUMGo JOSE: Panic during CBC-HMAC processingEPSS 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%