Fallos del tipo CWE-122

3195 resultados

Estouro de heap

É quando o código escreve dados além dos limites de um buffer alocado no heap (memória dinâmica), sobrescrevendo dados de outras estruturas adjacentes. Esse estouro pode corromper metadados do heap, variáveis vizinhas ou objetos do programa, permitindo execução de código arbitrário ou negação de serviço.

Ejemplo

Um servidor web recebe uma string de tamanho arbitrário e a copia para um buffer de 256 bytes sem validar o comprimento (ex: strcpy em C). Se o atacante enviar 500 bytes, o restante escreve além da zona alocada, corrompendo estruturas próximas e potencialmente ganhando controle do fluxo.

Cómo mitigar

Use funções seguras (strncpy, strlcpy, snprintf em C) que respeitam limites de tamanho; valide e sanitize entrada do usuário antes de copiar; ative proteções do SO (ASLR, DEP/NX); use linguagens de memória segura quando possível; aplique verificações de limites em loops de cópia.

CVE-2024-7272MEDIUMFFmpeg swresample.c fill_audiodata heap-based overflowEPSS 1.2%CVE-2025-49666HIGHWindows Server Setup and Boot Event Collection Remote Code Execution VulnerabilityEPSS 1.2%CVE-2023-2804MEDIUMA heap-based buffer overflow issue was discovered in libjpeg-turbo in h2v2_merged_upsample_internal() function of jdmrgext.c file. The vulneEPSS 1.2%CVE-2023-5344MEDIUMHeap-based Buffer Overflow in vim/vimEPSS 1.2%CVE-2023-21799HIGHMicrosoft WDAC OLE DB provider for SQL Server Remote Code Execution VulnerabilityEPSS 1.2%CVE-2024-4559HIGHHeap buffer overflow in WebAudio in Google Chrome prior to 124.0.6367.155 allowed a remote attacker to potentially exploit heap corruption vEPSS 1.2%CVE-2023-24897HIGH.NET, .NET Framework, and Visual Studio Remote Code Execution VulnerabilityEPSS 1.2%CVE-2022-1286MEDIUMheap-buffer-overflow in mrb_vm_exec in mruby/mruby in mruby/mrubyEPSS 1.2%CVE-2025-14905HIGH389-ds-base: 389-ds-base: remote code execution and denial of service via heap buffer overflowEPSS 1.2%CVE-2026-52720HIGHGstreamer1-plugins-bad-free: gstreamer: heap buffer overflow via crafted vnc server rectangle in librfbEPSS 1.2%CVE-2020-13494MEDIUMA heap overflow vulnerability exists in the Pixar OpenUSD 20.05 parsing of compressed string tokens in binary USD files. A specially craftedEPSS 1.2%CVE-2022-20737HIGHCisco Adaptive Security Appliance Software Clientless SSL VPN Heap Overflow VulnerabilityEPSS 1.2%CVE-2022-0676HIGHHeap-based Buffer Overflow in radareorg/radare2EPSS 1.2%CVE-2024-30074HIGHWindows Link Layer Topology Discovery Protocol Remote Code Execution VulnerabilityEPSS 1.2%CVE-2026-0797HIGHGIMP ICO File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 1.2%CVE-2026-33602MEDIUMOff-by-one access when processing crafted UDP responsesEPSS 1.2%CVE-2026-50696HIGHInternet Key Exchange (IKE) Protocol Denial of Service VulnerabilityEPSS 1.2%CVE-2025-21417HIGHWindows Telephony Service Remote Code Execution VulnerabilityEPSS 1.2%CVE-2023-0854CRITICALBuffer overflow in NetBIOS QNAME registering and communication process of Office / Small Office Multifunction Printers and Laser Printers(*)EPSS 1.2%CVE-2022-0407MEDIUMHeap-based Buffer Overflow in vim/vimEPSS 1.2%