Falhas do tipo CWE-126

581 resultados

Leitura além dos limites do buffer em pilha

A aplicação lê dados além do tamanho alocado de um buffer armazenado na pilha (stack), acessando memória que não deveria. Diferente do overflow que escreve, aqui o problema é ler lixo de memória adjacente, expondo informações sensíveis ou causando crash se a memória for inacessível.

Exemplo

Uma função copia uma string para um buffer de 16 bytes, mas depois tenta processar 32 bytes do buffer sem validar o tamanho real. O código lê dados da pilha que pertencem a outras variáveis ou endereços de retorno, vazando informações ou provocando segfault.

Como mitigar

Sempre validar o tamanho dos dados antes de ler; usar funções seguras (strlen, strnlen) com limites explícitos; ativar canários de pilha (stack canaries) no compilador para detectar corrupção; fazer code review focado em loops e operações de memória sem bounds checking.

CVE-2026-21381HIGHBuffer Over-read in WLAN FirmwareEPSS 0.2%CVE-2023-28554MEDIUMBuffer Over-read in Qualcomm IPCEPSS 0.2%CVE-2023-28553MEDIUMBuffer Over-read in WLAN HostEPSS 0.2%CVE-2023-28563MEDIUMBuffer Over-read in IOE FirmwareEPSS 0.2%CVE-2023-28566MEDIUMBuffer Over-read in WLAN HALEPSS 0.2%CVE-2023-28568MEDIUMBuffer Over-read in WLAN HALEPSS 0.2%CVE-2021-22552MEDIUMMemory overread secure enclave in Asylo 0.6.2EPSS 0.2%CVE-2023-28569MEDIUMBuffer Over-read in WLAN HALEPSS 0.2%CVE-2026-27799MEDIUMImageMagick has a heap Buffer Over-read in its DJVU image format handlerEPSS 0.1%CVE-2026-70652LOWlibvips: Possible heap-based buffer read overflow when resizing and re-encoding a JPEG with gain mapEPSS 0.1%CVE-2026-46149HIGHscsi: target: configfs: Bound snprintf() return in tg_pt_gp_members_show()EPSS 0.1%CVE-2025-4582MEDIUMBuffer Over-read, Off-by-one Error vulnerability in RTI Connext Professional (Core Libraries) allows File Manipulation, Overread Buffers.EPSS 0.1%CVE-2024-23366MEDIUMBuffer Over-read in Automotive AutonomyEPSS 0.1%CVE-2022-38671—In camera driver, there is a possible out of bounds write due to a missing bounds check. This could lead to local denial of service in kerneEPSS 0.1%CVE-2024-33047HIGHBuffer Over-read in DisplayEPSS 0.1%CVE-2022-42759MEDIUMIn wlan driver, there is a possible missing bounds check, This could lead to local denial of service in wlan services.EPSS 0.1%CVE-2022-42781MEDIUMIn wlan driver, there is a possible missing bounds check, This could lead to local denial of service in wlan services.EPSS 0.1%CVE-2022-44446MEDIUMIn wlan driver, there is a possible missing bounds check. This could lead to local denial of service in wlan services.EPSS 0.1%CVE-2022-39132MEDIUMIn camera driver, there is a possible out of bounds write due to a missing bounds check. This could lead to local denial of service in kerneEPSS 0.1%CVE-2022-39130MEDIUMIn face detect driver, there is a possible out of bounds write due to a missing bounds check. This could lead to local denial of service in EPSS 0.1%