Weaknesses of type CWE-126

527 results

Leitura além dos limites de buffer na pilha

Ocorre quando o código lê dados além do tamanho alocado de um buffer armazenado na pilha (stack). O programa acessa memória que não lhe pertence, podendo expor dados sensíveis como variáveis locais, endereços de retorno ou informações de contexto. Diferente de um buffer overflow, aqui não há escrita destrutiva, mas a leitura não autorizada compromete confidencialidade.

Example

Uma função copia uma string de entrada para um buffer fixo de 64 bytes, mas depois lê 128 bytes desse buffer para enviá-lo a um log remoto. O atacante fornece uma string curta, mas o programa vaza dados armazenados logo após o buffer na pilha (variáveis locais de outras funções, ponteiros).

How to mitigate

Use funções seguras com limite de tamanho (como snprintf em vez de sprintf, strncpy em vez de strcpy). Sempre rastreie e valide o comprimento real dos dados antes de ler. Ative proteções de compilação como stack canaries e AddressSanitizer em desenvolvimento para detectar acessos fora dos limites.

CVE-2025-7745MEDIUMModbus TCP buffer overreadEPSS 0.4%CVE-2026-50383MEDIUMWindows Print Spooler Information Disclosure VulnerabilityEPSS 0.4%CVE-2026-50341MEDIUMWindows NTFS Information Disclosure VulnerabilityEPSS 0.4%CVE-2023-28572MEDIUMBuffer Over-read in WLAN HOSTEPSS 0.4%CVE-2025-62467HIGHWindows Projected File System Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2025-60720HIGHWindows Transport Driver Interface (TDI) Translation Driver Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2025-62464HIGHWindows Projected File System Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2025-62461HIGHWindows Projected File System Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2025-62462HIGHWindows Projected File System Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2026-83949MEDIUMMicrosoft Office Word Information Disclosure VulnerabilityEPSS 0.4%CVE-2026-83951MEDIUMMicrosoft Office Word Information Disclosure VulnerabilityEPSS 0.4%CVE-2024-33064HIGHBuffer Over-read in WLAN Host CommunicationEPSS 0.4%CVE-2025-66692HIGHA buffer over-read in the PublicKey::verify() method of Binance - Trust Wallet Core before commit 5668c67 allows attackers to cause a DenialEPSS 0.4%CVE-2024-12011HIGHA CWE-126 “Buffer Over-read” was discovered affecting the 130.8005 TCP/IP Gateway running firmware version 12h. The information disclosure cEPSS 0.4%CVE-2026-69794MEDIUMWindows Encrypting File System (EFS) Information Disclosure VulnerabilityEPSS 0.4%CVE-2026-34059HIGHApache HTTP Server: mod_proxy_ajp: Heap Over-Read and memory disclosure in ajp_parse_data()EPSS 0.4%CVE-2026-53414MEDIUMZoom Clients - Buffer Over-readEPSS 0.4%CVE-2023-45919MEDIUMMesa 23.0.4 was discovered to contain a buffer over-read in glXQueryServerString(). NOTE: this is disputed because there are no common situaEPSS 0.4%CVE-2026-62730MEDIUMWindows Wired AutoConfig Service Information Disclosure VulnerabilityEPSS 0.4%CVE-2026-61347MEDIUMWindows Event Logging Service Information Disclosure VulnerabilityEPSS 0.4%