Weaknesses of type CWE-787

5,202 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-2026-19314HIGHFireware OS Integer Underflow in iked Allows Unauthenticated Denial of Service (DoS)EPSS 0.3%CVE-2022-44320MEDIUMPicoC Version 3.2.2 was discovered to contain a heap buffer overflow in the ExpressionCoerceFP function in expression.c when called from ExpEPSS 0.3%CVE-2022-44313MEDIUMPicoC Version 3.2.2 was discovered to contain a heap buffer overflow in the ExpressionCoerceUnsignedInteger function in expression.c when caEPSS 0.3%CVE-2024-3298HIGHOut-Of-Bounds Write and Type Confusion vulnerabilities exist in the DWG and DXF file reading procedure in eDrawings from Release SOLIDWORKS 2023 through Release SOLIDWORKS 2024EPSS 0.3%CVE-2022-44319MEDIUMPicoC Version 3.2.2 was discovered to contain a heap buffer overflow in the StdioBasePrintf function in cstdlib/string.c when called from ExEPSS 0.3%CVE-2023-4255MEDIUMW3m: out-of-bounds write in function checktype() in etc.c (incomplete fix for cve-2022-38223)EPSS 0.3%CVE-2024-45109HIGHPhotoshop Desktop | Out-of-bounds Write (CWE-787)EPSS 0.3%CVE-2026-5068HIGHbt: l2cap le coc: remote oob write via seg counter stored in net_buf user_dataEPSS 0.3%CVE-2022-44317MEDIUMPicoC Version 3.2.2 was discovered to contain a heap buffer overflow in the StdioOutPutc function in cstdlib/stdio.c when called from ExpresEPSS 0.3%CVE-2022-44316MEDIUMPicoC Version 3.2.2 was discovered to contain a heap buffer overflow in the LexGetStringConstant function in lex.c when called from LexScanGEPSS 0.3%CVE-2022-44314MEDIUMPicoC Version 3.2.2 was discovered to contain a heap buffer overflow in the StringStrncpy function in cstdlib/string.c when called from ExprEPSS 0.3%CVE-2022-44315MEDIUMPicoC Version 3.2.2 was discovered to contain a heap buffer overflow in the ExpressionAssign function in expression.c when called from ExpreEPSS 0.3%CVE-2021-3623—A flaw was found in libtpms. The flaw can be triggered by specially-crafted TPM 2 command packets containing illegal values and may lead to EPSS 0.3%CVE-2024-20101CRITICALIn wlan driver, there is a possible out of bounds write due to improper input validation. This could lead to remote code execution with no aEPSS 0.3%CVE-2024-45114HIGHIllustrator | Out-of-bounds Write (CWE-787)EPSS 0.3%CVE-2022-42830MEDIUMThe issue was addressed with improved memory handling. This issue is fixed in iOS 16.1 and iPadOS 16, macOS Ventura 13. An app with root priEPSS 0.3%CVE-2023-47057HIGHZDI-CAN-21764: Adobe Premiere Pro MP4 File Parsing Out-Of-Bounds Write Remote Code Execution VulnerabilityEPSS 0.3%CVE-2024-27227CRITICALA malicious DNS response can trigger a number of OOB reads, writes, and other memory issuesEPSS 0.3%CVE-2023-25880HIGHZDI-CAN-19412: Adobe Dimension GLTF File Parsing Out-Of-Bounds Write Remote Code Execution VulnerabilityEPSS 0.3%CVE-2020-18900LOWA heap-based buffer overflow in the libexe_io_handle_read_coff_optional_header function of libyal libexe before 20181128. NOTE: the vendor hEPSS 0.3%