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-54982HIGHWindows Reliable Multicast Transport Driver (RMCAST) Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-96844HIGHMicrosoft Bluetooth Driver Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2026-45813HIGHApache NimBLE: Incorrect data validation in BASS add/modify source operationEPSS 0.5%CVE-2026-116568HIGHFreeSWITCH: Out-of-bounds read in mod_rtmp H.264 video message parsingEPSS 0.5%CVE-2022-27492HIGHAn integer underflow in WhatsApp could have caused remote code execution when receiving a crafted video file.EPSS 0.5%CVE-2023-21815HIGHVisual Studio Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-64047CRITICALnet: tls: fix off-by-one in sg_chain entry count for wrapped sk_msg ringEPSS 0.5%CVE-2026-70633HIGHTimescaleDB 2.29.1 Out-of-Bounds Read DoS via Gorilla Compression Reverse IteratorEPSS 0.5%CVE-2026-20957HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-83836HIGHWindows Event Tracing Remote Code Execution VulnerabilityEPSS 0.5%CVE-2025-64076HIGHMultiple vulnerabilities exist in cbor2 through version 5.7.0 in the decode_definite_long_string() function of the C extension decoder (sourEPSS 0.5%CVE-2022-23613HIGHPrivilege escalation on xrdpEPSS 0.5%CVE-2024-11950HIGHXnSoft XnView Classic RWZ File Parsing Integer Underflow Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-37231HIGHFlexRIC v2.0.0 uses a uint16_t counter for xapp_id assignment but stores the value in uint32_t message fields. After 65,530+ E42_SETUP_REQUEEPSS 0.5%CVE-2023-28272HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2020-17395HIGHThis vulnerability allows local attackers to escalate privileges on affected installations of Parallels Desktop 15.1.4. An attacker must firEPSS 0.5%CVE-2026-33184HIGHnimiq/core-rs-albatross: Discovery handshake limit could underflow and later provoke a deterministic overflow panicEPSS 0.5%CVE-2024-53955HIGHBridge | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.5%CVE-2026-101980CRITICALJunos OS: Malformed Extended Echo requests cause a Routing Engine reboot when Extended Echo is enabledEPSS 0.5%CVE-2024-56375HIGHAn integer underflow was discovered in Fort 1.6.3 and 1.6.4 before 1.6.5. A malicious RPKI repository that descends from a (trusted) Trust AEPSS 0.5%