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-18687HIGHImproper Validation in MongoDB Queryable Encryption Maintenance Operation Leads to Denial of Service and Index CorruptionEPSS 0.2%CVE-2026-47222MEDIUMNanaZip: Heap out-of-bounds read in NanaZip AVB property descriptor parser via unsigned integer underflowEPSS 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-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-48435MEDIUMCAI Content Credentials | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2026-71444MEDIUMCAI Content Credentials | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 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-13326MEDIUMOut-of-bounds read and integer underflow vulnerability in QNdefNfcTextRecord impacts Qt NFC moduleEPSS 0.2%CVE-2026-71389MEDIUMCAI Content Credentials | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2026-76189MEDIUMCAI Content Credentials | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.2%CVE-2026-22185MEDIUMOpenLDAP LMDB mdb_load Heap Buffer Underflow in readline()EPSS 0.1%CVE-2026-34165MEDIUMgo-git: Maliciously crafted idx file can cause asymmetric memory consumptionEPSS 0.1%CVE-2023-53258MEDIUMdrm/amd/display: Fix possible underflow for displays with large vblankEPSS 0.1%CVE-2026-61720MEDIUMFluidSynth: SF2 DMOD Chunk Unsigned UnderflowEPSS 0.1%CVE-2026-73433MEDIUMGstreamer1-plugins-good: gstreamer: unsigned integer underflow in avidemux fujifilm strd parsing leading to out-of-bounds read/writeEPSS 0.1%CVE-2026-39855MEDIUMosslsigncode has an Integer Underflow in PE Page Hash Calculation Can Cause Out-of-Bounds ReadEPSS 0.1%CVE-2026-40386MEDIUMIn libexif through 0.6.25, an integer underflow in size checking for Fuji and Olympus MakerNote decoding could be used by attackers to crashEPSS 0.1%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%