Fallos del tipo CWE-191

491 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-29909HIGHCryptoLib's Crypto_TC_ApplySecurity() Has a Heap Buffer Overflow VulnerabilityEPSS 1.1%CVE-2024-47545MEDIUMGHSL-2024-242: GStreamer has an integer underflow in FOURCC_strf parsing leading to OOB-readEPSS 1.1%CVE-2024-47546MEDIUMGHSL-2024-243: GStreamer has an integer underflow in extract_cc_from_data leading to OOB-readEPSS 1.1%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.1%CVE-2026-83578CRITICALMicrosoft PowerShell Remote Code Execution VulnerabilityEPSS 1.1%CVE-2026-100222CRITICALNetwork Policy Server (NPS) Remote Code Execution VulnerabilityEPSS 1.1%CVE-2023-35387HIGHWindows Bluetooth A2DP driver Elevation of Privilege VulnerabilityEPSS 1.1%CVE-2026-25075HIGHstrongSwan 4.5.0 < 6.0.5 EAP-TTLS AVP Parsing Integer UnderflowEPSS 1.1%CVE-2021-3472—A 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-5753MEDIUMPotential buffer overflow vulnerabilities in the Zephyr Bluetooth subsystemEPSS 1.0%CVE-2021-27486—FATEK 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-55627MEDIUMSuricata segfault on StreamingBufferSlideToOffsetWithRegionsEPSS 1.0%CVE-2024-37974HIGHSecure Boot Security Feature Bypass VulnerabilityEPSS 1.0%CVE-2024-37986HIGHSecure Boot Security Feature Bypass VulnerabilityEPSS 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-2025-2259MEDIUMEclipse ThreadX NetX Duo component HTTP server single PUT request integer underflowEPSS 1.0%CVE-2025-2258MEDIUMEclipse ThreadX NetX Duo HTTP server single PUT request integer underflowEPSS 1.0%CVE-2026-69824CRITICALMicrosoft Standard XPS Remote Code Execution VulnerabilityEPSS 1.0%