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-2025-1924MEDIUMA vulnerability has been found in Vnet/IP Interface Package provided by Yokogawa Electric Corporation. If affected product receive maliciousEPSS 0.2%CVE-2026-16241LOWPostgreSQL ECPG integer underflow can crash the clientEPSS 0.2%CVE-2026-42495MEDIUMbuffer overruns in libfsimage iso9660 handlingEPSS 0.2%CVE-2026-57918HIGHlibnfs through 6.0.2 before 935b8db has an xid integer underflow in READ_IOVEC in rpc_read_from_socket in lib/socket.c during a connection tEPSS 0.2%CVE-2026-32775HIGHlibexif through 0.6.25 has a flaw in decoding MakerNotes. If the exif_mnote_data_get_value function gets passed in a 0 size, the passed in-bEPSS 0.2%CVE-2026-49282MEDIUMCapstone M68K and RISCV `cs_insn_name()` invalid IDs can trigger out-of-bounds reads and process crashesEPSS 0.2%CVE-2026-18728MEDIUMOpen-iscsi: open-iscsi: integer underflow in iscsiuio ipv4 dhcp parsingEPSS 0.2%CVE-2026-69859HIGHWindows USB Audio Class driver (usbaudio.sys) Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2024-6285HIGHInteger Underflow in Memory Range Check in Renesas RCAREPSS 0.2%CVE-2026-18727MEDIUMOpen-iscsi: open-iscsi: integer underflow in iscsiuio dhcpv6 parsingEPSS 0.2%CVE-2025-47128HIGHAdobe Framemaker | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2025-47097HIGHInCopy | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2025-47130HIGHAdobe Framemaker | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2026-71401MEDIUMwicked: integer underflow of the UDP length in ni_capture_inspect_udp_header() leads to an out-of-bounds readEPSS 0.2%CVE-2025-48021MEDIUMA vulnerability has been found in Vnet/IP Interface Package provided by Yokogawa Electric Corporation. If affected product receives maliciouEPSS 0.2%CVE-2026-29776LOWFreeRDP has an Integer Underflow in update_read_cache_bitmap_order Function of FreeRDP's Core LibraryEPSS 0.2%CVE-2026-27296HIGHAdobe Framemaker | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2026-27297HIGHAdobe Framemaker | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2026-81977MEDIUMAcrobat Reader | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2025-14055LOWInteger underflow in Secure NCP hostEPSS 0.2%