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-2023-35994HIGHMultiple improper array index validation vulnerabilities exist in the fstReaderIterBlocks2 tdelta functionality of GTKWave 3.3.115. A speciaEPSS 0.4%CVE-2023-35997HIGHMultiple improper array index validation vulnerabilities exist in the fstReaderIterBlocks2 tdelta functionality of GTKWave 3.3.115. A speciaEPSS 0.4%CVE-2026-49838MEDIUMGoBGP confederation validation panics on empty AS_PATH attributeEPSS 0.4%CVE-2026-46598MEDIUMInvoking pathological inputs can lead to client panic in golang.org/x/crypto/ssh/agentEPSS 0.4%CVE-2025-62372HIGHvLLM vulnerable to DoS with incorrect shape of multimodal embedding inputsEPSS 0.4%CVE-2026-33281MEDIUMElla Core panics on invalid PDU Session IDs in NGAP messagesEPSS 0.4%CVE-2026-40251HIGHIncus out-of-bounds panic in snapshot metadata handling allows denial of serviceEPSS 0.4%CVE-2026-116590MEDIUMsnappy-java: JVM crash from unchecked ranges in Snappy.arrayCopy and SnappyOutputStream.rawWriteEPSS 0.4%CVE-2026-31965MEDIUMHTSlib CRAM reader has out-of-bounds reads due to improper validation of inputEPSS 0.4%CVE-2026-57272HIGHGeoVision GeoWebPlayer Websocket Server out-of-bounds read vulnerabilityEPSS 0.4%CVE-2026-31962HIGHHTSlib CRAM reader has heap buffer overflow due to improper validation of inputEPSS 0.4%CVE-2026-33022MEDIUMTekton Pipelines: Controller can panic when setting long resolver names in TaskRun/PipelineRunEPSS 0.4%CVE-2026-40886HIGHArgo Workflows: Unchecked annotation parsing in pod informer crashes Argo Workflows controllerEPSS 0.4%CVE-2026-116181HIGHvLLM 0.20.1 before 0.29.0 DoS and GPU Out-of-Bounds Write via stop_token_idsEPSS 0.4%CVE-2026-25518MEDIUMcert-manager-controller DoS via Specially Crafted DNS ResponseEPSS 0.4%CVE-2026-57266HIGHGeoVision GeoWebPlayer Websocket Server out-of-bounds read vulnerabilityEPSS 0.4%CVE-2026-57271HIGHGeoVision GeoWebPlayer Websocket Server out-of-bounds read vulnerabilityEPSS 0.4%CVE-2026-57267HIGHGeoVision GeoWebPlayer Websocket Server out-of-bounds read vulnerabilityEPSS 0.4%CVE-2026-79775HIGHrclone Archive Backend SquashFS Parser Denial of ServiceEPSS 0.4%CVE-2026-57265HIGHGeoVision GeoWebPlayer Websocket Server out-of-bounds read vulnerabilityEPSS 0.4%