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-2024-3447MEDIUMQemu: sdhci: heap buffer overflow in sdhci_write_dataport()EPSS 0.6%CVE-2025-2338MEDIUMtbeu matio io.c strdup_vprintf heap-based overflowEPSS 0.6%CVE-2026-57226LOWSuricata swf: heap buffer overflow in SWF decompression depth handlingEPSS 0.6%CVE-2021-25479HIGHA possible heap-based buffer overflow vulnerability in Exynos CP Chipset prior to SMR Oct-2021 Release 1 allows arbitrary memory write and cEPSS 0.6%CVE-2026-66035HIGHlibssh2 Heap Buffer Overflow via ETM Cipher NegotiationEPSS 0.6%CVE-2025-69247LOWfree5GC has Heap Buffer Overflow in UPF Leading to Denial of ServiceEPSS 0.5%CVE-2006-10003CRITICALXML::Parser versions through 2.47 for Perl has an off-by-one heap buffer overflow in st_serial_stackEPSS 0.5%CVE-2026-54559MEDIUMPocketSphinx: Buffer overflows in language and acoustic model loading codeEPSS 0.5%CVE-2026-56123CRITICALsocat 1.8.0.0 - 1.8.1.1 Heap Buffer Overflow via SOCKS5 Reply ParserEPSS 0.5%CVE-2023-41276MEDIUMQTS, QuTS hero, QuTScloudEPSS 0.5%CVE-2023-41275MEDIUMQTS, QuTS hero, QuTScloudEPSS 0.5%CVE-2021-25383CRITICALAn improper input validation vulnerability in scmn_mfal_read() in libsapeextractor library prior to SMR MAY-2021 Release 1 allows attackers EPSS 0.5%CVE-2026-4443HIGHHeap buffer overflow in WebAudio in Google Chrome prior to 146.0.7680.153 allowed a remote attacker to execute arbitrary code inside a sandbEPSS 0.5%CVE-2026-16928HIGHVulnerabilities in IBM AIX and PowerVM VIOSEPSS 0.5%CVE-2021-25384CRITICALAn improper input validation vulnerability in sdfffd_parse_chunk_PROP() with Sample Rate Chunk in libsdffextractor library prior to SMR MAY-EPSS 0.5%CVE-2026-71676HIGHBuffer Overflow vulnerability in Open5GS v.2.7.0 allows a remote attacker to cause a denial of service via the NAS 5GS decoder chain, triggeEPSS 0.5%CVE-2026-39919CRITICALGhostscript < 10.08.0 Heap Buffer Overflow via JPEG 2000 Output AdapterEPSS 0.5%CVE-2025-55004HIGHImageMagick: heap-buffer overflow read in MNG magnification with alphaEPSS 0.5%CVE-2026-21259HIGHMicrosoft Excel Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2026-3556HIGHPhilips Hue Bridge HomeKit Pair-Setup Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.5%