Weaknesses of type CWE-787

5,225 results

Escrita fora dos limites da memória

Ocorre quando o código escreve dados em um endereço de memória fora do intervalo alocado para uma estrutura (array, buffer, objeto). O programa não valida o tamanho ou índice antes de escrever, permitindo sobrescrever memória adjacente — causando corrupção de dados, queda da aplicação ou execução arbitrária de código.

Example

Um formulário web que copia o valor de um campo do usuário para um buffer de 64 bytes sem verificar o comprimento: se o atacante enviar 200 caracteres, a escrita invade a memória vizinha e pode sobrescrever um ponteiro de função ou variável crítica.

How to mitigate

Sempre validar tamanhos de entrada antes de copiar (usar `strncpy` em vez de `strcpy`, ou bibliotecas seguras como `bounds-checking`); usar linguagens com verificação automática de limites (Java, Rust); aplicar testes de fuzzing e análise estática de código para detectar escritas desprotegidas.

CVE-2025-39837HIGHplatform/x86: asus-wmi: Fix racy registrationsEPSS 0.2%CVE-2026-14297HIGHThe Continuous Glucose Monitoring Service's Record Access Control Point (RACP) write handler `memcpy`s the entire attacker-supplied ATT write value into a fixed 20-byte BSS buffer.EPSS 0.2%CVE-2022-41597LOWThe phones have the heap overflow, out-of-bounds read, and null pointer vulnerabilities in the fingerprint trusted application (TA).SuccessfEPSS 0.2%CVE-2026-50064HIGHA vulnerability has been identified in Solid Edge SE2025 (All versions < V225.0 Update 15), Solid Edge SE2026 (All versions < V226.0 Update EPSS 0.2%CVE-2025-39809HIGHHID: intel-thc-hid: intel-quicki2c: Fix ACPI dsd ICRS/ISUB lengthEPSS 0.2%CVE-2026-0030HIGHIn __host_check_page_state_range of mem_protect.c, there is a possible out of bounds write due to an incorrect bounds check. This could leadEPSS 0.2%CVE-2026-46559MEDIUMImageMagick: Heap Buffer Over-Write of a single byte in the JP2 encoderEPSS 0.2%CVE-2026-0665MEDIUMQemu-kvm: heap off-by-one in kvm xen physdevop_map_pirqEPSS 0.2%CVE-2018-9475HIGHIn HeadsetInterface::ClccResponse of btif_hf.cc, there is a possible out of bounds stack write due to a missing bounds check. This could leaEPSS 0.2%CVE-2026-86876MEDIUMAn out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 26.7 and iPadOS 26.7, iOS 27 and iPadOSEPSS 0.2%CVE-2026-40257MEDIUMOP-TEE has SHA-3 accelerated finalize heap overflowEPSS 0.2%CVE-2026-45258HIGHMultiple vulnerabilities in the sound(4) mmap pathEPSS 0.2%CVE-2026-16873HIGHVulnerabilities in IBM AIX and PowerVM VIOSEPSS 0.2%CVE-2026-16946HIGHVulnerabilities in IBM AIX and PowerVM VIOSEPSS 0.2%CVE-2026-24262HIGHNVIDIA DGX Spark contains a vulnerability in the system firmware, where a privileged attacker could be able to cause an out-of-bounds write.EPSS 0.2%CVE-2023-53274HIGHclk: mediatek: mt8183: Add back SSPM related clocksEPSS 0.2%CVE-2026-16934HIGHVulnerabilities in IBM AIX and PowerVM VIOSEPSS 0.2%CVE-2026-102715HIGHmDNS string-cache lookup matches on slot size, so a peer name aliases a shorter one and the response encoder writes past the packetEPSS 0.2%CVE-2026-30929HIGHImageMagick has a stack buffer overflow in MagnifyImageEPSS 0.2%CVE-2026-81893MEDIUMGdk-pixbuf: gdk-pixbuf: invalid write in jpeg icc profile parser on error recoveryEPSS 0.2%