Falhas do tipo CWE-191

492 resultados

Underflow de inteiro (envolvimento ou wraparound)

Ocorre quando uma operação aritmética subtrai um valor de um inteiro, resultando em um número menor do que o mínimo representável pelo tipo de dado. O processador ou linguagem 'envolve' o resultado para o máximo valor do tipo (wraparound), causando lógica inesperada. Isso frequentemente leva a bypass de validações, alocação de memória gigante ou acesso a posições indevidas.

Exemplo

Um programa válida o tamanho de um buffer subtraindo dois valores inteiros sem sinal (unsigned int). Se o primeiro valor for menor que o segundo, em vez de resultar em um número negativo, o resultado envolve para um inteiro extremamente alto (ex: 0 - 1 = 4.294.967.295 em 32-bit), passando por todas as verificações e causando overflow ou read/write fora dos limites.

Como mitigar

Sempre valide que o resultado de operações aritméticas está dentro do intervalo esperado antes de usá-lo. Use checagem de underflow (verificar se minuendo >= subtraendo) ou prefira tipos assinados com verificação de exceção. Em linguagens modernas, use bibliotecas de aritmética segura que lançam erro em wraparound.

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%