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-2023-22308HIGHAn integer underflow vulnerability exists in the vpnserver OvsProcessData functionality of SoftEther VPN 5.01.9674 and 5.02. A specially craEPSS 0.8%CVE-2026-18355HIGH389-ds-base: 389-ds-base: heap buffer overflow via sasl wrapped-record length lower-bound underflow in sasl_io_start_packet()EPSS 0.8%CVE-2022-20516HIGHIn rw_t3t_act_handle_check_ndef_rsp of rw_t3t.cc, there is a possible out of bounds read due to an integer overflow. This could lead to remoEPSS 0.8%CVE-2026-97739HIGHMicrosoft Office Excel Remote Code Execution VulnerabilityEPSS 0.8%CVE-2026-83869CRITICALWindows Domain Name Service Remote Code Execution VulnerabilityEPSS 0.8%CVE-2025-49744HIGHWindows Graphics Component Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2026-88195MEDIUMMicrosoft Office Excel Information Disclosure VulnerabilityEPSS 0.8%CVE-2024-30008MEDIUMWindows DWM Core Library Information Disclosure VulnerabilityEPSS 0.8%CVE-2024-50597MEDIUMAn integer underflow vulnerability exists in the HTTP server PUT request functionality of STMicroelectronics X-CUBE-AZRTOS-WL 2.0.0. A speciEPSS 0.8%CVE-2024-50595MEDIUMAn integer underflow vulnerability exists in the HTTP server PUT request functionality of STMicroelectronics X-CUBE-AZRTOS-WL 2.0.0. A speciEPSS 0.8%CVE-2024-50596MEDIUMAn integer underflow vulnerability exists in the HTTP server PUT request functionality of STMicroelectronics X-CUBE-AZRTOS-WL 2.0.0. A speciEPSS 0.8%CVE-2024-50594MEDIUMAn integer underflow vulnerability exists in the HTTP server PUT request functionality of STMicroelectronics X-CUBE-AZRTOS-WL 2.0.0. A speciEPSS 0.8%CVE-2026-54345MEDIUMGoPacket's Diameter AVP decoder: uint32 underflow on vendor header size leads to unbounded ~4 GiB allocation (unauthenticated remote DoS)EPSS 0.8%CVE-2025-2523CRITICALLack of buffer clearing before reuse may result in incorrect system behavior.EPSS 0.8%CVE-2026-13308HIGHAutel MaxiCharger AC Elite Home WebSockets Integer Underflow Remote Code Execution VulnerabilityEPSS 0.8%CVE-2025-66217HIGHAIS-catcher Integer Underflow in MQTT Packet Parsing leading to Heap Buffer OverflowEPSS 0.8%CVE-2022-37301HIGHA CWE-191: Integer Underflow (Wrap or Wraparound) vulnerability exists that could cause a denial of service of the controller due to memory EPSS 0.8%CVE-2026-68827HIGHWindows GDI+ Elevation of Privilege VulnerabilityEPSS 0.8%CVE-2025-0728MEDIUMEclipse ThreadX NetX Duo HTTP server single PUT request integer underflowEPSS 0.8%CVE-2024-21309HIGHWindows Kernel-Mode Driver Elevation of Privilege VulnerabilityEPSS 0.8%