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-54754CRITICALKlever-Go: Marketplace settlement mints KLV when referral % + royalty % exceed the bid (negative seller share silently skipped)EPSS 0.4%CVE-2026-82250HIGHgitoxide gix-packetline before 0.21.5 Denial of ServiceEPSS 0.4%CVE-2024-52989HIGHAnimate | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.4%CVE-2024-52987HIGHAnimate | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.4%CVE-2024-52984HIGHAnimate | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.4%CVE-2024-52985HIGHAnimate | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.4%CVE-2024-52986HIGHAnimate | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.4%CVE-2026-54412HIGHMQTT-C Heap Out-of-Bounds Read and Integer Underflow in mqtt_unpack_publish_response()EPSS 0.4%CVE-2026-9624HIGHRSLinx Classic® - Multiple VulnerabilitiesEPSS 0.4%CVE-2026-33899MEDIUMImageMagick: Heap BufferOverflow write of single zero byte when parsing XMLEPSS 0.4%CVE-2026-9622HIGHRSLinx Classic® - Multiple VulnerabilitiesEPSS 0.4%CVE-2026-66767HIGHMemory Corruption vulnerability in SAP NetWeaver Application Server for ABAP and ABAP PlatformEPSS 0.4%CVE-2026-117068HIGHAn integer underflow vulnerability in the NAS decoder of OpenAirInterface (OAI) CN5G AMF v2.2.1 allows an unauthenticated remote attacker toEPSS 0.4%CVE-2026-27596LOWExiv2: Integer Underflow in LoaderNative::getData() Causes Heap Buffer OverflowEPSS 0.4%CVE-2026-54890HIGHBEAM VM crash via integer underflow in binary_to_term BIT_BINARY_EXT decodingEPSS 0.4%CVE-2024-5256MEDIUMSonos Era 100 SMB2 Message Handling Integer Underflow Information Disclosure VulnerabilityEPSS 0.4%CVE-2026-94090MEDIUMJusticeRage Manalyze PE Parser pe.cpp _parse_debug integer underflowEPSS 0.4%CVE-2026-37534CRITICALInteger underflow vulnerability in Open-SAE-J1939 thru commit b6caf884df46435e539b1ecbf92b6c29b345bdfe (2025-11-30) in SAE_J1939_Read_TranspEPSS 0.4%CVE-2025-47996HIGHWindows MBT Transport Driver Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2025-59242HIGHWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 0.4%