Falhas do tipo CWE-118

12 resultados

Acesso incorreto a recurso indexável (erro de intervalo)

Ocorre quando o código tenta acessar um elemento de um array, string ou coleção usando um índice fora dos limites válidos. O programa não valida se o índice está dentro do intervalo permitido antes do acesso, causando leitura de memória inválida, corrupção de dados ou travamento.

Exemplo

Um aplicativo lê um campo de entrada do usuário como índice para acessar um array sem verificar se está entre 0 e o tamanho da coleção. Um atacante envia um índice negativo ou maior que o comprimento, acessando memória adjacente ou provocando uma exceção de falta de segmentação.

Como mitigar

Sempre validar índices antes de usar: verificar se está >= 0 e < tamanho da coleção. Use APIs seguras de linguagem (iteradores, for-each) e, em linguagens de baixo nível como C, implemente verificações explícitas de limites ou use ferramentas de análise estática.

CVE-2020-3235HIGHCisco IOS and IOS XE Software Simple Network Management Protocol Denial of Service VulnerabilityEPSS 1.6%CVE-2020-3369HIGHCisco SD-WAN vEdge Routers Denial of Service VulnerabilityEPSS 1.4%CVE-2022-38072MEDIUMAn improper array index validation vulnerability exists in the stl_fix_normal_directions functionality of ADMesh Master Commit 767a105 and vEPSS 1.1%CVE-2024-43524MEDIUMWindows Mobile Broadband Driver Remote Code Execution VulnerabilityEPSS 0.7%CVE-2022-36402MEDIUMThere is an int overflow vulnerability in vmwgfx driverEPSS 0.5%CVE-2023-37923HIGHMultiple arbitrary write vulnerabilities exist in the VCD sorted bsearch functionality of GTKWave 3.3.115. A specially crafted .vcd file canEPSS 0.4%CVE-2023-37921HIGHMultiple arbitrary write vulnerabilities exist in the VCD sorted bsearch functionality of GTKWave 3.3.115. A specially crafted .vcd file canEPSS 0.4%CVE-2023-37922HIGHMultiple arbitrary write vulnerabilities exist in the VCD sorted bsearch functionality of GTKWave 3.3.115. A specially crafted .vcd file canEPSS 0.4%CVE-2026-50367HIGHWindows Sensor Data Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2025-54628MEDIUMVulnerability of incomplete verification information in the communication module. Impact: Successful exploitation of this vulnerability may EPSS 0.2%CVE-2023-0201MEDIUMNVIDIA DGX-2 SBIOS contains a vulnerability in Bds, where a user with high privileges can cause a write beyond the bounds of an indexable reEPSS 0.2%CVE-2025-48902MEDIUMVulnerability of uncontrolled system resource applications in the setting module Impact: Successful exploitation of this vulnerability may aEPSS 0.1%