Weaknesses of type CWE-122

3,195 results

Transbordamento de heap (heap overflow)

Ocorre quando um programa escreve dados além dos limites de um buffer alocado dinamicamente na memória heap, sobrescrevendo dados adjacentes ou metadados do alocador. Isso permite que um atacante corrompa estruturas críticas, execute código arbitrário ou cause travamento da aplicação.

Example

Uma função recebe um tamanho de entrada sem validar e copia para um buffer: `strcpy(heap_buffer, user_input)` sem verificar se user_input cabe. Se o usuário enviar 1000 bytes para um buffer de 256, o overflow sobrescreve estruturas próximas no heap e pode ser explorado para RCE.

How to mitigate

Use funções seguras de cópia (`strncpy`, `strlcpy`), valide e limite o tamanho da entrada antes de copiar, e considere usar linguagens com gerenciamento automático de memória ou ferramentas como AddressSanitizer durante testes para detectar overflows.

CVE-2026-0821MEDIUMquickjs-ng quickjs quickjs.c js_typed_array_constructor 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-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-3354HIGHIBM Tivoli Monitoring code executionEPSS 0.5%CVE-2024-52999HIGHSubstance3D - Modeler | Heap-based Buffer Overflow (CWE-122)EPSS 0.5%CVE-2025-3320HIGHIBM Tivoli Monitoring code executionEPSS 0.5%CVE-2026-50370HIGHDHCP Server Service 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-2024-5876HIGHIrfanView PSP File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-19004HIGHMongoDB BI Connector ODBC Driver Memory-Safety Issue When Handling Stored Procedure Output ParametersEPSS 0.5%CVE-2025-2584LOWWebAssembly wabt binary-reader-interp.cc GetReturnCallDropKeepCount heap-based overflowEPSS 0.5%CVE-2026-2007HIGHPostgreSQL pg_trgm heap buffer overflow writes pattern onto server memoryEPSS 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-2018-1165—This vulnerability allows local attackers to escalate privileges on vulnerable installations of Joyent SmartOS release-20170803-20170803T064EPSS 0.5%CVE-2026-66036HIGHFFmpeg Heap Out-of-Bounds Write in vf_hqdn3d FilterEPSS 0.5%