Falhas do tipo CWE-1285

68 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-2026-12681HIGHImproper Validation of Specified Index, Position, or Offset in Input vulnerability in Google go-attestation. parseEfiSignatureList() does noEPSS 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%CVE-2026-110736LOWGodot Engine through 4.7.2 has an out-of-bounds read in the optimized translation loader (core/string/optimized_translation.cpp, OptimizedTrEPSS 0.2%CVE-2024-0123LOWNVIDIA CUDA toolkit for Windows and Linux contains a vulnerability in the nvdisasm command line tool where an attacker may cause an improperEPSS 0.2%CVE-2024-10495HIGHOut of bounds read when loading the font table in fontmgr.cpp in NI LabVIEWEPSS 0.2%CVE-2024-10496HIGHOut of bounds read in BuildFontMap in fontmgr.cpp in NI LabVIEWEPSS 0.2%CVE-2024-10494HIGHOut of bounds read in HeapObjMapImpl.cpp in NI LabVIEWEPSS 0.2%CVE-2025-2633HIGHOut of Bounds Read Vulnerability in NI LabVIEW when loading fontsEPSS 0.2%CVE-2025-2634HIGHOut of Bounds Read Vulnerability in NI LabVIEW when building font mapEPSS 0.2%CVE-2026-89410MEDIUMOut-of-bounds read in Z-Wave NCP SPI HandlerEPSS 0.2%CVE-2019-25622MEDIUMPaint Studio 2.17 Denial of Service via Malformed InputEPSS 0.2%CVE-2019-25625MEDIUMBlob Studio 2.17 Denial of Service via Malformed InputEPSS 0.2%CVE-2024-36342HIGHImproper input validation in the GPU driver could allow an attacker to exploit a heap overflow potentially resulting in arbitrary code execuEPSS 0.2%CVE-2026-96582MEDIUMOut-of-bounds Read via Check-after-use in the USBX HID Report Descriptor ParserEPSS 0.2%CVE-2019-25593MEDIUMjetCast Server 2.0 Denial of Service via Log DirectoryEPSS 0.2%CVE-2026-18485HIGHLocal Privilege Escalation in NI-PALEPSS 0.2%CVE-2026-14479MEDIUMDenial of Service in Autodesk Installer IPC ChannelEPSS 0.2%CVE-2026-20524HIGHIn apu, there is a possible memory corruption due to improper input validation. This could lead to local escalation of privilege with no addEPSS 0.1%CVE-2025-48502MEDIUMImproper input validation within AMD uprof can allow a local attacker to overwrite MSR registers, potentially resulting in crash or denial oEPSS 0.1%