Fallos del tipo CWE-787

5228 resultados

Escrita fora dos limites de memória

Ocorre quando um programa escreve dados em uma posição de memória fora do intervalo alocado para um buffer, array ou estrutura. O atacante aproveita para sobrescrever dados adjacentes (variáveis, ponteiros, pilha de retorno), alterando o comportamento da aplicação ou assumindo controle total do sistema.

Ejemplo

Um programa lê 256 bytes de entrada do usuário e copia para um buffer de 64 bytes sem validação. O atacante envia 300 bytes, que transbordam o buffer e sobrescrevem o endereço de retorno na pilha, permitindo execução de código arbitrário.

Cómo mitigar

Sempre validar tamanho de entrada contra o limite do buffer antes de copiar (usar strncpy, snprintf em vez de strcpy, sprintf). Em linguagens modernas, usar estruturas bounds-checked (Rust, C# arrays) ou linters que detectem padrões perigosos.

CVE-2025-54616MEDIUMOut-of-bounds array access vulnerability in the ArkUI framework. Impact: Successful exploitation of this vulnerability may affect availabiliEPSS 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-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-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-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-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-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-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-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-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-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-2026-40953MEDIUMHeap overflow in Secure Access clientsEPSS 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-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-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-2026-55317MEDIUMIn printf of printf.c, there is a possible out-of-bounds write due to improper input validation. This could lead to local escalation of privEPSS 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%