Weaknesses of type CWE-126

581 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-2026-61347MEDIUMWindows Event Logging Service Information Disclosure VulnerabilityEPSS 0.4%CVE-2026-62793MEDIUMWindows NTFS Information Disclosure VulnerabilityEPSS 0.4%CVE-2026-50341MEDIUMWindows NTFS Information Disclosure VulnerabilityEPSS 0.4%CVE-2026-50383MEDIUMWindows Print Spooler Information Disclosure VulnerabilityEPSS 0.4%CVE-2025-62464HIGHWindows Projected File System Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2025-62467HIGHWindows 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-2024-33064HIGHBuffer Over-read in WLAN Host CommunicationEPSS 0.4%CVE-2026-85835MEDIUMServicing Stack Updates Information Disclosure VulnerabilityEPSS 0.4%CVE-2026-45843HIGHslip: bound decode() reads against the compressed packet lengthEPSS 0.4%CVE-2025-62787LOWWazuh Vulnerable to Heap-based Buffer Over-read in DecodeWinevtEPSS 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-2022-42768MEDIUMIn wlan driver, there is a possible missing bounds check, This could lead to local denial of service in wlan services.EPSS 0.4%CVE-2026-53920HIGHodhcpd DHCPv6 Short IA_NA/IA_PD Body Stack DisclosureEPSS 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-83719MEDIUMServicing Stack Updates Information Disclosure VulnerabilityEPSS 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-96851MEDIUMWindows Management Instrumentation Information Disclosure VulnerabilityEPSS 0.4%CVE-2026-96848MEDIUMWindows Win32 Kernel Subsystem Information Disclosure VulnerabilityEPSS 0.4%