Falhas do tipo CWE-190

1.658 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-2021-22679The affected product is vulnerable to an integer overflow while processing HTTP headers, which may allow an attacker to remotely execute codEPSS 1.8%CVE-2021-22671Multiple integer overflow issues exist while processing long domain names, which may allow an attacker to remotely execute code on the SimplEPSS 1.8%CVE-2016-9601MEDIUMghostscript before version 9.21 is vulnerable to a heap based buffer overflow that was found in the ghostscript jbig2_decode_gray_scale_imagEPSS 1.7%CVE-2024-21420HIGHMicrosoft WDAC OLE DB provider for SQL Server Remote Code Execution VulnerabilityEPSS 1.7%CVE-2021-27419HIGHuClibc-ng Integer Overflow or WraparoundEPSS 1.7%CVE-2024-21379HIGHMicrosoft Word Remote Code Execution VulnerabilityEPSS 1.7%CVE-2024-32655HIGHNpgsql Vulnerable to SQL Injection via Protocol Message Size OverflowEPSS 1.7%CVE-2025-48595HIGHIn multiple locations, there is a possible way to achieve code execution due to an integer overflow. This could lead to local escalation of EPSS 1.7%KEVCVE-2023-34453MEDIUMsnappy-java's Integer Overflow vulnerability in shuffle leads to DoSEPSS 1.7%CVE-2025-47987HIGHCredential Security Support Provider Protocol (CredSSP) Elevation of Privilege VulnerabilityEPSS 1.7%CVE-2023-36911CRITICALMicrosoft Message Queuing (MSMQ) Remote Code Execution VulnerabilityEPSS 1.7%CVE-2023-37327HIGHGStreamer FLAC File Parsing Integer Overflow Remote Code Execution VulnerabilityEPSS 1.7%CVE-2022-43974HIGHMatrixSSL 4.0.4 through 4.5.1 has an integer overflow in matrixSslDecodeTls13. A remote attacker might be able to send a crafted TLS MessageEPSS 1.7%CVE-2024-45490CRITICALAn issue was discovered in libexpat before 2.6.3. xmlparse.c does not reject a negative length for XML_ParseBuffer.EPSS 1.7%CVE-2025-21244HIGHWindows Telephony Service Remote Code Execution VulnerabilityEPSS 1.7%CVE-2025-21243HIGHWindows Telephony Service Remote Code Execution VulnerabilityEPSS 1.7%CVE-2016-6328MEDIUMA vulnerability was found in libexif. An integer overflow when parsing the MNOTE entry data of the input file. This can cause Denial-of-ServEPSS 1.7%CVE-2024-37336HIGHSQL Server Native Client OLE DB Provider Remote Code Execution VulnerabilityEPSS 1.7%CVE-2021-27427HIGHRIOT OS Integer Overflow or WraparoundEPSS 1.7%CVE-2021-27425HIGHCesanta Software Mongoose-OS Integer Overflow or WraparoundEPSS 1.7%