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-2025-7849HIGHMemory Corruption Issue in NI LabVIEW due to improper error handlingEPSS 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-10494HIGHOut of bounds read in HeapObjMapImpl.cpp in NI LabVIEWEPSS 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-2026-12681HIGHImproper Validation of Specified Index, Position, or Offset in Input vulnerability in Google go-attestation. parseEfiSignatureList() does noEPSS 0.2%CVE-2019-25625MEDIUMBlob Studio 2.17 Denial of Service via Malformed InputEPSS 0.2%CVE-2019-25622MEDIUMPaint 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-2019-25593MEDIUMjetCast Server 2.0 Denial of Service via Log DirectoryEPSS 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-18485HIGHLocal Privilege Escalation in NI-PALEPSS 0.1%CVE-2026-14479MEDIUMDenial of Service in Autodesk Installer IPC ChannelEPSS 0.1%CVE-2025-48511MEDIUMImproper input validation within AMD uprof can allow a local attacker to write to an arbitrary physical address, potentially resulting in crEPSS 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%CVE-2026-8036HIGHLocal privilege escalation in NI-PALEPSS 0.1%CVE-2026-20413MEDIUMIn imgsys, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege if a maliEPSS 0.1%CVE-2026-31912MEDIUMOOBR in libpcap before 1.10.7EPSS 0.1%CVE-2025-20796HIGHIn imgsys, there is a possible out of bounds write due to improper input validation. This could lead to local escalation of privilege if a mEPSS 0.1%