Weaknesses of type CWE-191

492 results

Underflow de inteiro (envolvimento cíclico)

Ocorre quando uma operação aritmética subtrai um valor de um inteiro e o resultado fica abaixo do limite mínimo do tipo, causando um envolvimento cíclico para o valor máximo. Por exemplo, subtrair 1 de um inteiro sem sinal de valor 0 resulta no maior valor possível. Isso pode contornar validações de segurança ou causar comportamentos inesperados.

Example

Um programa valida se um tamanho é >= 0 antes de alocar memória. Se o tamanho vier de uma subtração (total - offset) onde offset é maior que total, um inteiro sem sinal faz o resultado "pular" para um número gigante, burlando a validação e causando alocação excessiva.

How to mitigate

Sempre validar o resultado de operações aritméticas antes de usá-lo (verificar se a subtração não gerou underflow), usar tipos inteiros com sinal quando apropriado para detectar condições inválidas, ou usar bibliotecas de aritmética segura que disparam exceções em overflow/underflow.

CVE-2026-33999HIGHXorg: xwayland: x.org x server: denial of service via integer underflow in xkb compatibility map handlingEPSS 0.4%CVE-2026-103636HIGHApache DataSketches: datasketches-cpp: Out-of-bounds read in VarOpt union deserialization allows denial of service via a truncated sketchEPSS 0.4%CVE-2013-10076HIGHExtUtils::Typemaps::STL::Vector versions before 1.05 for Perl allocate a 32 GiB array on an empty listEPSS 0.4%CVE-2026-70064HIGHWindows Kerberos Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2026-82480MEDIUMNASA cFS cFE Software Bus cfe_sb_util.c CFE_SB_GetUserDataLength integer underflowEPSS 0.4%CVE-2026-88964HIGHAn integer underflow in OpenVPN version 2.7_alpha3 through 2.7.7 on Windows and Android allows remote authenticated servers to cause a deniaEPSS 0.4%CVE-2026-73252HIGHMongoose: Unauthenticated remote heap out-of-bounds read in built-in TLS: off-by-one length check in mg_tls_recv_record() underflows recv_len to SIZE_MAXEPSS 0.4%CVE-2024-38517MEDIUMTencent RapidJSON include/rapidjson/reader.h GenericReader::ParseNumber() Function Template Exponent Parsing Integer UnderflowEPSS 0.4%CVE-2026-45469HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.4%CVE-2026-111075HIGHJITServer: Pre-authentication remote crash via integer underflow and out-of-bounds heap read in DataDescriptor deserializationEPSS 0.4%CVE-2026-49868CRITICALRIOT: DHCPv6 client _parse_reply() missing sub-option length check leads to size_t underflow and unbounded OOB heap readEPSS 0.4%CVE-2026-37459HIGHAn integer underflow in FRRouting (FRR) stable/10.0 to stable/10.6 allows attackers to cause a Denial of Service (DoS) via supplying a craftEPSS 0.4%CVE-2025-62594MEDIUMImageMagick CLAHE : Unsigned underflow and division-by-zero lead to OOB pointer arithmetic and process crash (DoS)EPSS 0.4%CVE-2023-39414HIGHMultiple integer underflow vulnerabilities exist in the LXT2 lxt2_rd_iter_radix shift operation functionality of GTKWave 3.3.115. A speciallEPSS 0.4%CVE-2025-21160HIGHIllustrator | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.4%CVE-2024-41857HIGHIllustrator | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.4%CVE-2025-55118HIGHBMC Control-M/Agent memory corruption in SSL/TLS communicationEPSS 0.4%CVE-2025-3947HIGHInteger underflow during processing of short network packets in CDA FTEB responderEPSS 0.4%CVE-2026-45463HIGHMicrosoft Office Remote Code Execution VulnerabilityEPSS 0.4%CVE-2026-50498HIGHWindows Universal Disk Format File System Driver (UDFS) Elevation of Privilege VulnerabilityEPSS 0.4%