Weaknesses of type CWE-191

491 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-112625HIGHAn integer underflow was addressed with improved input validation. This issue is fixed in iOS 26.7.2 and iPadOS 26.7.2, iOS 27.2 and iPadOS EPSS 0.6%CVE-2026-68123CRITICALopenvswitch: fix GSO userspace truncation underflowEPSS 0.6%CVE-2025-30668MEDIUMZoom Workplace Apps - NULL Pointer DereferenceEPSS 0.6%CVE-2026-16924HIGHVulnerabilities in IBM AIX and PowerVM VIOSEPSS 0.5%CVE-2024-0808CRITICALInteger underflow in WebUI in Google Chrome prior to 121.0.6167.85 allowed a remote attacker to potentially exploit heap corruption via a maEPSS 0.5%CVE-2026-85339HIGHWindows Routing and Remote Access Service (RRAS) Remote Code Execution VulnerabilityEPSS 0.5%CVE-2025-23335MEDIUMNVIDIA Triton Inference Server for Windows and Linux and the Tensor RT backend contain a vulnerability where an attacker could cause an undeEPSS 0.5%CVE-2026-19314HIGHFireware OS Integer Underflow in iked Allows Unauthenticated Denial of Service (DoS)EPSS 0.5%CVE-2026-78011HIGHFireware OS Integer Underflow in Iked Allows Unauthenticated Denial of Service (DoS)EPSS 0.5%CVE-2026-19317HIGHFireware OS Pre-Authentication Out-of-Bounds Read in iked Allows Denial of Service (DoS)EPSS 0.5%CVE-2026-49494HIGHXcitium Client Security / Comodo Internet Security Remote Denial of ServiceEPSS 0.5%CVE-2026-110714HIGHlibsmb2 through 6.2 Heap Out-of-Bounds Read via decode_acl Integer UnderflowEPSS 0.5%CVE-2026-62718MEDIUMWindows DHCP Server Information Disclosure VulnerabilityEPSS 0.5%CVE-2026-62715MEDIUMWindows DHCP Server Information Disclosure VulnerabilityEPSS 0.5%CVE-2026-62714MEDIUMWindows DHCP Server Information Disclosure VulnerabilityEPSS 0.5%CVE-2026-62742MEDIUMWindows DHCP Server Information Disclosure VulnerabilityEPSS 0.5%CVE-2026-62745MEDIUMWindows DHCP Server Information Disclosure VulnerabilityEPSS 0.5%CVE-2026-62720MEDIUMWindows DHCP Server Information Disclosure VulnerabilityEPSS 0.5%CVE-2026-62716MEDIUMWindows DHCP Server Information Disclosure VulnerabilityEPSS 0.5%CVE-2026-62814MEDIUMWindows DHCP Server Information Disclosure VulnerabilityEPSS 0.5%