Falhas do tipo CWE-787

5.846 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-2024-24947HIGHA heap-based buffer overflow vulnerability exists in the Programming Software Connection CurrDir functionality of AutomationDirect P3-550E 1EPSS 0.8%CVE-2019-25628CRITICALDownload Accelerator Plus DAP 10.0.6.0 SEH Buffer OverflowEPSS 0.8%CVE-2023-42443HIGHVyper vulnerable to memory corruption in certain builtins utilizing `msize`EPSS 0.8%CVE-2026-0288HIGHPAN-OS: Buffer Overflow Vulnerabilities in User-ID Terminal Server AgentEPSS 0.8%CVE-2022-3051HIGHHeap buffer overflow in Exosphere in Google Chrome on Chrome OS, Lacros prior to 105.0.5195.52 allowed a remote attacker who convinced a useEPSS 0.8%CVE-2026-67271CRITICALDell PowerStore SDNAS, contains an Out-of-bounds Write vulnerability in SMB/CIFS. An unauthenticated attacker with remote access could potenEPSS 0.8%CVE-2022-44363CRITICALTenda i21 V1.0.0.14(4656) is vulnerable to Buffer Overflow via /goform/setSnmpInfo.EPSS 0.8%CVE-2022-39392MEDIUMWasmtime vulnerable to out of bounds read/write with zero-memory-pages configurationEPSS 0.8%CVE-2021-40226HIGHxpdfreader 4.03 is vulnerable to Buffer Overflow.EPSS 0.8%CVE-2025-1268CRITICALOut-of-bounds vulnerability in EMF Recode processing of Generic Plus PCL6 Printer Driver / Generic Plus UFR II Printer Driver / Generic PlusEPSS 0.8%CVE-2022-45766CRITICALHardcoded credentials in Global Facilities Management Software (GFMS) Version 3 software distributed by Key Systems Management permits remotEPSS 0.8%CVE-2023-24094HIGHAn issue in the bridge2 component of MikroTik RouterOS v6.40.5 allows attackers to cause a Denial of Service (DoS) via crafted packets.EPSS 0.8%CVE-2026-73514HIGHPostGIS address_standardizer Out-of-Bounds Write via standardize_address()EPSS 0.8%CVE-2026-43810CRITICALThe issue was addressed with improved memory handling. This issue is fixed in iOS 18.7.10 and iPadOS 18.7.10, iOS 26.6 and iPadOS 26.6, macOEPSS 0.8%CVE-2026-43803CRITICALAn out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 18.7.10 and iPadOS 18.7.10, iOS 26.6 anEPSS 0.8%CVE-2025-20654CRITICALIn wlan service, there is a possible out of bounds write due to an incorrect bounds check. This could lead to remote code execution with no EPSS 0.8%CVE-2026-78524HIGHMicrosoft Office Remote Code Execution VulnerabilityEPSS 0.8%CVE-2023-22415HIGHJunos OS: MX Series and SRX Series: The flow processing daemon (flowd) will crash when specific H.323 packets are receivedEPSS 0.8%CVE-2023-7244CRITICALEthercat Zeek Plugin Out-of-bounds WriteEPSS 0.8%CVE-2023-7243CRITICALEthercat Zeek Plugin Out-of-bounds WriteEPSS 0.8%