Weaknesses of type CWE-121

3,851 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-2024-53849MEDIUMSeveral stack buffer overflows and pointer overflows in editorconfig-core-cEPSS 0.2%CVE-2023-49129HIGHA vulnerability has been identified in Solid Edge SE2023 (All versions < V223.0 Update 10). The affected applications contain a stack overflEPSS 0.2%CVE-2025-59149MEDIUMSuricata: Stack buffer overflow in rule parser when processing long keywords with transformsEPSS 0.2%CVE-2022-25334HIGHStack overflow on SK_LOAD signature length field in Texas Instruments OMAP L138EPSS 0.2%CVE-2025-62580HIGHASDA-Soft Stack-based Buffer Overflow VulnerabilityEPSS 0.2%CVE-2025-62579HIGHASDA-Soft Stack-based Buffer Overflow VulnerabilityEPSS 0.2%CVE-2026-77658HIGHDia: dia: stack buffer overflow in bus object via unvalidated handle count in project filesEPSS 0.2%CVE-2025-12143MEDIUMStack Memory Corruption VulnerabilityEPSS 0.2%CVE-2023-23569HIGHStack-based buffer overflow for some Intel(R) Trace Analyzer and Collector software before version 2021.8.0 published Dec 2022 may allow an EPSS 0.2%CVE-2025-59801MEDIUMIn Artifex GhostXPS before 10.06.0, there is a stack-based buffer overflow in xps_unpredict_tiff in xpstiff.c because the samplesperpixel vaEPSS 0.2%CVE-2025-30421HIGHStack-based Buffer Overflow in DrObjectStorage::XML_Serialize() in NI Circuit Design SuiteEPSS 0.2%CVE-2025-48796HIGHGimp: stack-based buffer overflows in file-icoEPSS 0.2%CVE-2026-33147HIGHGMT: Stack-based Buffer Overflow in gmt_remote_dataset_idEPSS 0.2%CVE-2025-59798MEDIUMArtifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdf_write_cmap in devices/vector/gdevpdtw.c.EPSS 0.2%CVE-2025-59799MEDIUMArtifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdfmark_coerce_dest in devices/vector/gdevpdfm.c via a large size vEPSS 0.2%CVE-2025-61856HIGHA stack-based buffer overflow vulnerability exists in VS6ComFile!CV7BaseMap::WriteV7DataToRom of V-SFT v6.2.7.0 and earlier. Opening specialEPSS 0.2%CVE-2026-75142HIGHFFmpeg Stack Buffer Overflow in MPEG-PS Muxer via mpegenc.cEPSS 0.2%CVE-2019-25357HIGHControl Center PRO 6.2.9 - Local Stack Based BufferOverflowEPSS 0.2%CVE-2022-2402MEDIUMStack Overflow in ESET Endpoint Encryption and ESET Full Disk Encryption for WindowsEPSS 0.2%CVE-2026-31795HIGHiccDEV has a stack buffer overflow write in CIccXform3DLut::Apply()EPSS 0.2%