Falhas do tipo CWE-190

1.660 resultados

Estouro ou Envolvimento de Inteiro

Ocorre quando uma operação aritmética produz um valor que excede o limite máximo (ou mínimo) que o tipo de dado inteiro pode armazenar, causando o valor envolver-se para o lado oposto ou comportamento inesperado. Isso permite que atacantes contornem validações, aloquem memória inadequada, ou causem travamentos ao explorar essa descontinuidade.

Exemplo

Um servidor de upload limita arquivos a 2 GB verificando se size < 2147483648 (INT_MAX). Um atacante envia size=2147483648, que em inteiro de 32 bits assinado vira -2147483648. A validação passa, mas durante a alocação de buffer o sistema trata como valor negativo ou inesperado, causando falha ou bypass de proteção.

Como mitigar

Use tipos inteiros sem sinal (unsigned) ou de maior capacidade (64 bits) quando apropriado; valide entradas contra limites explícitos *antes* de operações aritméticas; utilize funções de verificação de overflow fornecidas pela linguagem ou biblioteca (ex: __builtin_add_overflow em C, SafeInt em .NET); evite conversões implícitas entre tipos.

CVE-2022-44638HIGHIn libpixman in Pixman before 0.42.2, there is an out-of-bounds write (aka heap-based buffer overflow) in rasterize_edges_8 due to an integeEPSS 1.5%CVE-2022-36125HIGHInteger overflow when reading corrupted .avro file in Avro Rust SDKEPSS 1.5%CVE-2022-32775CRITICALAn integer overflow vulnerability exists in the web interface /action/ipcamRecordPost functionality of Abode Systems, Inc. iota All-In-One SEPSS 1.5%CVE-2015-5297MEDIUMAn integer overflow issue has been reported in the general_composite_rect() function in pixman prior to version 0.32.8. An attacker could exEPSS 1.5%CVE-2020-25693A flaw was found in CImg in versions prior to 2.9.3. Integer overflows leading to heap buffer overflows in load_pnm() can be triggered by a EPSS 1.5%CVE-2024-21350HIGHMicrosoft WDAC OLE DB provider for SQL Server Remote Code Execution VulnerabilityEPSS 1.5%CVE-2022-24963CRITICALApache Portable Runtime (APR): out-of-bound writes in the apr_encode family of functionsEPSS 1.5%CVE-2023-34454MEDIUMsnappy-java's Integer Overflow vulnerability in compress leads to DoSEPSS 1.5%CVE-2023-24863MEDIUMMicrosoft PostScript and PCL6 Class Printer Driver Information Disclosure VulnerabilityEPSS 1.5%CVE-2023-24906MEDIUMMicrosoft PostScript and PCL6 Class Printer Driver Information Disclosure VulnerabilityEPSS 1.5%CVE-2021-21807CRITICALAn integer overflow vulnerability exists in the DICOM parse_dicom_meta_info functionality of Accusoft ImageGear 19.9. A specially crafted maEPSS 1.5%CVE-2024-22051CRITICALCommonMarker Integer Overflow VulnerabilityEPSS 1.5%CVE-2022-20685HIGHMultiple Cisco Products Snort Modbus Denial of Service VulnerabilityEPSS 1.4%CVE-2020-7881HIGHAfreecaTV streamer service stack-based buffer overflowEPSS 1.4%CVE-2022-24845HIGHInteger bounds error in VyperEPSS 1.4%CVE-2022-0913CRITICALInteger Overflow or Wraparound in microweber/microweberEPSS 1.4%CVE-2022-2285HIGHInteger Overflow or Wraparound in vim/vimEPSS 1.4%CVE-2023-28501CRITICALHeap buffer overflow in unirpcdEPSS 1.4%CVE-2022-25147Apache Portable Runtime Utility (APR-util): out-of-bounds writes in the apr_base64 family of functionsEPSS 1.4%CVE-2023-24537HIGHInfinite loop in parsing in go/scannerEPSS 1.4%