Falhas do tipo CWE-125

5.094 resultados

Leitura fora dos limites de memória

Ocorre quando o código tenta ler dados de uma posição de memória fora do intervalo alocado para um buffer ou array. O programa não valida o índice ou tamanho antes de acessar, causando leitura de dados inválidos, corrupção de informações ou revelação de dados sensíveis da memória adjacente.

Exemplo

Um processador de imagem PNG lê 4 bytes de um buffer de 2 bytes para validar uma assinatura, ou uma função copia uma string sem verificar se o índice fornecido pelo usuário extrapola o tamanho real do array. Em ambos os casos, dados fora do escopo pretendido são lidos.

Como mitigar

Sempre validar índices e comprimentos contra os limites reais do buffer antes de qualquer leitura. Usar funções seguras (ex: `strncpy` em vez de `strcpy`, bounds-checking em loops) e implementar testes com entradas extremas (size zero, índices negativos, valores muito grandes).

CVE-2023-35316MEDIUMRemote Procedure Call Runtime Information Disclosure VulnerabilityEPSS 1.4%CVE-2026-39929HIGHLakeside SysTrack Agent LsiAgent.exe Out-of-Bounds Read via UDPEPSS 1.4%CVE-2019-6568HIGHThe webserver of the affected devices contains a vulnerability that may lead to a denial of service condition. An attacker may cause a deniEPSS 1.4%CVE-2022-4203MEDIUMX.509 Name Constraints Read Buffer OverflowEPSS 1.4%CVE-2021-33644An attacker who submits a crafted tar file with size in header struct being 0 may be able to trigger an calling of malloc(0) for a variable EPSS 1.4%CVE-2025-9086HIGHOut of bounds read for cookie pathEPSS 1.4%CVE-2022-2287HIGHOut-of-bounds Read in vim/vimEPSS 1.4%CVE-2022-47940HIGHAn issue was discovered in ksmbd in the Linux kernel 5.15 through 5.18 before 5.18.18. fs/ksmbd/smb2pdu.c lacks length validation in the nonEPSS 1.4%CVE-2022-0393HIGHOut-of-bounds Read in vim/vimEPSS 1.4%CVE-2022-1304HIGHAn out-of-bounds read/write vulnerability was found in e2fsprogs 1.46.5. This issue leads to a segmentation fault and possibly arbitrary codEPSS 1.4%CVE-2019-15682RDesktop version 1.8.4 contains multiple out-of-bound access read vulnerabilities in its code, which results in a denial of service (DoS) coEPSS 1.4%CVE-2026-25181HIGHGDI+ Information Disclosure VulnerabilityEPSS 1.4%CVE-2022-34277A vulnerability has been identified in PADS Standard/Plus Viewer (All versions). The affected application is vulnerable to an out of bounds EPSS 1.4%CVE-2022-34280A vulnerability has been identified in PADS Standard/Plus Viewer (All versions). The affected application is vulnerable to an out of bounds EPSS 1.4%CVE-2022-34281A vulnerability has been identified in PADS Standard/Plus Viewer (All versions). The affected application is vulnerable to an out of bounds EPSS 1.4%CVE-2022-34272A vulnerability has been identified in PADS Standard/Plus Viewer (All versions). The affected application is vulnerable to an out of bounds EPSS 1.4%CVE-2022-34279A vulnerability has been identified in PADS Standard/Plus Viewer (All versions). The affected application is vulnerable to an out of bounds EPSS 1.4%CVE-2022-34278A vulnerability has been identified in PADS Standard/Plus Viewer (All versions). The affected application is vulnerable to an out of bounds EPSS 1.4%CVE-2023-21693MEDIUMMicrosoft PostScript and PCL6 Class Printer Driver Information Disclosure VulnerabilityEPSS 1.4%CVE-2020-36074HIGHSQL injection vulnerability found in Tailor Mangement System v.1 allows a remote attacker to execute arbitrary code via the title parameter.EPSS 1.4%