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-2025-59368MEDIUMAn integer underflow vulnerability has been identified in Aicloud. An authenticated attacker may trigger this vulnerability by sending a craEPSS 0.4%CVE-2026-111808HIGHApache Traffic Server: HTTP/2 DATA frame padding underflow lets a client trigger backend worker-pool exhaustionEPSS 0.4%CVE-2026-116788HIGHFreeSWITCH: Pre-authentication heap buffer overflow in core XML empty-entity decodingEPSS 0.4%CVE-2026-54413HIGHiso14229 Integer Underflow and Out-of-Bounds Read in Handle_0x27_SecurityAccess()EPSS 0.4%CVE-2026-58249HIGHMemory Corruption vulnerability in SAP NetWeaver and SAP Web Dispatcher (Internet Communication Manager)EPSS 0.4%CVE-2026-77488MEDIUMMicrosoft SQL Server Information Disclosure VulnerabilityEPSS 0.4%CVE-2026-50300MEDIUMWindows DWM Core Library Information Disclosure VulnerabilityEPSS 0.4%CVE-2026-69303MEDIUMPush Message Routing Service Information Disclosure VulnerabilityEPSS 0.4%CVE-2026-93395MEDIUMInteger Underflow → Heap Out-of-Bounds Read in `bson_new_from_buffer()EPSS 0.4%CVE-2026-109246HIGHFreeRDP before 3.32.0 Shadow Server Divide-by-Zero via Frame Acknowledge PDUEPSS 0.4%CVE-2024-53954HIGHAnimate | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.4%CVE-2020-14378—An integer underflow in dpdk versions before 18.11.10 and before 19.11.5 in the `move_desc` function can lead to large amounts of CPU cyclesEPSS 0.4%CVE-2026-75352HIGHOpENer v2.3/commit 76b95cf, contains an integer underflow in the server-side EtherNet/IP ForwardOpen connection-path parser. This allows a rEPSS 0.4%CVE-2026-42268HIGHModSecurity: Unsigned integer underflow in @verifySSN / @verifyCPF / @verifySVNR operatorsEPSS 0.4%CVE-2026-88376HIGHBento4 1.6.0.0 contains an integer underflow vulnerability in AP4_AvccAtom::Create() and AP4_HvccAtom::Create(). A specially crafted MP4 filEPSS 0.4%CVE-2026-121727HIGHKore before 4.3.0 Integer Underflow Memory Exhaustion via http_header_recv()EPSS 0.4%CVE-2019-1628MEDIUMCisco Integrated Management Controller Denial of Service VulnerabilityEPSS 0.4%CVE-2026-3172HIGHpgvector buffer overflow in parallel HNSW index buildEPSS 0.4%CVE-2025-65092MEDIUMESP32-P4 JPEG Decoder Header Parsing VulnerabilityEPSS 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%