Falhas do tipo CWE-191

491 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-2026-69824CRITICALMicrosoft Standard XPS Remote Code Execution VulnerabilityEPSS 1.0%CVE-2024-49103MEDIUMWindows Wireless Wide Area Network Service (WwanSvc) Information Disclosure VulnerabilityEPSS 1.0%CVE-2026-91103MEDIUMHP Linux Imaging and Printing (HPLIP) Software– Multiple VulnerabilitiesEPSS 1.0%CVE-2024-10838HIGHInteger Underflow in DDS_Security_Deserialize_ methods may lead to OOB readEPSS 0.9%CVE-2021-3323HIGHInteger Underflow in 6LoWPAN IPHC Header Uncompression in ZephyrEPSS 0.9%CVE-2026-78453MEDIUMMicrosoft Windows SCSI Class System File Information Disclosure VulnerabilityEPSS 0.9%CVE-2025-52471HIGHESP-NOW Integer Underflow Vulnerability AdvisoryEPSS 0.9%CVE-2026-71352HIGHWindows Remote Access Connection Manager Remote Code Execution VulnerabilityEPSS 0.9%CVE-2026-85806CRITICALNetwork Policy Server (NPS) Remote Code Execution VulnerabilityEPSS 0.9%CVE-2023-47360HIGHVideolan VLC prior to version 3.0.20 contains an Integer underflow that leads to an incorrect packet length.EPSS 0.9%CVE-2017-15874MEDIUMarchival/libarchive/decompress_unlzma.c in BusyBox 1.27.2 has an Integer Underflow that leads to a read access violation.EPSS 0.9%CVE-2026-71442HIGHCAI Content Credentials | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.9%CVE-2023-36785HIGHMicrosoft ODBC Driver for SQL Server Remote Code Execution VulnerabilityEPSS 0.9%CVE-2024-49077MEDIUMWindows Mobile Broadband Driver Elevation of Privilege VulnerabilityEPSS 0.9%CVE-2026-84411CRITICALMikroTik RouterOS Integer UnderflowEPSS 0.9%CVE-2026-97004HIGHMicrosoft Office Excel Remote Code Execution VulnerabilityEPSS 0.9%CVE-2026-97746HIGHMicrosoft Office Excel Remote Code Execution VulnerabilityEPSS 0.9%CVE-2023-24821HIGHRIOT-OS vulnerable to Integer Underflow during defragmentationEPSS 0.9%CVE-2023-24820HIGHRIOT-OS vulnerable to Integer Underflow during IPHC receiveEPSS 0.9%CVE-2022-39293HIGHAzure RTOS USBX Host PIMA vulnerable to read integer underflow with buffer overflowEPSS 0.8%