Falhas do tipo CWE-191

399 resultados

Underflow de inteiro (envolvimento ou wraparound)

Ocorre quando uma operação aritmética subtrai um valor de um inteiro, resultando em um número menor do que o mínimo representável pelo tipo de dado. O processador ou linguagem 'envolve' o resultado para o máximo valor do tipo (wraparound), causando lógica inesperada. Isso frequentemente leva a bypass de validações, alocação de memória gigante ou acesso a posições indevidas.

Exemplo

Um programa válida o tamanho de um buffer subtraindo dois valores inteiros sem sinal (unsigned int). Se o primeiro valor for menor que o segundo, em vez de resultar em um número negativo, o resultado envolve para um inteiro extremamente alto (ex: 0 - 1 = 4.294.967.295 em 32-bit), passando por todas as verificações e causando overflow ou read/write fora dos limites.

Como mitigar

Sempre valide que o resultado de operações aritméticas está dentro do intervalo esperado antes de usá-lo. Use checagem de underflow (verificar se minuendo >= subtraendo) ou prefira tipos assinados com verificação de exceção. Em linguagens modernas, use bibliotecas de aritmética segura que lançam erro em wraparound.

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%