Fallos del tipo CWE-1285

61 resultados

Validação inadequada de índice, posição ou offset no input

O código aceita um índice, posição ou offset fornecido pelo usuário sem validar se está dentro dos limites válidos da estrutura de dados. Isso permite acessar, modificar ou corromper dados fora dos bounds esperados, causando crashes, exposição de informações sensíveis ou execução de código.

Ejemplo

Uma API recebe um offset para ler bytes de um arquivo: o desenvolvedor não verifica se offset + tamanho ultrapassa o final do arquivo, permitindo leitura de memória além dos limites ou acesso a dados adjacentes não autorizados.

Cómo mitigar

Sempre validar que índice/posição/offset está dentro do intervalo permitido (0 <= valor < limite máximo) antes de usar. Implementar checks explícitos e usar tipos que naturalmente enforçam limites, como arrays com tamanho fixo em Rust ou bounds checking automático em linguagens de alto nível.

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-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-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-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%