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-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-86566MEDIUMDpdk: dpdk: guest with runt rx descriptors underflows copy length in vhost enqueue (split and packed rings)EPSS 0.2%CVE-2026-82947HIGHMultiple Out-of-Bounds Reads in Frame ProcessingEPSS 0.2%CVE-2026-47222MEDIUMNanaZip: Heap out-of-bounds read in NanaZip AVB property descriptor parser via unsigned integer underflowEPSS 0.2%CVE-2026-57452MEDIUMVim: Out-of-bounds Read with libsodium-encrypted FilesEPSS 0.2%CVE-2026-26204MEDIUMWazuh: Heap-based NULL WRITE Buffer Underflow in GetAlertDataEPSS 0.2%CVE-2025-55096LOWInadequate bounds check and potential underflow in _ux_host_class_hid_report_descriptor_get()EPSS 0.2%CVE-2026-81881LOWradare2: Heap out-of-bounds read in radare2 Mach-O Swift metadata parserEPSS 0.2%CVE-2026-88377MEDIUMBento4 1.6.0.0 contains an integer underflow vulnerability in the avcC and hvcC configuration atom parsers. A specially crafted MP4 file conEPSS 0.2%CVE-2026-24077MEDIUMInteger Underflow (Wrap or Wraparound) in WLAN HostEPSS 0.2%CVE-2026-58087HIGHHeap out-of-bounds access in semctl(2)EPSS 0.2%CVE-2026-111735HIGHInteger underflow leads to out-of-bounds read in pf_cpm_c_data_ind()EPSS 0.2%CVE-2024-54095HIGHA vulnerability has been identified in Solid Edge SE2024 (All versions < V224.0 Update 10). The affected application is vulnerable to integeEPSS 0.2%CVE-2026-39314MEDIUMCUPS has an integer underflow in `_ppdCreateFromIPP` causes root cupsd crash via negative `job-password-supported`EPSS 0.2%CVE-2026-95958MEDIUMJusticeRage Manalyze PE Parser pe.cpp _parse_relocations integer underflowEPSS 0.2%CVE-2026-58242LOWImproper Authorization check in SAP Cloud ConnectorEPSS 0.2%CVE-2026-80303—Avast WFP stream parser integer underflow causes system crashEPSS 0.2%CVE-2026-13326MEDIUMOut-of-bounds read and integer underflow vulnerability in QNdefNfcTextRecord impacts Qt NFC moduleEPSS 0.2%CVE-2026-34165MEDIUMgo-git: Maliciously crafted idx file can cause asymmetric memory consumptionEPSS 0.2%