Falhas do tipo CWE-122

3.195 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-2024-14043MEDIUMOpen5GS Diameter S6a mme-fd-path.c mme_s6a_subscription_data_from_avp heap-based overflowEPSS 0.5%CVE-2022-25309—A heap-based buffer overflow flaw was found in the Fribidi package and affects the fribidi_cap_rtl_to_unicode() function of the fribidi-charEPSS 0.5%CVE-2024-53957HIGHSubstance3D - Painter | Heap-based Buffer Overflow (CWE-122)EPSS 0.5%CVE-2025-21382HIGHWindows Graphics Component Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2025-3354HIGHIBM Tivoli Monitoring code executionEPSS 0.5%CVE-2024-52999HIGHSubstance3D - Modeler | Heap-based Buffer Overflow (CWE-122)EPSS 0.5%CVE-2022-1920—Integer overflow in matroskademux element in gst_matroska_demux_add_wvpk_header function which allows a heap overwrite while parsing matroskEPSS 0.5%CVE-2024-39133MEDIUMHeap Buffer Overflow vulnerability in zziplib v0.13.77 allows attackers to cause a denial of service via the __zzip_parse_root_directory() fEPSS 0.5%CVE-2025-3320HIGHIBM Tivoli Monitoring code executionEPSS 0.5%CVE-2026-50370HIGHDHCP Server Service Remote Code Execution VulnerabilityEPSS 0.5%CVE-2024-5876HIGHIrfanView PSP File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-32624MEDIUMxrdp: Heap buffer overflow in xrdp_sec_process_logon_info() via incorrect g_strncat length calculationEPSS 0.5%CVE-2024-8905HIGHInappropriate implementation in V8 in Google Chrome prior to 129.0.6668.58 allowed a remote attacker to potentially exploit stack corruptionEPSS 0.5%CVE-2025-2584LOWWebAssembly wabt binary-reader-interp.cc GetReturnCallDropKeepCount heap-based overflowEPSS 0.5%CVE-2026-19004HIGHMongoDB BI Connector ODBC Driver Memory-Safety Issue When Handling Stored Procedure Output ParametersEPSS 0.5%CVE-2026-2007HIGHPostgreSQL pg_trgm heap buffer overflow writes pattern onto server memoryEPSS 0.5%CVE-2018-1165—This vulnerability allows local attackers to escalate privileges on vulnerable installations of Joyent SmartOS release-20170803-20170803T064EPSS 0.5%CVE-2026-20957HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.5%CVE-2024-8198HIGHHeap buffer overflow in Skia in Google Chrome prior to 128.0.6613.113 allowed a remote attacker who had compromised the renderer process to EPSS 0.5%CVE-2026-66036HIGHFFmpeg Heap Out-of-Bounds Write in vf_hqdn3d FilterEPSS 0.5%