Fallos del tipo CWE-191

492 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-2026-86132HIGHFireware OS Pre-Authentication Integer Underflow in iked Allows Denial of ServiceEPSS 0.4%CVE-2026-107794HIGHExtUtils::Typemaps::STL::List versions before 1.07 for Perl allocate a 32 GiB array on an empty listEPSS 0.4%CVE-2026-86537HIGHApache Thrift: A truncated HTTP request stops the D library's server, allowing an unauthenticated remote attacker to deny serviceEPSS 0.4%CVE-2026-49790HIGHWindows Universal Disk Format File System Driver (UDFS) Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2026-48029HIGHlibheif: heap OOB read in ImageItem_Grid::decode_grid_tile via irot-induced tile-coordinate underflowEPSS 0.4%CVE-2022-29204MEDIUMMissing validation causes denial of service in TensorFlow via `Conv3DBackpropFilterV2`EPSS 0.4%CVE-2026-72003HIGHwifi: brcmfmac: cyw: fix heap overflow on a short auth frameEPSS 0.4%CVE-2026-86133HIGHFireware OS Pre-Authentication Integer Underflow in iked Allows Remote Denial of ServiceEPSS 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-93599HIGHrustls-webpki before 0.103.13 Panic via empty BIT STRINGEPSS 0.3%CVE-2026-102073HIGHA vulnerability has been identified in APOGEE MBC (PPC) (BACnet) (All versions), APOGEE MBC (PPC) (P2 Ethernet) (All versions), APOGEE MEC (EPSS 0.3%CVE-2026-82459HIGHApache Thrift: Integer underflow in C++ THeaderTransport allows an unauthenticated remote peer to terminate a 32-bit processEPSS 0.3%CVE-2025-11931LOWInteger Underflow Leads to Out-of-Bounds Access in XChaCha20-Poly1305 DecryptEPSS 0.3%CVE-2025-43546HIGHBridge | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.3%CVE-2025-21156HIGHInCopy | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.3%CVE-2024-54028HIGHAn integer underflow vulnerability exists in the OLE Document DIFAT Parser functionality of catdoc 0.95. A specially crafted malformed file EPSS 0.3%CVE-2026-31883MEDIUMFreeRDP has a `size_t` underflow in ADPCM decoder leads to heap-buffer-overflow writeEPSS 0.3%CVE-2026-16241LOWPostgreSQL ECPG integer underflow can crash the clientEPSS 0.3%CVE-2024-47425HIGHAdobe Framemaker | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.3%CVE-2026-25772MEDIUMWazuh Database Synchronization Vulnerable to Stack-based Buffer Overflow via snprintf Integer UnderflowEPSS 0.3%