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-2021-21555MEDIUMDell PowerEdge R640, R740, R740XD, R840, R940, R940xa, MX740c, MX840c, and T640 Server BIOS contain a heap-based buffer overflow vulnerabiliEPSS 0.3%CVE-2023-3428MEDIUMImagemagick: heap-buffer-overflow in coders/tiff.cEPSS 0.3%CVE-2024-26540HIGHA heap-based buffer overflow in Clmg before 3.3.3 can occur via a crafted file to cimg_library::CImg<unsigned char>::_load_analyze.EPSS 0.3%CVE-2026-47471HIGHNVIDIA TensorRT-LLM for any platform contains a vulnerability in tensor deserialization, where an attacker could cause a heap based buffer oEPSS 0.3%CVE-2026-97152HIGHNanomsg versions 0.5-beta through 1.x before 1.2.3 has a remotely exploitable buffer overflow in the WebSocket transport, due to an uncheckeEPSS 0.3%CVE-2024-56826MEDIUMOpenjpeg: heap buffer overflow in bin/common/color.cEPSS 0.3%CVE-2024-23796HIGHA vulnerability has been identified in Tecnomatix Plant Simulation V2201 (All versions < V2201.0012), Tecnomatix Plant Simulation V2302 (AllEPSS 0.3%CVE-2026-42807HIGHA heap-based buffer overflow vulnerability in the PC bridge protocol decoder of BoschSensortec COINES_SDK (versions 2.10 through 2.12.2) allEPSS 0.3%CVE-2024-0911MEDIUMIndent: heap-based buffer overflow in set_buf_break()EPSS 0.3%CVE-2026-76887LOWHeap-based Buffer Overflow in WiresharkEPSS 0.3%CVE-2024-43168MEDIUMUnbound: heap-buffer-overflow in unboundEPSS 0.3%CVE-2021-22564MEDIUMOut of bounds Copy in Libjxl in large image groupsEPSS 0.3%CVE-2025-52868LOWQsync CentralEPSS 0.3%CVE-2025-61820HIGHIllustrator | Heap-based Buffer Overflow (CWE-122)EPSS 0.3%CVE-2026-10929HIGHHeap buffer overflow in ANGLE in Google Chrome on Android prior to 149.0.7827.53 allowed a remote attacker who had compromised the renderer EPSS 0.3%CVE-2026-10949HIGHHeap buffer overflow in Video in Google Chrome prior to 149.0.7827.53 allowed a remote attacker who had compromised the renderer process to EPSS 0.3%CVE-2025-61832HIGHInDesign Desktop | Heap-based Buffer Overflow (CWE-122)EPSS 0.3%CVE-2025-61824HIGHInDesign Desktop | Heap-based Buffer Overflow (CWE-122)EPSS 0.3%CVE-2025-48071HIGHOpenEXR's Forged Unpacked Size can Lead to Heap-Based Buffer Overflow in Deep Scanline ParsingEPSS 0.3%CVE-2025-54209HIGHInDesign Desktop | Heap-based Buffer Overflow (CWE-122)EPSS 0.3%