Fallos del tipo CWE-129

322 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-45104HIGHMapServer: NULL pointer dereference in SLD `<ElseFilter>` rule parsing reachable via WMS `SLD_BODY`EPSS 0.3%CVE-2026-73489MEDIUMRussh: Post-auth remote panic via pty-req with more than 130 terminal-mode recordsEPSS 0.3%CVE-2025-66559HIGHTaiko Alethia Pacaya inbox verification pointer corruptionEPSS 0.3%CVE-2026-70635HIGHTimescaleDB 2.29.1 Out-of-Bounds Read DoS via Bulk Dictionary Decompression Negative IndexEPSS 0.3%CVE-2026-53792HIGHrsync < 3.5.0 Out-of-Bounds Read via Zero-Length Checksum BlockEPSS 0.3%CVE-2024-42698MEDIUMRoughly Enough Items (REI) v.16.0.729 and before contains an Improper Validation of Specified Index, Position, or Offset in Input vulnerabilEPSS 0.3%CVE-2026-79775HIGHrclone Archive Backend SquashFS Parser Denial of ServiceEPSS 0.3%CVE-2023-0950HIGHArray Index UnderFlow in Calc Formula ParsingEPSS 0.3%CVE-2022-49720HIGHblock: Fix handling of offline queues in blk_mq_alloc_request_hctx()EPSS 0.3%CVE-2022-49548HIGHbpf: Fix potential array overflow in bpf_trampoline_get_progs()EPSS 0.3%CVE-2022-49478HIGHmedia: pvrusb2: fix array-index-out-of-bounds in pvr2_i2c_core_initEPSS 0.3%CVE-2026-32682HIGHNGINX Gateway Fabric vulnerabilityEPSS 0.3%CVE-2023-52988HIGHALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path()EPSS 0.3%CVE-2025-39728MEDIUMclk: samsung: Fix UBSAN panic in samsung_clk_init()EPSS 0.3%CVE-2026-63308MEDIUMHelm Files.Lines Denial of Service via Empty Chart FilesEPSS 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-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-2025-65499MEDIUMArray index error in tls_verify_call_back() in src/coap_openssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of serviceEPSS 0.3%CVE-2024-56595HIGHjfs: add a check to prevent array-index-out-of-bounds in dbAdjTreeEPSS 0.3%CVE-2025-40114HIGHiio: light: Add check for array bounds in veml6075_read_int_time_msEPSS 0.3%