Weaknesses of type CWE-129

324 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-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-53792HIGHrsync < 3.5.0 Out-of-Bounds Read via Zero-Length Checksum BlockEPSS 0.3%CVE-2026-70635HIGHTimescaleDB 2.29.1 Out-of-Bounds Read DoS via Bulk Dictionary Decompression Negative IndexEPSS 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-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-63308MEDIUMHelm Files.Lines Denial of Service via Empty Chart FilesEPSS 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-2024-56596HIGHjfs: fix array-index-out-of-bounds in jfs_readdirEPSS 0.3%