Falhas do tipo CWE-787

5.862 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-2020-37208MEDIUMSpotFTP FTP Password Recovery 3.0.0.0 - 'Key' Denial of ServiceEPSS 0.5%CVE-2026-8975HIGHMemory safety bugs fixed in Thunderbird 140.11 and Thunderbird 151EPSS 0.5%CVE-2022-41992HIGHA memory corruption vulnerability exists in the VHD File Format parsing CXSPARSE record functionality of PowerISO PowerISO 8.3. A specially-EPSS 0.5%CVE-2026-121617HIGHLinksys E5600 Header upload_fw.cgi init_multipart out-of-bounds writeEPSS 0.5%CVE-2023-42127HIGHKofax Power PDF PDF File Parsing Out-Of-Bounds Write Remote Code Execution VulnerabilityEPSS 0.5%CVE-2025-0143MEDIUMZoom Workplace Apps for Linux - Out-of-bounds WriteEPSS 0.5%CVE-2021-3697—A crafted JPEG image may lead the JPEG reader to underflow its data pointer, allowing user-controlled data to be written in heap. To a succeEPSS 0.5%CVE-2026-85091HIGHzlib 1.2.11 through 1.3.2 Heap Buffer Overflow via Stale gzwrite Pointer After Failed WriteEPSS 0.5%CVE-2021-43529CRITICALThunderbird versions prior to 91.3.0 are vulnerable to the heap overflow described in CVE-2021-43527 when processing S/MIME messages. ThundeEPSS 0.5%CVE-2026-116572MEDIUMFreeSWITCH mod_sofia: stack buffer overflow from an over-long SIP Contact display-nameEPSS 0.5%CVE-2026-43676MEDIUMAn out-of-bounds access issue was addressed with improved bounds checking. This issue is fixed in Safari 26.5.2, iOS 18.7.10 and iPadOS 18.7EPSS 0.5%CVE-2026-93393CRITICALHeap overflow via oversized decrypted TLS record sequence in Windows Secure Channel streamEPSS 0.5%CVE-2025-64129HIGHZenitel TCIV-3+ Out-of-bounds WriteEPSS 0.5%CVE-2026-110680HIGHCpanel::JSON::XS versions from 4.20 before 4.80 for Perl write out of bounds when a tied or shared hash grows during canonical encoding in encode_hvEPSS 0.5%CVE-2023-24039HIGHA stack-based buffer overflow in ParseColors in libXm in Common Desktop Environment 1.6 can be exploited by local low-privileged users via tEPSS 0.5%CVE-2026-85670HIGHtokenizers BpeBuilder Buffer Overflow via merge tokenEPSS 0.5%CVE-2024-28562MEDIUMBuffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to execute arbitrary code via the Imf_2_2::cEPSS 0.5%CVE-2026-62871HIGH.NET Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2026-68806HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-56851HIGHPanic parsing crafted input in x/text/secure/precis in golang.org/x/textEPSS 0.5%