Falhas do 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 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-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-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-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-2023-52988HIGHALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path()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%