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-82250HIGHgitoxide gix-packetline before 0.21.5 Denial of ServiceEPSS 0.4%CVE-2026-54754CRITICALKlever-Go: Marketplace settlement mints KLV when referral % + royalty % exceed the bid (negative seller share silently skipped)EPSS 0.4%CVE-2024-52987HIGHAnimate | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.4%CVE-2024-52985HIGHAnimate | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.4%CVE-2024-52986HIGHAnimate | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.4%CVE-2024-52984HIGHAnimate | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.4%CVE-2024-52989HIGHAnimate | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.4%CVE-2026-54412HIGHMQTT-C Heap Out-of-Bounds Read and Integer Underflow in mqtt_unpack_publish_response()EPSS 0.4%CVE-2026-33899MEDIUMImageMagick: Heap BufferOverflow write of single zero byte when parsing XMLEPSS 0.4%CVE-2026-9624HIGHRSLinx Classic® - Multiple VulnerabilitiesEPSS 0.4%CVE-2026-9622HIGHRSLinx Classic® - Multiple VulnerabilitiesEPSS 0.4%CVE-2026-66767HIGHMemory Corruption vulnerability in SAP NetWeaver Application Server for ABAP and ABAP PlatformEPSS 0.4%CVE-2026-27596LOWExiv2: Integer Underflow in LoaderNative::getData() Causes Heap Buffer OverflowEPSS 0.4%CVE-2026-54890HIGHBEAM VM crash via integer underflow in binary_to_term BIT_BINARY_EXT decodingEPSS 0.4%CVE-2024-5256MEDIUMSonos Era 100 SMB2 Message Handling Integer Underflow Information Disclosure VulnerabilityEPSS 0.4%CVE-2026-94090MEDIUMJusticeRage Manalyze PE Parser pe.cpp _parse_debug integer underflowEPSS 0.4%CVE-2026-37534CRITICALInteger underflow vulnerability in Open-SAE-J1939 thru commit b6caf884df46435e539b1ecbf92b6c29b345bdfe (2025-11-30) in SAE_J1939_Read_TranspEPSS 0.4%CVE-2025-59242HIGHWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2025-47996HIGHWindows MBT Transport Driver Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2025-59368MEDIUMAn integer underflow vulnerability has been identified in Aicloud. An authenticated attacker may trigger this vulnerability by sending a craEPSS 0.4%