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-2022-29204MEDIUMMissing validation causes denial of service in TensorFlow via `Conv3DBackpropFilterV2`EPSS 0.3%CVE-2026-93599HIGHrustls-webpki before 0.103.13 Panic via empty BIT STRINGEPSS 0.3%CVE-2025-62594MEDIUMImageMagick CLAHE : Unsigned underflow and division-by-zero lead to OOB pointer arithmetic and process crash (DoS)EPSS 0.3%CVE-2026-64909HIGHMicrosoft Office Remote Code Execution VulnerabilityEPSS 0.3%CVE-2025-21156HIGHInCopy | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.3%CVE-2026-45699HIGHNetatalk has Integer Underflow → Stack Buffer Overflow in copydir()EPSS 0.3%CVE-2024-47425HIGHAdobe Framemaker | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.3%CVE-2025-3947HIGHInteger underflow during processing of short network packets in CDA FTEB responderEPSS 0.3%CVE-2026-6678LOWInteger underflow in wc_PKCS7_DecryptOri handling crafted Other Recipient InfoEPSS 0.3%CVE-2025-43546HIGHBridge | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.3%CVE-2026-44060HIGHInteger underflow in dsi_writeinit() leads to denial of serviceEPSS 0.3%CVE-2026-8463MEDIUMCrypt::Argon2 versions from 0.017 before 0.031 for Perl perform a heap out-of-bounds read in argon2_verify on empty encoded inputEPSS 0.3%CVE-2026-19317HIGHFireware OS Pre-Authentication Out-of-Bounds Read in iked Allows Denial of Service (DoS)EPSS 0.3%CVE-2026-19314HIGHFireware OS Integer Underflow in iked Allows Unauthenticated Denial of Service (DoS)EPSS 0.3%CVE-2024-57823CRITICALIn Raptor RDF Syntax Library through 2.0.16, there is an integer underflow when normalizing a URI with the turtle parser in raptor_uri_normaEPSS 0.3%CVE-2026-78011HIGHFireware OS Integer Underflow in Iked Allows Unauthenticated Denial of Service (DoS)EPSS 0.3%CVE-2023-0469MEDIUMA use-after-free flaw was found in io_uring/filetable.c in io_install_fixed_file in the io_uring subcomponent in the Linux Kernel during calEPSS 0.3%CVE-2026-40954LOWInteger underflow in Secure Access clients prior to 14.55EPSS 0.3%CVE-2026-40955LOWInteger underflow vulnerability in Secure Access clientsEPSS 0.3%CVE-2026-69269HIGHMicrosoft Standard XPS Elevation of Privilege VulnerabilityEPSS 0.3%