Falhas do tipo CWE-125

6.000 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-21798HIGHMicrosoft ODBC Driver Remote Code Execution VulnerabilityEPSS 1.2%CVE-2022-43592MEDIUMAn information disclosure vulnerability exists in the DPXOutput::close() functionality of OpenImageIO Project OpenImageIO v2.4.4.2. A speciaEPSS 1.2%CVE-2022-43596MEDIUMAn information disclosure vulnerability exists in the IFFOutput channel interleaving functionality of OpenImageIO Project OpenImageIO v2.4.4EPSS 1.2%CVE-2021-47308HIGHscsi: libfc: Fix array index out of bound exceptionEPSS 1.2%CVE-2022-40656HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of NIKON NIS-Elements Viewer 13.2.0.21165. UsEPSS 1.2%CVE-2022-35261MEDIUMA denial of service vulnerability exists in the web_server hashFirst functionality of Robustel R1510 3.1.16 and 3.3.0. A specially-crafted nEPSS 1.2%CVE-2024-32659CRITICALfreerdp_image_copy out of bound readEPSS 1.2%CVE-2022-35265MEDIUMA denial of service vulnerability exists in the web_server hashFirst functionality of Robustel R1510 3.1.16 and 3.3.0. A specially-crafted nEPSS 1.2%CVE-2022-35269MEDIUMA denial of service vulnerability exists in the web_server hashFirst functionality of Robustel R1510 3.1.16 and 3.3.0. A specially-crafted nEPSS 1.2%CVE-2022-35270MEDIUMA denial of service vulnerability exists in the web_server hashFirst functionality of Robustel R1510 3.1.16 and 3.3.0. A specially-crafted nEPSS 1.2%CVE-2022-35266MEDIUMA denial of service vulnerability exists in the web_server hashFirst functionality of Robustel R1510 3.1.16 and 3.3.0. A specially-crafted nEPSS 1.2%CVE-2022-35267MEDIUMA denial of service vulnerability exists in the web_server hashFirst functionality of Robustel R1510 3.1.16 and 3.3.0. A specially-crafted nEPSS 1.2%CVE-2026-50496HIGHWindows Network Policy Server SNMP Information Disclosure VulnerabilityEPSS 1.2%CVE-2026-77498HIGHWindows DHCP Server Denial of Service VulnerabilityEPSS 1.2%CVE-2026-77893HIGHWindows DHCP Server Denial of Service VulnerabilityEPSS 1.2%CVE-2026-77895HIGHWindows DHCP Server Denial of Service VulnerabilityEPSS 1.2%CVE-2026-83989HIGHWindows Services for NFS ONCRPC XDR Driver Denial of Service VulnerabilityEPSS 1.2%CVE-2026-69760HIGHWindows Kerberos Denial of Service VulnerabilityEPSS 1.2%CVE-2026-84001HIGHWindows Key Distribution Center Denial of Service VulnerabilityEPSS 1.2%CVE-2026-69329HIGHBranchCache Denial of Service VulnerabilityEPSS 1.2%