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-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%