Weaknesses of type CWE-787

5,231 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-2023-20614MEDIUMIn ril, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with System EPSS 0.1%CVE-2023-20739MEDIUMIn vcu, there is a possible memory corruption due to a logic error. This could lead to local escalation of privilege with System execution pEPSS 0.1%CVE-2025-48519HIGHAn improper input validation vulnerability within the AMD Platform Management Framework (PMF) driver can allow a local attacker to read or wEPSS 0.1%CVE-2023-20632MEDIUMIn usb, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with System EPSS 0.1%CVE-2023-20630MEDIUMIn usb, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with System EPSS 0.1%CVE-2023-21079MEDIUMIn rtt_unpack_xtlv_cbfn of dhd_rtt.c, there is a possible out of bounds write due to a heap buffer overflow. This could lead to local escalaEPSS 0.1%CVE-2023-20966HIGHIn inflate of inflate.c, there is a possible out of bounds write due to a heap buffer overflow. This could lead to local escalation of priviEPSS 0.1%CVE-2023-20740MEDIUMIn vcu, there is a possible memory corruption due to a logic error. This could lead to local escalation of privilege with System execution pEPSS 0.1%CVE-2022-32628MEDIUMIn isp, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with System EPSS 0.1%CVE-2025-52540HIGHAn improper input validation vulnerability within the AMD Platform Management Framework (PMF) Driver can allow a local attacker to write OutEPSS 0.1%CVE-2022-32629MEDIUMIn isp, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with System EPSS 0.1%CVE-2026-21111MEDIUMOut-of-bounds write in libsthmbc.so prior to One UI 8.5 allows local attackers to write out-of-bounds memory.EPSS 0.1%CVE-2026-56972MEDIUMIn multiple locations, there is a possible out-of-bounds write due to an incorrect bounds check. This could lead to local escalation of privEPSS 0.1%CVE-2023-21041HIGHIn append_to_params of param_util.c, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local escaEPSS 0.1%CVE-2026-57035MEDIUMIn multiple locations, there is a possible out-of-bounds write due to a missing bounds check. This could lead to local escalation of privileEPSS 0.1%CVE-2026-55365MEDIUMIn multiple functions of remap.c, there is a possible out-of-bounds write due to an incorrect bounds check. This could lead to local escalatEPSS 0.1%CVE-2023-20604MEDIUMIn ged, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with System EPSS 0.1%CVE-2026-58773MEDIUMIn link_load_gnss_image of link_device.c, there is a possible out-of-bounds write due to a missing bounds check. This could lead to local esEPSS 0.1%CVE-2026-56989MEDIUMIn multiple locations, there is a possible out-of-bounds write due to a missing bounds check. This could lead to local escalation of privileEPSS 0.1%CVE-2026-55332MEDIUMIn multiple locations, there is a possible out-of-bounds write due to improper input validation. This could lead to local escalation of privEPSS 0.1%