Weaknesses of type CWE-191

399 results

Underflow de inteiro (envolvimento cíclico)

Ocorre quando uma operação aritmética subtrai um valor de um inteiro e o resultado fica abaixo do limite mínimo do tipo, causando um envolvimento cíclico para o valor máximo. Por exemplo, subtrair 1 de um inteiro sem sinal de valor 0 resulta no maior valor possível. Isso pode contornar validações de segurança ou causar comportamentos inesperados.

Example

Um programa valida se um tamanho é >= 0 antes de alocar memória. Se o tamanho vier de uma subtração (total - offset) onde offset é maior que total, um inteiro sem sinal faz o resultado "pular" para um número gigante, burlando a validação e causando alocação excessiva.

How to mitigate

Sempre validar o resultado de operações aritméticas antes de usá-lo (verificar se a subtração não gerou underflow), usar tipos inteiros com sinal quando apropriado para detectar condições inválidas, ou usar bibliotecas de aritmética segura que disparam exceções em overflow/underflow.

CVE-2026-67298HIGHFreeRDP 3.28.0 Heap Buffer Overflow via RAIL orderLength UnderflowEPSS 0.4%CVE-2024-38517MEDIUMTencent RapidJSON include/rapidjson/reader.h GenericReader::ParseNumber() Function Template Exponent Parsing Integer UnderflowEPSS 0.4%CVE-2026-55011HIGHMicrosoft Defender Remote Code Execution VulnerabilityEPSS 0.4%CVE-2026-45469HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.4%CVE-2026-37459HIGHAn integer underflow in FRRouting (FRR) stable/10.0 to stable/10.6 allows attackers to cause a Denial of Service (DoS) via supplying a craftEPSS 0.4%CVE-2023-39414HIGHMultiple integer underflow vulnerabilities exist in the LXT2 lxt2_rd_iter_radix shift operation functionality of GTKWave 3.3.115. A speciallEPSS 0.4%CVE-2024-41857HIGHIllustrator | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.4%CVE-2025-21160HIGHIllustrator | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.4%CVE-2025-55118HIGHBMC Control-M/Agent memory corruption in SSL/TLS communicationEPSS 0.4%CVE-2026-27596LOWExiv2: Integer Underflow in LoaderNative::getData() Causes Heap Buffer OverflowEPSS 0.4%CVE-2026-45463HIGHMicrosoft Office Remote Code Execution VulnerabilityEPSS 0.4%CVE-2026-50498HIGHWindows Universal Disk Format File System Driver (UDFS) Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2026-62745MEDIUMWindows DHCP Server Information Disclosure VulnerabilityEPSS 0.4%CVE-2026-49790HIGHWindows Universal Disk Format File System Driver (UDFS) Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2025-47996HIGHWindows MBT Transport Driver Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2025-65092MEDIUMESP32-P4 JPEG Decoder Header Parsing VulnerabilityEPSS 0.4%CVE-2026-18916MEDIUMRemote TCP DoS by throttling the TCP receive windowEPSS 0.4%CVE-2026-63515HIGHMicrosoft Office Remote Code Execution VulnerabilityEPSS 0.4%CVE-2026-44235MEDIUMrabbitmq-c: size_t underflow in AMQP frame length computation leads to out-of-bounds readEPSS 0.4%CVE-2026-45813HIGHApache NimBLE: Incorrect data validation in BASS add/modify source operationEPSS 0.4%