Falhas do tipo CWE-122

3.195 resultados

Estouro de heap

Ocorre quando código escreve mais dados do que o espaço alocado em uma região de memória dinâmica (heap), sobrescrevendo dados adjacentes. Um atacante pode explorar isso para corromper estruturas de dados críticas, contornar proteções de segurança ou executar código arbitrário.

Exemplo

Um servidor web aloca 256 bytes para armazenar um nome de usuário, mas copia 512 bytes de uma requisição sem validação. Os 256 bytes extras sobrescrevem ponteiros ou metadados do heap, permitindo execução de código ou negação de serviço.

Como mitigar

Use funções seguras que respeitam limites (strcpy_s, memcpy com tamanho verificado em runtime). Validar e limitar o tamanho de entrada antes de copiar. Ativar proteções como ASLR, stack canaries e ferramentas de sanitização (AddressSanitizer) em desenvolvimento.

CVE-2023-0288HIGHHeap-based Buffer Overflow in vim/vimEPSS 0.5%CVE-2026-46752CRITICALApache Kvrocks: Stack buffer overflow in Lua bit.tohex()EPSS 0.5%CVE-2026-81352HIGHWeb Media Extensions Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-81634HIGHPossible heap buffer overflow during DNSSEC canonicalizationEPSS 0.5%CVE-2021-3861HIGHThe RNDIS USB device class includes a buffer overflow vulnerabilityEPSS 0.5%CVE-2024-49507HIGHInDesign Desktop | Heap-based Buffer Overflow (CWE-122)EPSS 0.5%CVE-2024-49508HIGHInDesign Desktop | Heap-based Buffer Overflow (CWE-122)EPSS 0.5%CVE-2025-20726HIGHIn Modem, there is a possible out of bounds write due to an incorrect bounds check. This could lead to remote escalation of privilege, if a EPSS 0.5%CVE-2020-14310MEDIUMThere is an issue on grub2 before version 2.06 at function read_section_as_string(). It expects a font name to be at max UINT32_MAX - 1 lengEPSS 0.5%CVE-2025-32718HIGHWindows SMB Client Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2023-35363HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2026-41445HIGHKissFFT Integer Overflow Heap Buffer Overflow via kiss_fftndr_alloc()EPSS 0.5%CVE-2026-58600HIGHHEVC Video Extensions Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2026-58599HIGHHEVC Video Extensions Remote Code Execution VulnerabilityEPSS 0.5%CVE-2022-2849HIGHHeap-based Buffer Overflow in vim/vimEPSS 0.5%CVE-2022-34241HIGHAdobe Character Animator SVG File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-45466LOWMicrosoft Word Information Disclosure VulnerabilityEPSS 0.5%CVE-2025-67896HIGHExim before 4.99.1, with certain non-default rate-limit configurations, allows a remote heap-based buffer overflow because database records EPSS 0.5%CVE-2026-0264HIGHPAN-OS: Heap-Based Buffer Overflow in DNS Proxy and DNS Server Allows Unauthenticated Remote Code ExecutionEPSS 0.5%CVE-2025-49721HIGHWindows Fast FAT File System Driver Elevation of Privilege VulnerabilityEPSS 0.5%