Falhas do tipo CWE-191

491 resultados

Underflow de inteiro (envolvimento ou wraparound)

Ocorre quando uma operação aritmética subtrai um valor de um inteiro, resultando em um número menor do que o mínimo representável pelo tipo de dado. O processador ou linguagem 'envolve' o resultado para o máximo valor do tipo (wraparound), causando lógica inesperada. Isso frequentemente leva a bypass de validações, alocação de memória gigante ou acesso a posições indevidas.

Exemplo

Um programa válida o tamanho de um buffer subtraindo dois valores inteiros sem sinal (unsigned int). Se o primeiro valor for menor que o segundo, em vez de resultar em um número negativo, o resultado envolve para um inteiro extremamente alto (ex: 0 - 1 = 4.294.967.295 em 32-bit), passando por todas as verificações e causando overflow ou read/write fora dos limites.

Como mitigar

Sempre valide que o resultado de operações aritméticas está dentro do intervalo esperado antes de usá-lo. Use checagem de underflow (verificar se minuendo >= subtraendo) ou prefira tipos assinados com verificação de exceção. Em linguagens modernas, use bibliotecas de aritmética segura que lançam erro em wraparound.

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%