Weaknesses of type CWE-125
5,104 resultsLeitura fora dos limites de memória
Quando o código tenta ler dados além do tamanho alocado de um buffer, array ou estrutura de dados. O programa acessa memória que não deveria, podendo vazar informações sensíveis, causar travamento ou ser explorado para executar código arbitrário.
Example
Um validador de imagem PNG que lê o tamanho do chunk do header mas não verifica se esse tamanho é compatível com o arquivo; ao processar, lê bytes da memória adjacente, expondo dados de outras estruturas ou causando crash.
How to mitigate
Sempre validar comprimentos e índices antes de acessar buffers; usar funções seguras (strncpy em vez de strcpy, bounds checking em loops); compilar com sanitizadores (AddressSanitizer, Valgrind) para detectar em tempo de teste.
CVE-2023-23399HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 2.5%CVE-2017-12894CRITICALSeveral protocol parsers in tcpdump before 4.9.2 could cause a buffer over-read in addrtoname.c:lookup_bytestring().EPSS 2.5%CVE-2017-12993CRITICALThe Juniper protocols parser in tcpdump before 4.9.2 has a buffer over-read in print-juniper.c, several functions.EPSS 2.5%CVE-2017-13002CRITICALThe AODV parser in tcpdump before 4.9.2 has a buffer over-read in print-aodv.c:aodv_extension().EPSS 2.5%CVE-2017-13013CRITICALThe ARP parser in tcpdump before 4.9.2 has a buffer over-read in print-arp.c, several functions.EPSS 2.5%CVE-2017-12994CRITICALThe BGP parser in tcpdump before 4.9.2 has a buffer over-read in print-bgp.c:bgp_attr_print().EPSS 2.5%CVE-2017-13014CRITICALThe White Board protocol parser in tcpdump before 4.9.2 has a buffer over-read in print-wb.c:wb_prep(), several functions.EPSS 2.5%CVE-2017-12897CRITICALThe ISO CLNS parser in tcpdump before 4.9.2 has a buffer over-read in print-isoclns.c:isoclns_print().EPSS 2.5%CVE-2017-13016CRITICALThe ISO ES-IS parser in tcpdump before 4.9.2 has a buffer over-read in print-isoclns.c:esis_print().EPSS 2.5%CVE-2017-13006CRITICALThe L2TP parser in tcpdump before 4.9.2 has a buffer over-read in print-l2tp.c, several functions.EPSS 2.5%CVE-2017-12898CRITICALThe NFS parser in tcpdump before 4.9.2 has a buffer over-read in print-nfs.c:interp_reply().EPSS 2.5%CVE-2019-11823HIGHCRLF injection vulnerability in Network Center in Synology Router Manager (SRM) before 1.2.3-8017-2 allows remote attackers to cause a deniaEPSS 2.5%CVE-2018-10482—This vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of Foxit Reader 9.0.0.29935. User iEPSS 2.5%CVE-2018-10492—This vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of Foxit Reader 9.0.0.29935. User iEPSS 2.5%CVE-2018-10479—This vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of Foxit Reader 9.0.0.29935. User iEPSS 2.5%CVE-2018-9976—This vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of Foxit Reader 9.0.0.29935. User iEPSS 2.5%CVE-2018-10480—This vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of Foxit Reader 9.0.0.29935. User iEPSS 2.5%CVE-2018-10493—This vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of Foxit Reader 9.0.1.1049. User inEPSS 2.5%CVE-2018-10476—This vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of Foxit Reader 9.0.0.29935. User iEPSS 2.5%CVE-2018-9984—This vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of Foxit Reader 9.0.0.29935. User iEPSS 2.5%