Falhas do tipo CWE-125

5.099 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-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-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-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-13021CRITICALThe ICMPv6 parser in tcpdump before 4.9.2 has a buffer over-read in print-icmp6.c:icmp6_print().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-2020-10894LOWThis vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit PhantomPDF 9.7.1.29511. UserEPSS 3.4%CVE-2021-28551HIGHAdobe Acrobat Pro DC JPEG2000 Editing Out-Of-Bounds Read Remote Code Execution VulnerabilityEPSS 3.4%CVE-2022-28231HIGHAdobe Acrobat Reader DC Doc Object Out-Of-Bounds Read Information Disclosure VulnerabilityEPSS 3.4%CVE-2022-28239HIGHAdobe Acrobat Reader DC Annotation Out-Of-Bounds Read Remote Code Execution VulnerabilityEPSS 3.4%CVE-2022-1586An 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-2022-34215HIGHAdobe Acrobat Reader DC Annotation Polygon Out-Of-Bounds Read Remote Code Execution VulnerabilityEPSS 3.3%CVE-2022-34222HIGHAdobe Acrobat Reader DC query Out-Of-Bounds Read Remote Code Execution VulnerabilityEPSS 3.3%CVE-2021-27271HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit PhantomPDF 10.1.0.37527. User interaEPSS 3.3%CVE-2020-1763HIGHAn out-of-bounds buffer read flaw was found in the pluto daemon of libreswan from versions 3.27 till 3.31 where, an unauthenticated attackerEPSS 3.3%CVE-2017-12896CRITICALThe ISAKMP parser in tcpdump before 4.9.2 has a buffer over-read in print-isakmp.c:isakmp_rfc3948_print().EPSS 3.3%CVE-2017-13020CRITICALThe VTP parser in tcpdump before 4.9.2 has a buffer over-read in print-vtp.c:vtp_print().EPSS 3.3%CVE-2017-13687CRITICALThe Cisco HDLC parser in tcpdump before 4.9.2 has a buffer over-read in print-chdlc.c:chdlc_print().EPSS 3.3%CVE-2021-28617MEDIUMAdobe Animate out-of-bounds read vulnerability could lead to sensitive information disclosureEPSS 3.3%