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-2019-6765HIGHThis vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit PhantomPDF 9.4.1.16828. User interEPSS 3.5%CVE-2017-13024CRITICALThe IPv6 mobility parser in tcpdump before 4.9.2 has a buffer over-read in print-mobility.c:mobility_opt_print().EPSS 3.5%CVE-2017-12902CRITICALThe Zephyr parser in tcpdump before 4.9.2 has a buffer over-read in print-zephyr.c, several functions.EPSS 3.5%CVE-2018-10598—CNCSoft Version 1.00.83 and prior with ScreenEditor Version 1.00.54 has two out-of-bounds read vulnerabilities could cause the software to cEPSS 3.5%CVE-2017-12985CRITICALThe IPv6 parser in tcpdump before 4.9.2 has a buffer over-read in print-ip6.c:ip6_print().EPSS 3.5%CVE-2017-13010CRITICALThe BEEP parser in tcpdump before 4.9.2 has a buffer over-read in print-beep.c:l_strnstart().EPSS 3.5%CVE-2022-28241HIGHAdobe Acrobat Reader DC Doc Object Out-Of-Bounds Read Remote Code Execution VulnerabilityEPSS 3.4%CVE-2017-13035CRITICALThe ISO IS-IS parser in tcpdump before 4.9.2 has a buffer over-read in print-isoclns.c:isis_print_id().EPSS 3.4%CVE-2017-13025CRITICALThe IPv6 mobility parser in tcpdump before 4.9.2 has a buffer over-read in print-mobility.c:mobility_opt_print().EPSS 3.4%CVE-2017-13037CRITICALThe IP parser in tcpdump before 4.9.2 has a buffer over-read in print-ip.c:ip_printts().EPSS 3.4%CVE-2017-13022CRITICALThe IP parser in tcpdump before 4.9.2 has a buffer over-read in print-ip.c:ip_printroute().EPSS 3.4%CVE-2017-13045CRITICALThe VQP parser in tcpdump before 4.9.2 has a buffer over-read in print-vqp.c:vqp_print().EPSS 3.4%CVE-2017-13021CRITICALThe ICMPv6 parser in tcpdump before 4.9.2 has a buffer over-read in print-icmp6.c:icmp6_print().EPSS 3.4%CVE-2021-27271HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 10.1.0.37527. User interaEPSS 3.4%CVE-2021-28551HIGHAdobe Acrobat Pro DC JPEG2000 Editing Out-Of-Bounds Read Remote Code Execution VulnerabilityEPSS 3.4%CVE-2022-1586—An out-of-bounds read vulnerability was discovered in the PCRE2 library in the compile_xclass_matchingpath() function of the pcre2_jit_compiEPSS 3.4%CVE-2024-29996HIGHWindows Common Log File System Driver Elevation of Privilege VulnerabilityEPSS 3.4%CVE-2021-21075HIGHAdobe Animate out-of-bounds read vulnerabilityEPSS 3.3%CVE-2021-21072HIGHAdobe Animate out-of-bounds read vulnerabilityEPSS 3.3%CVE-2022-34222HIGHAdobe Acrobat Reader DC query Out-Of-Bounds Read Remote Code Execution VulnerabilityEPSS 3.3%