Weaknesses of type CWE-129

381 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-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-2026-32682HIGHNGINX Gateway Fabric vulnerabilityEPSS 0.3%CVE-2022-49478HIGHmedia: pvrusb2: fix array-index-out-of-bounds in pvr2_i2c_core_initEPSS 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%