Falhas do tipo CWE-787

5.127 resultados

Escrita fora dos limites de memória

Ocorre quando um programa escreve dados em um endereço de memória fora da área alocada para um buffer ou variável. O código não valida o tamanho ou índice antes de gravar, permitindo sobrescrita de dados adjacentes, corrupção de estruturas críticas ou execução de código arbitrário.

Exemplo

Um formulário web que copia dados do usuário para um buffer de 256 bytes sem validar o tamanho da entrada. Se o atacante envia 500 bytes, a escrita transborda e sobrescreve a pilha, podendo hijackear o endereço de retorno da função.

Como mitigar

Use funções seguras de cópia (strncpy, strlcpy ao invés de strcpy; memcpy com tamanho máximo explícito) e sempre valide comprimento e índices antes de escrever. Em linguagens modernas, prefira estruturas com bounds-checking automático (arrays em Java, Rust, etc).

CVE-2012-2539HIGHMicrosoft Word 2003 SP3, 2007 SP2 and SP3, and 2010 SP1; Word Viewer; Office Compatibility Pack SP2 and SP3; and Office Web Apps 2010 SP1 alEPSS 53.0%KEVCVE-2019-1367HIGHA remote code execution vulnerability exists in the way that the scripting engine handles objects in memory in Internet Explorer, aka 'ScripEPSS 52.4%KEVCVE-2018-25032HIGHzlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.EPSS 51.7%CVE-2015-2502HIGHMicrosoft Internet Explorer 7 through 11 allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) EPSS 51.0%KEVCVE-2022-23943mod_sed: Read/write beyond boundsEPSS 50.4%CVE-2023-5217HIGHHeap buffer overflow in vp8 encoding in libvpx in Google Chrome prior to 117.0.5938.132 and libvpx 1.13.1 allowed a remote attacker to potenEPSS 49.0%KEVCVE-2014-4404HIGHHeap-based buffer overflow in IOHIDFamily in Apple iOS before 8 and Apple TV before 7 allows attackers to execute arbitrary code in a privilEPSS 48.9%KEVCVE-2020-16009HIGHInappropriate implementation in V8 in Google Chrome prior to 86.0.4240.183 allowed a remote attacker to potentially exploit heap corruption EPSS 48.3%KEVCVE-2025-15467HIGHStack buffer overflow in CMS (Auth)EnvelopedData parsingEPSS 48.2%CVE-2024-20017CRITICALIn wlan service, there is a possible out of bounds write due to improper input validation. This could lead to remote code execution with no EPSS 46.6%CVE-2021-21974HIGHOpenSLP as used in ESXi (7.0 before ESXi70U1c-17325551, 6.7 before ESXi670-202102401-SG, 6.5 before ESXi650-202102101-SG) has a heap-overfloEPSS 45.1%CVE-2015-2425HIGHMicrosoft Internet Explorer 11 allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via a crafEPSS 44.7%KEVCVE-2019-16928CRITICALExim 4.92 through 4.92.2 allows remote code execution, a different vulnerability than CVE-2019-15846. There is a heap-based buffer overflow EPSS 41.6%KEVCVE-2021-34448MEDIUMScripting Engine Memory Corruption VulnerabilityEPSS 40.1%KEVCVE-2021-42727HIGHAdobe Bridge Buffer Overflow Arbitrary code executionEPSS 39.4%CVE-2015-2424HIGHMicrosoft PowerPoint 2007 SP3, Word 2007 SP3, PowerPoint 2010 SP2, Word 2010 SP2, PowerPoint 2013 SP1, Word 2013 SP1, and PowerPoint 2013 RTEPSS 38.5%KEVCVE-2009-1532HIGHMicrosoft Internet Explorer 8 for Windows XP SP2 and SP3; 8 for Server 2003 SP2; 8 for Vista Gold, SP1, and SP2; and 8 for Server 2008 SP2 dEPSS 36.8%CVE-2023-41727CRITICALAn attacker sending specially crafted data packets to the Mobile Device Server can cause memory corruption which could result to a Denial ofEPSS 36.4%CVE-2018-17480HIGHExecution of user supplied Javascript during array deserialization leading to an out of bounds write in V8 in Google Chrome prior to 71.0.35EPSS 35.6%KEVCVE-2015-2387HIGHATMFD.DLL in the Adobe Type Manager Font Driver in Microsoft Windows Server 2003 SP2, Windows Vista SP2, Windows Server 2008 SP2 and R2 SP1,EPSS 34.9%KEV