Fallos del tipo CWE-1285

68 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-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-10494HIGHOut of bounds read in HeapObjMapImpl.cpp in NI LabVIEWEPSS 0.2%CVE-2024-10496HIGHOut of bounds read in BuildFontMap in fontmgr.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%