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-2023-32028HIGHMicrosoft SQL OLE DB Remote Code Execution VulnerabilityEPSS 0.7%CVE-2024-6873HIGHSpecially crafted request could caused undefined behaviour which may lead to Remote Code Execution.EPSS 0.7%CVE-2025-21356HIGHMicrosoft Office Visio Remote Code Execution VulnerabilityEPSS 0.7%CVE-2022-35706HIGHAdobe Bridge SVG File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.7%CVE-2020-25664—In WriteOnePNGImage() of the PNG coder at coders/png.c, an improper call to AcquireVirtualMemory() and memset() allows for an out-of-bounds EPSS 0.7%CVE-2023-29370HIGHWindows Media Remote Code Execution VulnerabilityEPSS 0.7%CVE-2026-0793HIGHALGO 8180 IP Audio Alerter InformaCast Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.7%CVE-2026-5450CRITICALscanf %mc off-by-one heap buffer overflowEPSS 0.7%CVE-2026-44421HIGHFreeRDP RDPGFX CacheToSurface heap-buffer-overflow via clamped-rectangle validation bypassEPSS 0.7%CVE-2024-25448HIGHAn issue in the imlib_free_image_and_decache function of imlib2 v1.9.1 allows attackers to cause a heap buffer overflow via parsing a crafteEPSS 0.7%CVE-2025-53149HIGHKernel Streaming WOW Thunk Service Driver Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2026-32956CRITICALSD-330AC and AMC Manager provided by silex technology, Inc. contain a heap-based buffer overflow vulnerability in processing the redirect UREPSS 0.7%CVE-2026-53362HIGHipv6: account for fraggap on the paged allocation pathEPSS 0.7%KEVCVE-2024-38079HIGHWindows Graphics Component Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2026-65679HIGHWindows iSCSI Target Service Remote Code Execution VulnerabilityEPSS 0.7%CVE-2026-62781HIGHRPC Runtime Library Remote Code Execution VulnerabilityEPSS 0.7%CVE-2026-69732HIGHWindows Link Layer Topology Discovery Protocol Remote Code Execution VulnerabilityEPSS 0.7%CVE-2026-69786HIGHWindows Text Shaping Remote Code Execution VulnerabilityEPSS 0.7%CVE-2026-71331HIGHWindows Device Health Attestation (DHA) Remote Code Execution VulnerabilityEPSS 0.7%CVE-2026-45584HIGHMicrosoft Defender Remote Code Execution VulnerabilityEPSS 0.7%