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-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%