Falhas do tipo CWE-787

5.847 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-2022-42932HIGHMozilla developers Ashley Hale and the Mozilla Fuzzing Team reported memory safety bugs present in Firefox 105 and Firefox ESR 102.3. Some oEPSS 0.8%CVE-2025-20634HIGHIn Modem, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code execution, if a UE has conneEPSS 0.8%CVE-2026-20664MEDIUMThe issue was addressed with improved memory handling. This issue is fixed in Safari 26.4, iOS 26.4 and iPadOS 26.4, macOS Tahoe 26.4, visioEPSS 0.8%CVE-2024-30355HIGHFoxit PDF Reader AcroForm Out-Of-Bounds Write Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-30348HIGHFoxit PDF Reader U3D File Parsing Out-Of-Bounds Write Remote Code Execution VulnerabilityEPSS 0.8%CVE-2026-108457HIGHMicrosoft Windows PDF Remote Code Execution VulnerabilityEPSS 0.8%CVE-2019-14821HIGHAn out-of-bounds access issue was found in the Linux kernel, all versions through 5.3, in the way Linux kernel's KVM hypervisor implements tEPSS 0.8%CVE-2022-46709CRITICALA memory corruption issue was addressed with improved state management. This issue is fixed in macOS Ventura 13, iOS 16. An app may be able EPSS 0.8%CVE-2023-34293HIGHAshlar-Vellum Cobalt Out-Of-Bounds Write Remote Code Execution VulnerabilityEPSS 0.8%CVE-2024-30949CRITICALAn issue in newlib v.4.3.0 allows an attacker to execute arbitrary code via the time unit scaling in the _gettimeofday function.EPSS 0.8%CVE-2022-4920CRITICALHeap buffer overflow in Blink in Google Chrome prior to 101.0.4951.41 allowed a remote attacker who convinced a user to engage in specific UEPSS 0.8%CVE-2022-38582MEDIUMIncorrect access control in the anti-virus driver wsdkd.sys of Watchdog Antivirus v1.4.158 allows attackers to write arbitrary files.EPSS 0.8%CVE-2021-33681MEDIUMSAP 3D Visual Enterprise Viewer, version - 9, allows a user to open manipulated CGM file received from untrusted sources which causes out ofEPSS 0.8%CVE-2019-25362CRITICALWMV to AVI MPEG DVD WMV Convertor 4.6.1217 - Buffer OverFlowEPSS 0.8%CVE-2026-96224HIGH.NET Remote Code Execution VulnerabilityEPSS 0.8%CVE-2023-49552HIGHAn Out of Bounds Write in Cesanta mjs 2.20.0 allows a remote attacker to cause a denial of service via the mjs_op_json_stringify function inEPSS 0.8%CVE-2025-41679MEDIUMUnauthenticated Buffer Overflow in Conftool Service Leading to Denial of ServiceEPSS 0.8%CVE-2023-32397—A logic issue was addressed with improved state management. This issue is fixed in iOS 15.7.6 and iPadOS 15.7.6, macOS Big Sur 11.7.7, macOSEPSS 0.8%CVE-2023-50227HIGHParallels Desktop virtio-gpu Out-Of-Bounds Write Remote Code Execution VulnerabilityEPSS 0.8%CVE-2023-30368CRITICALTenda AC5 V15.03.06.28 is vulnerable to Buffer Overflow via the initWebs function.EPSS 0.8%