Falhas do tipo CWE-129

374 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-2026-70634HIGHTimescaleDB 2.29.1 Out-of-Bounds Read Information Disclosure via Dictionary Compression Reverse IteratorEPSS 0.5%CVE-2020-17400HIGHThis vulnerability allows local attackers to escalate privileges on affected installations of Parallels Desktop 15.1.4. An attacker must firEPSS 0.5%CVE-2026-16651HIGHtemporalio/sqlparser malformed MySQL version comments can cause a panicEPSS 0.5%CVE-2022-33256CRITICALImproper validation of array index in Multi-mode call processorEPSS 0.5%CVE-2020-17398MEDIUMThis vulnerability allows local attackers to disclose information on affected installations of Parallels Desktop 15.1.4. An attacker must fiEPSS 0.5%CVE-2023-54396HIGHPocketMine-MP before 4.8.1 Server Crash via Banner NBTEPSS 0.5%CVE-2025-48075HIGHFiber panics when fiber.Ctx.BodyParser parses invalid range indexEPSS 0.5%CVE-2026-48741HIGHlibIEC61850: Remote NULL dereference in MMS Read alternate-access sub-array path leads to server-side DoSEPSS 0.5%CVE-2026-73564HIGHfrp: Unauthenticated Remote Denial of Service in the frp SSH Tunnel Gateway via Integer OverflowEPSS 0.5%CVE-2024-38623HIGHfs/ntfs3: Use variable length array instead of fixed sizeEPSS 0.5%CVE-2025-1975HIGHImproper Validation of Array Index in ollama/ollamaEPSS 0.5%CVE-2024-35164MEDIUMApache Guacamole: Improper input validation of console codesEPSS 0.5%CVE-2026-26932MEDIUMImproper Validation of Array Index in Packetbeat Leading to Denial of ServiceEPSS 0.5%CVE-2020-8876MEDIUMThis vulnerability allows local attackers to disclose information on affected installations of Parallels Desktop 15.1.2-47123. An attacker mEPSS 0.5%CVE-2022-25720CRITICALMemory corruption in WLAN due to out of bound array access during connect/roaming in Snapdragon Auto, Snapdragon Compute, Snapdragon ConnectEPSS 0.5%CVE-2023-35126HIGHAn out-of-bounds write vulnerability exists within the parsers for both the "DocumentViewStyles" and "DocumentEditStyles" streams of IchitarEPSS 0.5%CVE-2025-61915MEDIUMOpenPrinting CUPS vulnerable to stack based out-of-bound writeEPSS 0.5%CVE-2026-22879HIGHA heap-based buffer overflow vulnerability exists in the vtkDICOMItem::FindDataElementOrInsert functionality of vtk-dicom (version(s): 9.5.2EPSS 0.5%CVE-2022-46152HIGHOP-TEE Trusted OS vulnerable to Improper Validation of Array Index in the cleanup_shm_refs functionEPSS 0.5%CVE-2026-63308MEDIUMHelm Files.Lines Denial of Service via Empty Chart FilesEPSS 0.5%