Fallos del tipo CWE-191

399 resultados

Subfluxo de inteiro (estouro negativo)

Ocorre quando uma operação aritmética subtrai um valor maior de um inteiro não assinado, causando wraparound: o resultado "volta" para um número muito grande em vez de ficar negativo. Um inteiro de 8 bits sem sinal (0-255), ao subtrair 1 de 0, vira 255. Isso quebra lógica de validação e pode ser explorado para contornar limites de segurança, alocar memória inadequada ou acessar áreas indevidas.

Ejemplo

Um sistema de download que valida se o tamanho solicitado cabe em buffer: se recebe tamanho=0 e subtrai um header de 10 bytes, a conta (0 - 10) em inteiro não assinado resulta em 4.294.967.286 bytes em uma arquitetura de 32 bits, enganando a validação e causando overflow no buffer.

Cómo mitigar

Sempre validar entrada antes de operações aritméticas; usar tipos assinados quando desejar representar negativos; implementar verificações de limites (p.ex., se A < B antes de calcular A - B); usar ferramentas estáticas ou sanitizers (AddressSanitizer, UBSan) para detectar wraparound em tempo de desenvolvimento.

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%