Falhas do tipo CWE-787

5.862 resultados

Escrita fora dos limites de memória

Ocorre quando um programa escreve dados em um endereço de memória fora da área alocada para um buffer ou variável. O código não valida o tamanho ou índice antes de gravar, permitindo sobrescrita de dados adjacentes, corrupção de estruturas críticas ou execução de código arbitrário.

Exemplo

Um formulário web que copia dados do usuário para um buffer de 256 bytes sem validar o tamanho da entrada. Se o atacante envia 500 bytes, a escrita transborda e sobrescreve a pilha, podendo hijackear o endereço de retorno da função.

Como mitigar

Use funções seguras de cópia (strncpy, strlcpy ao invés de strcpy; memcpy com tamanho máximo explícito) e sempre valide comprimento e índices antes de escrever. Em linguagens modernas, prefira estruturas com bounds-checking automático (arrays em Java, Rust, etc).

CVE-2022-42423HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is reEPSS 0.5%CVE-2022-42420HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is reEPSS 0.5%CVE-2026-86577CRITICALOut-of-bounds Write Vulnerability in JP1 ProductsEPSS 0.5%CVE-2022-48281MEDIUMprocessCropSelections in tools/tiffcrop.c in LibTIFF through 4.5.0 has a heap-based buffer overflow (e.g., "WRITE of size 307203") via a craEPSS 0.5%CVE-2024-11345HIGHHeap-based memory vulnerability in the Postscript interpreter in various Lexmark devicesEPSS 0.5%CVE-2022-42419HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is reEPSS 0.5%CVE-2022-42415HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of PDF-XChange Editor. User interaction is reEPSS 0.5%CVE-2026-82782MEDIUMOut-of-bounds write vulnerability exists in CONPROSYS nano Series. Receiving a specially crafted request created and sent by a remote attackEPSS 0.5%CVE-2025-14178MEDIUMHeap buffer overflow in array_merge()EPSS 0.5%CVE-2026-16815HIGHIBM i is Affected By Multiple Vulnerabilities in Simple Mail Transfer ProtocolEPSS 0.5%CVE-2025-1125HIGHGrub2: fs/hfs: integer overflow may lead to heap based out-of-bounds writeEPSS 0.5%CVE-2026-124737HIGHBusybox: heap buffer overflow in the tftp client on fallback to the default block sizeEPSS 0.5%CVE-2026-95329CRITICALOut of bounds write in WebGL in Google Chrome on on Android prior to 154.0.8037.57 allowed a remote attacker to potentially execute arbitrarEPSS 0.5%CVE-2026-96778HIGHPillow: Heap buffer overflow writing JPEG comment after ICC profile fills bufferEPSS 0.5%CVE-2025-46152MEDIUMIn PyTorch before 2.7.0, bitwise_right_shift produces incorrect output for certain out-of-bounds values of the "other" argument.EPSS 0.5%CVE-2025-1414MEDIUMMemory safety bugs fixed in Firefox 135.0.1EPSS 0.5%CVE-2026-121037CRITICALOut of bounds write in ANGLE in Google Chrome on on Windows prior to 157.0.8103.38 allowed a remote attacker to potentially execute arbitrarEPSS 0.5%CVE-2025-42940HIGHMemory Corruption vulnerability in SAP CommonCryptoLibEPSS 0.5%CVE-2022-28852HIGHAdobe InDesign 2022 Out-of-Bound Write Arbitrary code executionEPSS 0.5%CVE-2026-68516MEDIUMOpenEXR: HTJ2K SIZ image-offset gap stack buffer overflowEPSS 0.5%