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-2025-66559HIGHTaiko Alethia Pacaya inbox verification pointer corruptionEPSS 0.3%CVE-2026-102510HIGHApache PLC4X: Go binding: unbounded allocation and framing failures on wire-controlled lengthsEPSS 0.3%CVE-2026-102822LOWrussh: negotiating a MAC-requiring block cipher (CTR/CBC) with mac=none causes a slice-index-out-of-range panicEPSS 0.3%CVE-2026-121968HIGHNetrek-client-cow through 3.3.3 Out-of-Bounds Read via SP_S_MESSAGE PacketsEPSS 0.3%CVE-2026-43172HIGHwifi: iwlwifi: fix 22000 series SMEM parsingEPSS 0.3%CVE-2022-49471HIGHrtw89: cfo: check mac_id to avoid out-of-boundsEPSS 0.3%CVE-2026-45104HIGHMapServer: NULL pointer dereference in SLD `<ElseFilter>` rule parsing reachable via WMS `SLD_BODY`EPSS 0.3%CVE-2026-100654HIGHvLLM before 0.29.0 Denial of Service via out-of-range stop_token_idsEPSS 0.3%CVE-2026-115916MEDIUMvLLM: Out-of-vocabulary prompt token id passes input validation and triggers a CUDA device-side assert (engine crash / DoS)EPSS 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-77375MEDIUMSFTPGo: Denial of service via malformed SSH channel requestEPSS 0.3%CVE-2026-107218MEDIUMExcelize: RIGHT() on supplementary-plane text slices with a negative index and panicsEPSS 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-2026-109251MEDIUMFreeRDP before 3.32.0 Out-of-Bounds Write via MS-RDPEGT Video GeometryEPSS 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-2023-52988HIGHALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path()EPSS 0.3%