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-2025-1924MEDIUMA vulnerability has been found in Vnet/IP Interface Package provided by Yokogawa Electric Corporation. If affected product receive maliciousEPSS 0.2%CVE-2026-16241LOWPostgreSQL ECPG integer underflow can crash the clientEPSS 0.2%CVE-2026-42495MEDIUMbuffer overruns in libfsimage iso9660 handlingEPSS 0.2%CVE-2026-57918HIGHlibnfs through 6.0.2 before 935b8db has an xid integer underflow in READ_IOVEC in rpc_read_from_socket in lib/socket.c during a connection tEPSS 0.2%CVE-2026-32775HIGHlibexif through 0.6.25 has a flaw in decoding MakerNotes. If the exif_mnote_data_get_value function gets passed in a 0 size, the passed in-bEPSS 0.2%CVE-2026-49282MEDIUMCapstone M68K and RISCV `cs_insn_name()` invalid IDs can trigger out-of-bounds reads and process crashesEPSS 0.2%CVE-2026-18728MEDIUMOpen-iscsi: open-iscsi: integer underflow in iscsiuio ipv4 dhcp parsingEPSS 0.2%CVE-2026-69859HIGHWindows USB Audio Class driver (usbaudio.sys) Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2024-6285HIGHInteger Underflow in Memory Range Check in Renesas RCAREPSS 0.2%CVE-2026-18727MEDIUMOpen-iscsi: open-iscsi: integer underflow in iscsiuio dhcpv6 parsingEPSS 0.2%CVE-2025-47128HIGHAdobe Framemaker | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2025-47097HIGHInCopy | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2025-47130HIGHAdobe Framemaker | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2026-71401MEDIUMwicked: integer underflow of the UDP length in ni_capture_inspect_udp_header() leads to an out-of-bounds readEPSS 0.2%CVE-2025-48021MEDIUMA vulnerability has been found in Vnet/IP Interface Package provided by Yokogawa Electric Corporation. If affected product receives maliciouEPSS 0.2%CVE-2026-29776LOWFreeRDP has an Integer Underflow in update_read_cache_bitmap_order Function of FreeRDP's Core LibraryEPSS 0.2%CVE-2026-27296HIGHAdobe Framemaker | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2026-27297HIGHAdobe Framemaker | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2026-81977MEDIUMAcrobat Reader | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2025-14055LOWInteger underflow in Secure NCP hostEPSS 0.2%