Weaknesses of type CWE-121

3,847 results

Estouro de buffer na pilha

Ocorre quando um programa escreve mais dados em um buffer alocado na pilha do que ele pode conter, sobrescrevendo dados adjacentes (variáveis, endereços de retorno, ponteiros). Um atacante pode explorar isso para executar código arbitrário ou causar travamento.

Example

Um programa lê uma string do usuário com gets() ou strcpy() sem validar o tamanho, copiando 500 bytes para um buffer de 64 bytes. O excesso sobrescreve o endereço de retorno da função, permitindo desviar a execução para código malicioso.

How to mitigate

Use funções seguras (strncpy, fgets, snprintf) que aceitam limite de bytes; implemente verificações de limites explícitas no código; ative proteções do compilador/SO (stack canaries, DEP/NX, ASLR); use linguagens com verificação automática de limites ou ferramentas de análise estática.

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-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-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-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-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-2011-10024HIGHMJM Core Player 2011 .s3m File Stack-Based Buffer OverflowEPSS 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-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-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-2025-1547HIGHWatchGuard Firebox Authenticated Stack Overflow in Certificate Request CommandEPSS 0.4%CVE-2024-9261HIGHIrfanView SID 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-2024-11510HIGHIrfanView WBZ plugin WB1 File Parsing 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-14934HIGHNSF Unidata NetCDF-C Variable Name Stack-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.4%CVE-2025-4892MEDIUMcode-projects Police Station Management System Delete Record source.cpp remove stack-based overflowEPSS 0.4%