Weaknesses of type CWE-122

3,210 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-2025-20728HIGHIn wlan STA driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local escalation of privileEPSS 0.1%CVE-2026-40106MEDIUMWazuh: Heap-based Buffer Overflow in syscheck Registry Wildcard Expansion (LPE / DoS)EPSS 0.1%CVE-2026-20501HIGHIn vdec, there is a possible out of bounds write due to a heap buffer overflow. This could lead to local escalation of privilege with no addEPSS 0.1%CVE-2026-19694MEDIUMHeap-based Buffer Overflow in WiresharkEPSS 0.1%CVE-2026-31853MEDIUMImageMagick has a heap buffer over-write on 32-bit systems in SFW decoderEPSS 0.1%CVE-2026-5448LOW1-2 Byte Buffer Overflow in wolfSSL_X509_notAfter/notBeforeEPSS 0.1%CVE-2026-15173MEDIUMHeap-based Buffer Overflow in WiresharkEPSS 0.1%CVE-2026-20502HIGHIn vdec, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no addEPSS 0.1%CVE-2026-86926HIGHA heap buffer overflow vulnerability in the FileMaker Server database engine block parsing routine allowed a maliciously crafted .fmp12 dataEPSS 0.1%CVE-2026-10230MEDIUMAssimp Half-Life 1 MDL Loader HL1MDLLoader.cpp read_animations heap-based overflowEPSS 0.1%CVE-2024-10254MEDIUMA potential buffer overflow vulnerability was reported in PC Manager, Lenovo Browser, and Lenovo App Store that could allow a local attackerEPSS 0.1%CVE-2025-36923HIGHIn NrmmDecoder::DecodeSORTransparentContext of cn_NrmmDecoder.cpp, there is a possible out of bounds write due to a heap buffer overflow. ThEPSS 0.1%CVE-2026-10229MEDIUMAssimp Half-Life 1 MDL Loader HL1MDLLoader.cpp read_meshes heap-based overflowEPSS 0.1%CVE-2026-46692MEDIUMImageMagick: Heap Buffer Over-Write in distributed pixel cache serverEPSS 0.1%CVE-2026-61464LOWImageMagick before 7.1.2-26 Heap Buffer Over-Write via X11EPSS 0.1%CVE-2026-7310MEDIUMA heap-based buffer overflow vulnerability exists in XML parser functionality in the HiDraw. An authenticated malicious user with local acceEPSS 0.1%CVE-2026-73072HIGHVim: Heap Buffer Overflow when Loading a Spell FileEPSS 0.1%CVE-2025-20729MEDIUMIn wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local escalation of privilegEPSS 0.1%CVE-2021-25475LOWA possible heap-based buffer overflow vulnerability in DSP kernel driver prior to SMR Oct-2021 Release 1 allows arbitrary memory write and cEPSS 0.1%CVE-2024-10253MEDIUMA potential TOCTOU vulnerability was reported in PC Manager, Lenovo Browser, and Lenovo App Store that could allow a local attacker to causeEPSS 0.1%