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-2025-45029MEDIUMWINSTAR WN572HP3 v230525 was discovered to contain a heap overflow via the CONTENT_LENGTH variable at /cgi-bin/upload.cgi.EPSS 0.2%CVE-2026-24268HIGHNVIDIA TensorRT contains a vulnerability where an attacker might cause a heap-based buffer overflow. A successful exploit of this vulnerabilEPSS 0.2%CVE-2024-31580MEDIUMPyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component /runtime/vararg_functions.cpp. This vuEPSS 0.2%CVE-2025-14958MEDIUMfloooh sokol sokol_gfx.h _sg_pipeline_common_init heap-based overflowEPSS 0.2%CVE-2026-28418MEDIUMVim has Heap-based Buffer Overflow in Emacs tags parsingEPSS 0.2%CVE-2026-33020HIGHlibsixel: Integer Overflow in write_png_to_file() leads to Heap-based Buffer OverflowEPSS 0.2%CVE-2025-7983HIGHAshlar-Vellum Graphite VC6 File Parsing Heap-based Buffer Overflow Remote Code Execution VulnerabilityEPSS 0.2%CVE-2026-25582HIGHiccDEV vulnerable to Heap Buffer Overflow in CIccIO::WriteUInt16Float()EPSS 0.2%CVE-2024-29162HIGHHDF5 through 1.13.3 and/or 1.14.2 contains a stack buffer overflow in H5HG_read, resulting in denial of service or potential code execution.EPSS 0.2%CVE-2024-29158HIGHHDF5 through 1.14.3 contains a stack buffer overflow in H5FL_arr_malloc, resulting in the corruption of the instruction pointer and causing EPSS 0.2%CVE-2023-51794HIGHBuffer Overflow vulnerability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to execute arbitrary code via the libavfilter/af_stereEPSS 0.2%CVE-2024-29163HIGHHDF5 through 1.14.3 contains a heap buffer overflow in H5T__bit_find, resulting in the corruption of the instruction pointer and causing denEPSS 0.2%CVE-2026-25713HIGHA heap-based buffer overflow vulnerability exists in the ID3v2 parsing functionality of MediaInfoLib (version(s): 26.01). A specially crafteEPSS 0.2%CVE-2024-29160HIGHHDF5 through 1.14.3 contains a heap buffer overflow in H5HG__cache_heap_deserialize, resulting in the corruption of the instruction pointer EPSS 0.2%CVE-2026-21281HIGHInCopy | Heap-based Buffer Overflow (CWE-122)EPSS 0.2%CVE-2026-25583HIGHiccDEV vulnerable to Heap Buffer Overflow in CIccFileIO::Read8()EPSS 0.2%CVE-2026-5447MEDIUMHeap buffer overflow in CertFromX509() via AuthorityKeyIdentifierEPSS 0.2%CVE-2024-8591HIGHAutodesk AutoCAD 3DM File Parsing Heap-based Buffer Overflow Code Execution VulnerabilityEPSS 0.2%CVE-2026-14759MEDIUMradareorg radare2 RBinJava Line Number Table class.c r_bin_java_inner_classes_attr_calc_size heap-based overflowEPSS 0.2%CVE-2026-18102LOWIBM i Buffer OverflowEPSS 0.2%