Fallos del tipo CWE-121

3851 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-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%