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