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-2019-14815HIGHA vulnerability was found in Linux Kernel, where a Heap Overflow was found in mwifiex_set_wmm_params() function of Marvell Wifi Driver.EPSS 0.5%CVE-2021-3966CRITICALUsb bluetooth device ACL read cb buffer overflowEPSS 0.5%CVE-2026-14940MEDIUM389-ds-base: 389-ds-base: heap-buffer-overflow in dn normalization via quoted multivalued rdnEPSS 0.5%CVE-2022-48512—Use After Free (UAF) vulnerability in the Vdecoderservice service. Successful exploitation of this vulnerability may cause the image decodinEPSS 0.5%CVE-2026-12244HIGHHeap overflow and crash with crafted SVCB RREPSS 0.5%CVE-2026-32316HIGHjq: Integer overflow in jvp_string_append() allows Heap-based Buffer OverflowEPSS 0.5%CVE-2026-11610HIGH389-ds-base: 389-ds-base: heap buffer overflow in sasl_io_recv() via padded sasl unbindEPSS 0.5%CVE-2025-62201HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-24682HIGHFreeRDP has a Heap-buffer-overflow in audio_formats_freeEPSS 0.5%CVE-2026-49840CRITICALFreeSWITCH: Pre-authentication heap buffer overflow in libesl `Content-Length` parsingEPSS 0.5%CVE-2026-5187LOWHeap Out-of-Bounds Write in DecodeObjectId() in wolfSSLEPSS 0.5%CVE-2025-53732HIGHMicrosoft Office Remote Code Execution VulnerabilityEPSS 0.5%CVE-2024-33505MEDIUMA heap-based buffer overflow in Fortinet FortiAnalyzer version 7.4.0 through 7.4.2, 7.2.0 through 7.2.5, 7.0.0 through 7.0.12, 6.4.0 throughEPSS 0.5%CVE-2023-42077HIGHPDF-XChange Editor EMF File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-49804MEDIUMWindows USB Video Driver Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2023-42076HIGHPDF-XChange Editor PDF File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-69469MEDIUMWindows USB Audio Class driver (usbaudio.sys) Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2026-9365MEDIUMEttercap GG Dissector ec_gg.c FUNC_DECODER heap-based overflowEPSS 0.5%CVE-2026-44236HIGHrabbitmq-c: Heap buffer overflow in AMQP login handshake via undersized connection.tune.frame_maxEPSS 0.5%CVE-2026-46752CRITICALApache Kvrocks: Stack buffer overflow in Lua bit.tohex()EPSS 0.5%