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-2026-5188LOWInteger underflow in X.509 SAN parsing in wolfSSLEPSS 0.1%CVE-2026-21489MEDIUMiccDEV has Out-of-bounds Read and Integer Underflow (Wrap or Wraparound)EPSS 0.1%CVE-2025-39928HIGHi2c: rtl9300: ensure data length is within supported rangeEPSS 0.1%CVE-2026-27710MEDIUMNanaZip .NET Single-File Parser Integer Underflow Leads to Unbounded Allocation (DoS)EPSS 0.1%CVE-2026-31617MEDIUMusb: gadget: f_ncm: validate minimum block_len in ncm_unwrap_ntb()EPSS 0.1%CVE-2026-58087HIGHHeap out-of-bounds access in semctl(2)EPSS 0.1%CVE-2026-42326MEDIUMImageMagick: Heap Buffer Over-Read in IPTC encoderEPSS 0.1%CVE-2026-65704HIGHFFmpeg 8.1.2 Out-of-Bounds Write via TY Demuxer and Shorten DecoderEPSS 0.1%CVE-2026-57452MEDIUMVim: Out-of-bounds Read with libsodium-encrypted FilesEPSS 0.1%CVE-2023-21630HIGHInteger Overflow in Multimedia FrameworkEPSS 0.1%CVE-2026-50593HIGHGraphite before 1.3.15 has an integer underflow and resultant out-of-bounds write via Graphite actions, because slotat does not ensure that EPSS 0.1%CVE-2026-90996MEDIUMSssd: sssd: denial of service in nss responder via crafted zero-length requestsEPSS 0.1%CVE-2023-33059HIGHBuffer Copy Without Checking Size of Input in AudioEPSS 0.1%CVE-2023-20635MEDIUMIn keyinstall, there is a possible information disclosure due to an integer overflow. This could lead to local information disclosure with SEPSS 0.1%CVE-2026-24077MEDIUMInteger Underflow (Wrap or Wraparound) in WLAN HostEPSS 0.1%CVE-2026-44069LOWInteger underflow in volxlateEPSS 0.1%CVE-2022-38681MEDIUMIn wlan driver, there is a possible missing params check. This could lead to local denial of service in wlan services.EPSS 0.1%CVE-2026-18839LOWPopt-devel: popt-static: size_t underflow in singleoptionhelpEPSS 0.1%CVE-2022-44444MEDIUMIn wlan driver, there is a possible missing bounds check. This could lead to local denial of service in wlan services.EPSS 0.1%