Fallos del tipo CWE-126

527 resultados

Leitura excessiva de buffer na pilha

Ocorre quando o código lê mais dados de um buffer alocado na pilha do que o tamanho dele permite. O atacante consegue expor dados sensíveis que estão em posições de memória adjacentes (senhas, tokens, dados de outros processos) ou causar crash da aplicação.

Ejemplo

Uma função recebe uma string de 64 bytes na pilha, mas usa strcpy() ou memcpy() sem validar o tamanho real, lendo 128 bytes. Os 64 bytes extras vêm de outras variáveis locais ou frames de função anteriores, expondo informações confidenciais.

Cómo mitigar

Use funções seguras com limite explícito de bytes (strncpy, snprintf, memcpy com tamanho validado) ou linguagens com bounds-checking automático. Valide sempre o tamanho de entrada contra o buffer antes de ler, e use ferramentas estáticas (ASan, Clang Static Analyzer) durante desenvolvimento.

CVE-2022-33258HIGHBuffer over-read in ModemEPSS 0.4%CVE-2023-21669HIGHBuffer Over-read in WLAN HOSTEPSS 0.4%CVE-2022-25730HIGHBuffer Over-read in MODEMEPSS 0.4%CVE-2023-22385HIGHBuffer Over-read in Data ModemEPSS 0.4%CVE-2017-17772HIGHMultiple buffer overread vulnerabilities in WLANEPSS 0.4%CVE-2024-33073HIGHBuffer Over-read in WLAN Host CommunicationEPSS 0.3%CVE-2022-1534MEDIUMBuffer Over-read at parse_rawml.c:1416 in bfabiszewski/libmobiEPSS 0.3%CVE-2024-23353HIGHBuffer Over-read in Multi Mode Call ProcessorEPSS 0.3%CVE-2026-49854MEDIUMTornado: Out-of-bounds memory access in C extensionEPSS 0.3%CVE-2023-33080HIGHBuffer over-read in WLAN FirmwareEPSS 0.3%CVE-2024-31082HIGHXorg-x11-server: heap buffer overread/data leakage in procappledricreatepixmapEPSS 0.3%CVE-2023-33062HIGHBuffer Over-read in WLAN FirmwareEPSS 0.3%CVE-2023-33040HIGHBuffer Over-read in Data ModemEPSS 0.3%CVE-2026-57968HIGHWindows Subsystem for Linux (WSL2) Kernel Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-62353MEDIUMTDengine: Authenticated Out-of-Bounds Read in SQL Lexer tGetTokenEPSS 0.3%CVE-2026-50402HIGHNTFS Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-50435HIGHWindows Overlay Filter Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2025-55092MEDIUMPotential out of bound read in _nx_ipv4_option_process()EPSS 0.3%CVE-2025-55084MEDIUMOut of bound read in _nx_secure_tls_proc_clienthello_supported_versions_extension()EPSS 0.3%CVE-2025-21459HIGHBuffer Over-read in WLAN Host CommunicationEPSS 0.3%