Weaknesses of type CWE-191

399 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-2023-36785HIGHMicrosoft ODBC Driver for SQL Server Remote Code Execution VulnerabilityEPSS 1.1%CVE-2023-35387HIGHWindows Bluetooth A2DP driver Elevation of Privilege VulnerabilityEPSS 1.1%CVE-2021-3472A flaw was found in xorg-x11-server in versions before 1.20.11. An integer underflow can occur in xserver which can lead to a local privilegEPSS 1.1%CVE-2021-33536HIGHWEIDMUELLER: WLAN devices affected by Denial-of-Service vulnerabilityEPSS 1.0%CVE-2025-62567MEDIUMWindows Hyper-V Denial of Service VulnerabilityEPSS 1.0%CVE-2023-32653CRITICALAn out-of-bounds write vulnerability exists in the dcm_pixel_data_decode functionality of Accusoft ImageGear 20.1. A specially crafted malfoEPSS 1.0%CVE-2024-55627MEDIUMSuricata segfault on StreamingBufferSlideToOffsetWithRegionsEPSS 1.0%CVE-2026-25075HIGHstrongSwan 4.5.0 < 6.0.5 EAP-TTLS AVP Parsing Integer UnderflowEPSS 1.0%CVE-2025-62291HIGHIn the eap-mschapv2 plugin (client-side) in strongSwan before 6.0.3, a malicious EAP-MSCHAPv2 server can send a crafted message of size 6 thEPSS 1.0%CVE-2026-69824CRITICALMicrosoft Standard XPS Remote Code Execution VulnerabilityEPSS 1.0%CVE-2024-37974HIGHSecure Boot Security Feature Bypass VulnerabilityEPSS 1.0%CVE-2024-37986HIGHSecure Boot Security Feature Bypass VulnerabilityEPSS 1.0%CVE-2021-27486FATEK Automation WinProladder Versions 3.30 and prior is vulnerable to an integer underflow, which may cause an out-of-bounds write and alloEPSS 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-2025-2259MEDIUMEclipse ThreadX NetX Duo component HTTP server single PUT request integer underflowEPSS 0.9%CVE-2025-2258MEDIUMEclipse ThreadX NetX Duo HTTP server single PUT request integer underflowEPSS 0.9%CVE-2024-10838HIGHInteger Underflow in DDS_Security_Deserialize_ methods may lead to OOB readEPSS 0.9%CVE-2026-69276CRITICALMicrosoft UxTheme Library (uxtheme.dll) Remote Code Execution VulnerabilityEPSS 0.9%CVE-2021-3323HIGHInteger Underflow in 6LoWPAN IPHC Header Uncompression in ZephyrEPSS 0.9%