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-2026-19318CRITICALFireware OS Pre-Authentication Stack Buffer Overflow in iked Allows Remote Code ExecutionEPSS 0.5%CVE-2026-62720MEDIUMWindows DHCP Server Information Disclosure VulnerabilityEPSS 0.5%CVE-2026-62716MEDIUMWindows DHCP Server Information Disclosure VulnerabilityEPSS 0.5%CVE-2026-62714MEDIUMWindows DHCP Server Information Disclosure VulnerabilityEPSS 0.5%CVE-2026-50388HIGHWindows NTFS Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-55039HIGHMicrosoft Excel Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-50308HIGHWindows NTFS Remote Code Execution VulnerabilityEPSS 0.5%CVE-2026-33184HIGHnimiq/core-rs-albatross: Discovery handshake limit could underflow and later provoke a deterministic overflow panicEPSS 0.5%CVE-2025-64076HIGHMultiple vulnerabilities exist in cbor2 through version 5.7.0 in the decode_definite_long_string() function of the C extension decoder (sourEPSS 0.5%CVE-2025-62495HIGHType confusion in string addition in QuickJSEPSS 0.5%CVE-2026-7736MEDIUMosrg GoBGP mrt.go parseRibEntry integer underflowEPSS 0.5%CVE-2024-56375HIGHAn integer underflow was discovered in Fort 1.6.3 and 1.6.4 before 1.6.5. A malicious RPKI repository that descends from a (trusted) Trust AEPSS 0.4%CVE-2026-44251MEDIUMWazuh : size_t underflow in msgs.c ReadSecMSG causes wazuh-remoted DoS and potential heap overflow via crafted agent messageEPSS 0.4%CVE-2024-6258MEDIUMBT: Missing length checks of net_buf in rfcomm_handle_dataEPSS 0.4%CVE-2024-52985HIGHAnimate | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.4%CVE-2024-52986HIGHAnimate | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.4%CVE-2024-52987HIGHAnimate | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.4%CVE-2024-52984HIGHAnimate | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.4%CVE-2024-52989HIGHAnimate | Integer Underflow (Wrap or Wraparound) (CWE-191)EPSS 0.4%CVE-2026-33899MEDIUMImageMagick: Heap BufferOverflow write of single zero byte when parsing XMLEPSS 0.4%