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-2025-21276HIGHWindows MapUrlToZone Denial of Service VulnerabilityEPSS 2.4%CVE-2024-28933HIGHMicrosoft ODBC Driver for SQL Server Remote Code Execution VulnerabilityEPSS 2.4%CVE-2024-28930HIGHMicrosoft ODBC Driver for SQL Server Remote Code Execution VulnerabilityEPSS 2.4%CVE-2021-20240A flaw was found in gdk-pixbuf in versions before 2.42.0. An integer wraparound leading to an out of bounds write can occur when a crafted GEPSS 2.3%CVE-2024-30070HIGHDHCP Server Service Denial of Service VulnerabilityEPSS 2.3%CVE-2024-26208HIGHMicrosoft Message Queuing (MSMQ) Remote Code Execution VulnerabilityEPSS 2.3%CVE-2024-28945HIGHMicrosoft OLE DB Driver for SQL Server Remote Code Execution VulnerabilityEPSS 2.3%CVE-2024-38074CRITICALWindows Remote Desktop Licensing Service Remote Code Execution VulnerabilityEPSS 2.2%CVE-2021-31889HIGHA vulnerability has been identified in Capital Embedded AR Classic 431-422 (All versions), Capital Embedded AR Classic R20-11 (All versions EPSS 2.2%CVE-2026-62741HIGHWindows HTTP.sys Elevation of Privilege VulnerabilityEPSS 2.1%CVE-2023-36909MEDIUMMicrosoft Message Queuing (MSMQ) Denial of Service VulnerabilityEPSS 2.1%CVE-2019-5099HIGHAn exploitable integer underflow vulnerability exists in the CMP-parsing functionality of LEADTOOLS 20. A specially crafted CMP image file cEPSS 2.0%CVE-2023-28250CRITICALWindows Pragmatic General Multicast (PGM) Remote Code Execution VulnerabilityEPSS 2.0%CVE-2024-0565MEDIUMKernel: cifs filesystem decryption improper input validation remote code execution vulnerability in function receive_encrypted_standard of clientEPSS 2.0%CVE-2023-21527HIGHWindows iSCSI Service Denial of Service VulnerabilityEPSS 2.0%CVE-2024-26244HIGHMicrosoft WDAC OLE DB provider for SQL Server Remote Code Execution VulnerabilityEPSS 2.0%CVE-2023-32014CRITICALWindows Pragmatic General Multicast (PGM) Remote Code Execution VulnerabilityEPSS 1.9%CVE-2021-43083Apache PLC4X 0.9.0 Buffer overflow in PLC4C via crafted server responseEPSS 1.9%CVE-2024-32040HIGHFreeRDP vulnerable to integer underflow in nsc_rle_decodeEPSS 1.9%CVE-2019-12678HIGHCisco Adaptive Security Appliance Software and Firepower Threat Defense Software SIP Inspection Denial of Service VulnerabilityEPSS 1.8%