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-18728MEDIUMOpen-iscsi: open-iscsi: integer underflow in iscsiuio ipv4 dhcp parsingEPSS 0.3%CVE-2024-49514HIGHPhotoshop Desktop | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.3%CVE-2026-44235MEDIUMrabbitmq-c: size_t underflow in AMQP frame length computation leads to out-of-bounds readEPSS 0.3%CVE-2026-23748MEDIUMGolioth Firmware SDK < 0.22.0 LightDB State Out-of-Bounds ReadEPSS 0.3%CVE-2026-29078HIGHInteger Underflow in Lexbor ISO‑2022‑JP EncoderEPSS 0.3%CVE-2024-53061HIGHmedia: s5p-jpeg: prevent buffer overflowsEPSS 0.3%CVE-2025-47256MEDIUMLibxmp through 4.6.2 has a stack-based buffer overflow in depack_pha in loaders/prowizard/pha.c via a malformed Pha format tracker module inEPSS 0.3%CVE-2026-62289MEDIUMlibheif: Integer underflow in Fraction constructor via double clap transform applicationEPSS 0.3%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.3%CVE-2026-27907HIGHWindows Storage Spaces Controller Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2026-92853HIGHOut-of-bounds Read via a Zero-length TLS 1.3 Certificate Message in NetX SecureEPSS 0.3%CVE-2026-30803HIGHInteger Underflow (Wrap or Wraparound) vulnerability in RTI Connext Micro (Core Libraries) allows Overread Buffers.EPSS 0.3%CVE-2026-107836HIGHRIOT: nanoCoAP Block2 client slice handling underflows on inconsistent server-controlled block sizeEPSS 0.3%CVE-2026-102702HIGHArm: multiple issues with GNTTABOP_cache_flushEPSS 0.3%CVE-2025-26269LOWDragonflyDB Dragonfly through 1.28.2 (fixed in 1.29.0) allows authenticated users to cause a denial of service (daemon crash) via a Lua librEPSS 0.3%CVE-2026-102699HIGHArm: multiple issues with GNTTABOP_cache_flushEPSS 0.3%CVE-2025-30324HIGHPhotoshop Desktop | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.3%CVE-2025-43555HIGHAnimate | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.3%CVE-2026-106429HIGHApplication denial of service via malformed KMS endpoint in MongoDB libmongocryptEPSS 0.3%CVE-2022-49563HIGHcrypto: qat - add param check for RSAEPSS 0.3%