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-61826HIGHIllustrator on iPad | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2025-61836HIGHIllustrator on iPad | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2026-82250HIGHgitoxide gix-packetline before 0.21.5 Denial of ServiceEPSS 0.2%CVE-2023-53226HIGHwifi: mwifiex: Fix OOB and integer underflow when rx packetsEPSS 0.2%CVE-2026-35049MEDIUMwire-ios has Persistent Remote DoS via Integer UnderflowEPSS 0.2%CVE-2024-53081MEDIUMmedia: ar0521: don't overflow when checking PLL valuesEPSS 0.2%CVE-2026-25104HIGHA heap-based buffer overflow vulnerability exists in the LXF parsing functionality of MediaInfoLib (version(s): 26.01). A specially crafted EPSS 0.2%CVE-2026-5778LOWInteger underflow leads to out-of-bounds access in sniffer ChaCha decrypt path.EPSS 0.2%CVE-2026-25532MEDIUMESF-IDF is Vulnerable to WPS Enrollee Fragment Integer UnderflowEPSS 0.2%CVE-2023-44378HIGHgnark vulnerable to unsoundness in variable comparison/non-unique binary decompositionEPSS 0.2%CVE-2026-82480MEDIUMNASA cFS cFE Software Bus cfe_sb_util.c CFE_SB_GetUserDataLength integer underflowEPSS 0.2%CVE-2026-23951MEDIUMSumatraPDF's Integer Underflow in PalmDbReader Leads to CrashEPSS 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-2025-61835HIGHSubstance3D - Stager | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2025-47136HIGHInDesign Desktop | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2025-49532HIGHIllustrator | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2026-43628HIGHllama.cpp b3978–b9058 Integer Underflow via DRY SamplerEPSS 0.2%CVE-2023-28902LOWDenial of Service via integer underflow in picserverEPSS 0.2%CVE-2024-21466MEDIUMInteger Underflow (Wrap or Wraparound) in WLAN Host CommunicationEPSS 0.2%