Weaknesses of type CWE-191

481 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-75083MEDIUMInteger underflow of the radio-reported frame length causes an out-of-bounds write in the NXP KW41Z IEEE 802.15.4 driverEPSS 0.2%CVE-2023-28902LOWDenial of Service via integer underflow in picserverEPSS 0.2%CVE-2025-47097HIGHInCopy | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2024-53081MEDIUMmedia: ar0521: don't overflow when checking PLL valuesEPSS 0.2%CVE-2025-47128HIGHAdobe Framemaker | 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-5778LOWInteger underflow leads to out-of-bounds access in sniffer ChaCha decrypt path.EPSS 0.2%CVE-2026-7424HIGHInteger Underflow in DHCPv6 Sub-Option Parser in FreeRTOS-Plus-TCPEPSS 0.2%CVE-2026-7423MEDIUMInteger Underflow in ICMP Echo Reply Processing in FreeRTOS-Plus-TCPEPSS 0.2%CVE-2026-23951MEDIUMSumatraPDF's Integer Underflow in PalmDbReader Leads to CrashEPSS 0.2%CVE-2024-21466MEDIUMInteger Underflow (Wrap or Wraparound) in WLAN Host CommunicationEPSS 0.2%CVE-2026-70388HIGHMemory Corruption via Integer Underflow in Message Length ValidationEPSS 0.2%CVE-2026-19186HIGHInteger underflow in IEEE 802.15.4 frame decryption leads to out-of-bounds read and writeEPSS 0.2%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-69859HIGHWindows USB Audio Class driver (usbaudio.sys) Elevation of Privilege VulnerabilityEPSS 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-42495MEDIUMbuffer overruns in libfsimage iso9660 handlingEPSS 0.2%CVE-2025-14055LOWInteger underflow in Secure NCP hostEPSS 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-2024-6285HIGHInteger Underflow in Memory Range Check in Renesas RCAREPSS 0.2%