Falhas do tipo CWE-122

3.188 resultados

Estouro de heap

Ocorre quando código escreve mais dados do que o espaço alocado em uma região de memória dinâmica (heap), sobrescrevendo dados adjacentes. Um atacante pode explorar isso para corromper estruturas de dados críticas, contornar proteções de segurança ou executar código arbitrário.

Exemplo

Um servidor web aloca 256 bytes para armazenar um nome de usuário, mas copia 512 bytes de uma requisição sem validação. Os 256 bytes extras sobrescrevem ponteiros ou metadados do heap, permitindo execução de código ou negação de serviço.

Como mitigar

Use funções seguras que respeitam limites (strcpy_s, memcpy com tamanho verificado em runtime). Validar e limitar o tamanho de entrada antes de copiar. Ativar proteções como ASLR, stack canaries e ferramentas de sanitização (AddressSanitizer) em desenvolvimento.

CVE-2016-9577HIGHA vulnerability was discovered in SPICE before 0.13.90 in the server's protocol handling. An authenticated attacker could send crafted messaEPSS 3.8%CVE-2021-36054LOWXMP Toolkit SDK Heap-based Buffer Overflow in the PSD_MetaHandler::CacheFileData Could Lead To Application Denial Of ServiceEPSS 3.8%CVE-2020-16207Advantech WebAccess HMI Designer, Versions 2.1.9.31 and prior. Multiple heap-based buffer overflow vulnerabilities may be exploited by openiEPSS 3.7%CVE-2020-17423HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Studio Photo 3.6.6.922. User interacEPSS 3.7%CVE-2022-3437MEDIUMA heap-based buffer overflow vulnerability was found in Samba within the GSSAPI unwrap_des() and unwrap_des3() routines of Heimdal. The DES EPSS 3.7%CVE-2023-38143HIGHWindows Common Log File System Driver Elevation of Privilege VulnerabilityEPSS 3.7%CVE-2026-44420HIGHFreeRDP cliprdr server heap-buffer-overflow via undersized capabilitySetLength in CB_CLIP_CAPSEPSS 3.7%CVE-2026-25243HIGHredis-server RESTORE invalid memory access may allow remote code executionEPSS 3.7%CVE-2014-9187Multiple heap-based buffer overflow vulnerabilities exist in Honeywell Experion PKS all versions prior to R400.6, all versions prior to R410EPSS 3.6%CVE-2019-5058HIGHAn exploitable code execution vulnerability exists in the XCF image rendering functionality of SDL2_image 2.0.4. A specially crafted XCF imaEPSS 3.6%CVE-2019-5057HIGHAn exploitable code execution vulnerability exists in the PCX image-rendering functionality of SDL2_image 2.0.4. A specially crafted PCX imaEPSS 3.6%CVE-2017-9636Mitsubishi E-Designer, Version 7.52 Build 344 contains five code sections which may be exploited to overwrite the heap. This can result in aEPSS 3.6%CVE-2024-43560HIGHMicrosoft Windows Storage Port Driver Elevation of Privilege VulnerabilityEPSS 3.6%CVE-2023-24912HIGHWindows Graphics Component Elevation of Privilege VulnerabilityEPSS 3.6%CVE-2018-10617Delta Electronics Delta Industrial Automation DOPSoft version 4.00.04 and prior utilizes a fixed-length heap buffer where a value larger thaEPSS 3.5%CVE-2021-23165A flaw was found in htmldoc before v1.9.12. Heap buffer overflow in pspdf_prepare_outpages(), in ps-pdf.cxx may lead to execute arbitrary coEPSS 3.5%CVE-2023-23415CRITICALInternet Control Message Protocol (ICMP) Remote Code Execution VulnerabilityEPSS 3.5%CVE-2022-24795MEDIUMBuffer Overflow and Integer Overflow in yajl-rubyEPSS 3.5%CVE-2024-38237HIGHKernel Streaming WOW Thunk Service Driver Elevation of Privilege VulnerabilityEPSS 3.4%CVE-2022-2848CRITICALThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Kepware KEPServerEX 6.11.718.0. AuthenticaEPSS 3.4%