Falhas do tipo CWE-1285

61 resultados

Validação inadequada de índice, posição ou deslocamento na entrada

A aplicação aceita um índice, posição ou offset do usuário sem validar se está dentro dos limites válidos do array, string ou buffer. Isso permite que atacantes acessem ou modifiquem posições de memória inválidas, causando crashes, leitura de dados sensíveis ou execução de código.

Exemplo

Um sistema de upload permite ao cliente especificar qual "chunk" de um arquivo processar informando um índice. Se o código não verifica se esse índice existe na lista de chunks, o atacante pode fornecer um índice negativo ou maior que o tamanho do array, causando acesso fora dos limites.

Como mitigar

Sempre validar índices/offsets contra os limites reais da estrutura (verificar se está >= 0 e < tamanho). Usar operações de acesso seguro que já realizam esse tipo de verificação, como métodos de biblioteca que lançam exceção em caso de índice inválido, em vez de operações de baixo nível com aritmética manual.

CVE-2023-39389Vulnerability of input parameters being not strictly verified in the PMS module. Successful exploitation of this vulnerability may cause homEPSS 0.4%CVE-2023-39388Vulnerability of input parameters being not strictly verified in the PMS module. Successful exploitation of this vulnerability may cause homEPSS 0.4%CVE-2022-36363MEDIUMA vulnerability has been identified in LOGO! 12/24RCE (6ED1052-1MD08-0BA1) (All versions), LOGO! 12/24RCEo (6ED1052-2MD08-0BA1) (All versionEPSS 0.4%CVE-2026-44004HIGHvm2: Host Process OOM DoS via Buffer.alloc (Timeout Bypass)EPSS 0.4%CVE-2024-51566MEDIUMbhyve(8) NVMe driver to guest-induced infinite loops.EPSS 0.4%CVE-2025-8291MEDIUMZIP64 End of Central Directory (EOCD) Locator record offset not checkedEPSS 0.4%CVE-2026-40886HIGHArgo Workflows: Unchecked annotation parsing in pod informer crashes Argo Workflows controllerEPSS 0.4%CVE-2025-55086MEDIUMIn NetXDuo version before 6.4.4, a networking support module for Eclipse Foundation ThreadX, in the DHCPV6 client there was an unchecked indEPSS 0.4%CVE-2026-45352MEDIUMcpp-httplib DoS: Negative chunk-size in chunked Transfer-EncodingEPSS 0.3%CVE-2026-53530HIGHratex-parser panics on `\verb` with a multibyte delimiter (UTF-8 byte-boundary slice)EPSS 0.3%CVE-2023-36850MEDIUMJunos OS: MX Series: An MPC will crash upon receipt of a malformed CFM packet.EPSS 0.3%CVE-2026-9100MEDIUMHeap memory out of bounds read and crash in C Driver legacy GridFS file readerEPSS 0.3%CVE-2025-9189HIGHOut Of Bounds Write when parsing a DSB file with Digilent DASYLabEPSS 0.3%CVE-2025-57777HIGHOut Of Bounds Write in displ2.dll when parsing a DSB file with Digilent DASYLabEPSS 0.3%CVE-2025-57774HIGHOut Of Bounds Write of invalid data when parsing a DSB file with Digilent DASYLabEPSS 0.3%CVE-2025-57776HIGHOut Of Bounds Write to invalid address when parsing a DSB file with Digilent DASYLabEPSS 0.3%CVE-2025-57778HIGHOut Of Bounds Write to invalid source address when parsing a DSB file with Digilent DASYLabEPSS 0.3%CVE-2018-25232MEDIUMSoftros LAN Messenger 9.2 Denial of Service via Log Files LocationEPSS 0.3%CVE-2025-57775HIGHHeap-based Buffer Overflow when parsing a DSB file with Digilent DASYLabEPSS 0.3%CVE-2024-41928HIGHbhyve(8) privileged guest escape via TPM device passthroughEPSS 0.2%