Fallos del tipo CWE-121

3847 resultados

Estouro de buffer na pilha

Ocorre quando código escreve dados além dos limites de um buffer alocado na pilha (stack), sobrescrevendo informações críticas como endereços de retorno ou variáveis locais. Um atacante pode explorar isso para executar código arbitrário ou causar crash da aplicação.

Ejemplo

Uma função copia uma string de entrada diretamente em um array de 64 bytes sem validar o tamanho: `char buffer[64]; strcpy(buffer, user_input);` Se o usuário enviar uma string com 200 bytes, ela sobrescreverá o endereço de retorno e pode redirecionar a execução para código malicioso.

Cómo mitigar

Use funções seguras com limite de tamanho (`strncpy`, `snprintf`), valide e sanitize entradas antes de copiar, implemente proteções em tempo de execução (stack canaries, ASLR, DEP) e considere usar linguagens com verificação de limites automática quando possível.

CVE-2018-7513—In Omron CX-Supervisor Versions 3.30 and prior, parsing malformed project files may cause a stack-based buffer overflow.EPSS 0.4%CVE-2026-95104HIGHStack-based buffer overflow vulnerability exists in BUFFALO Wi-Fi products. A non-authenticated crafted HTTP request may cause a denial-of-sEPSS 0.4%CVE-2026-4444HIGHStack buffer overflow in WebRTC in Google Chrome prior to 146.0.7680.153 allowed a remote attacker to potentially exploit stack corruption vEPSS 0.4%CVE-2024-28566HIGHBuffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to execute arbitrary code via the AssignPixeEPSS 0.4%CVE-2024-28582HIGHBuffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to execute arbitrary code via the rgbe_RGBETEPSS 0.4%CVE-2024-28580HIGHBuffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to execute arbitrary code via the ReadData()EPSS 0.4%CVE-2024-28581HIGHBuffer Overflow vulnerability in open source FreeImage v.3.19.0 [r1909] allows a local attacker to execute arbitrary code via the _assignPixEPSS 0.4%CVE-2011-10024HIGHMJM Core Player 2011 .s3m File Stack-Based Buffer OverflowEPSS 0.4%CVE-2024-45062MEDIUMA stack based buffer overflow vulnerability is present in OpenPrinting ippusbxd 1.34. A specially configured printer that supports IPP-over-EPSS 0.4%CVE-2025-64344HIGHSuricata is vulnerable to a stack overflow from unbounded stack allocation in LuaPushStringBufferEPSS 0.4%CVE-2025-22911MEDIUMRE11S v1.11 was discovered to contain a stack overflow via the rootAPmac parameter in the formiNICbasicREP function.EPSS 0.4%CVE-2024-9261HIGHIrfanView SID File Parsing Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.4%CVE-2025-1547HIGHWatchGuard Firebox Authenticated Stack Overflow in Certificate Request CommandEPSS 0.4%CVE-2026-11024HIGHStack buffer overflow in Skia in Google Chrome prior to 149.0.7827.53 allowed a remote attacker to potentially exploit stack corruption via EPSS 0.4%CVE-2024-11510HIGHIrfanView WBZ plugin WB1 File Parsing Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.4%CVE-2024-37600MEDIUMAn issue was discovered in Mercedes Benz NTG (New Telematics Generation) 6 through 2021. A possible stack buffer overflow in the Service BroEPSS 0.4%CVE-2025-14934HIGHNSF Unidata NetCDF-C Variable Name Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.4%CVE-2025-14932HIGHNSF Unidata NetCDF-C Time Unit Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.4%CVE-2025-14936HIGHNSF Unidata NetCDF-C Attribute Name Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.4%CVE-2025-4029MEDIUMcode-projects Personal Diary Management System New Record addrecord stack-based overflowEPSS 0.4%