Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CWE-191 (整数下溢(超界折返)) — Vulnerability Class 307

307 vulnerabilities classified as CWE-191 (整数下溢(超界折返)). AI Chinese analysis included.

CWE-191, Integer Underflow, is a software weakness occurring when a subtraction operation yields a result smaller than the minimum representable integer value, causing an unintended wraparound. This flaw typically arises in both signed and unsigned integer contexts, leading to incorrect calculations that can compromise program logic. Attackers often exploit this vulnerability to manipulate memory allocation sizes or loop counters, potentially triggering buffer overflows or denial-of-service conditions by forcing the system to allocate insufficient resources or enter infinite loops. To mitigate this risk, developers must implement rigorous input validation to ensure operands remain within safe bounds before arithmetic operations. Additionally, using language features that provide automatic bounds checking or employing larger integer types for intermediate calculations can prevent underflow. Regular static analysis and thorough testing are essential to identify and rectify these subtle arithmetic errors before deployment.

MITRE CWE Description
The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result. This can happen in signed and unsigned cases.
Common Consequences (3)
Availability DoS: Crash, Exit, or Restart, DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), DoS: Instability
This weakness will generally lead to undefined behavior and therefore crashes. In the case of overflows involving loop index variables, the likelihood of infinite loops is also high.
Integrity Modify Memory
If the value in question is important to data (as opposed to flow), simple data corruption has occurred. Also, if the wrap around results in other conditions such as buffer overflows, further memory corruption may occur.
Confidentiality, Availability, Access Control Execute Unauthorized Code or Commands, Bypass Protection Mechanism
This weakness can sometimes trigger buffer overflows which can be used to execute arbitrary code. This is usually outside the scope of a program's implicit security policy.
Examples (2)
The following example subtracts from a 32 bit signed integer.
#include <stdio.h> #include <stdbool.h> main (void) { int i; i = -2147483648; i = i - 1; return 0; }
Bad · C
This code performs a stack allocation based on a length calculation.
int a = 5, b = 6; size_t len = a - b; char buf[len];    // Just blows up the stack }
Bad · C
CVE ID Title CVSS Severity Published
CVE-2026-54890 BEAM VM crash via integer underflow in binary_to_term BIT_BINARY_EXT decoding — OTP 8.2 High 2026-07-27
CVE-2026-66033 libssh2 Integer Underflow DoS via AES-GCM Cipher Negotiation — libssh2 7.5 High 2026-07-24
CVE-2026-48296 CAI Content Credentials | Integer Underflow (Wrap or Wraparound) (CWE-191) — Content Credentials Rust SDK 6.2 Medium 2026-07-14
CVE-2026-48298 CAI Content Credentials | Integer Underflow (Wrap or Wraparound) (CWE-191) — Content Credentials Rust SDK 6.2 Medium 2026-07-14
CVE-2026-55039 Microsoft Excel Remote Code Execution Vulnerability — Microsoft 365 Apps for Enterprise 7.8 High 2026-07-14
CVE-2026-50300 Windows DWM Core Library Information Disclosure Vulnerability — Windows 10 Version 1607 5.5 Medium 2026-07-14
CVE-2026-50308 Windows NTFS Remote Code Execution Vulnerability — Windows 10 Version 1607 7.8 High 2026-07-14
CVE-2026-49790 Windows Universal Disk Format File System Driver (UDFS) Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.3 High 2026-07-14
CVE-2026-49181 Windows DHCP Client Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.5 High 2026-07-14
CVE-2026-55011 Microsoft Defender Remote Code Execution Vulnerability — Microsoft Malware Protection Engine 7.8 High 2026-07-14
CVE-2026-54982 Windows Reliable Multicast Transport Driver (RMCAST) Remote Code Execution Vulnerability — Windows 10 Version 1607 8.8 High 2026-07-14
CVE-2026-29008 U-Boot 2026.04-rc3 Integer Underflow DoS via tcp_rx_state_machine() — u-boot 7.5 High 2026-07-08
CVE-2026-55490 OpenWrt: EAD Integer Underflow → Pre-Auth Denial of Service — openwrt 6.5 Medium 2026-07-07
CVE-2026-58016 Glib: integer underflow in gio/gdbusintrospection.c via "g_dbus_node_info_new_for_xml" — GLib 7.5 High 2026-06-30
CVE-2026-58058 Nmap - Integer Underflow in IPv6 Extension Header Parsing — Nmap 6.5 Medium 2026-06-28
CVE-2026-57918 Ronnie Sahlberg libnfs 数字错误漏洞 — libnfs 7.1 High 2026-06-26
CVE-2026-6678 Integer underflow in wc_PKCS7_DecryptOri handling crafted Other Recipient Info — wolfSSL - - 2026-06-25
CVE-2026-30803 Integer Underflow (Wrap or Wraparound) vulnerability in RTI Connext Micro (Core Libraries) allows Overread Buffers. — Connext Micro - - 2026-06-17
CVE-2026-54413 iso14229 Integer Underflow and Out-of-Bounds Read in Handle_0x27_SecurityAccess() — iso14229 8.2 High 2026-06-14
CVE-2026-11850 Krb5: krb5: integer underflow in berval2tl_data() leads to heap out-of-bounds read — Red Hat Hardened Images 5.0 Medium 2026-06-11
CVE-2026-42542 TDengine has an integer underflow in uvConnMayGetUserInfo() allows unauthenticated remote crash (DoS) — TDengine 7.5 High 2026-06-10
CVE-2026-42981 Windows Performance Monitor Remote Code Execution Vulnerability — Windows 11 version 23H2 8.1 High 2026-06-09
CVE-2026-42980 NT OS Kernel Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.8 High 2026-06-09
CVE-2026-45463 Microsoft Office Remote Code Execution Vulnerability — Microsoft 365 Apps for Enterprise 8.4 High 2026-06-09
CVE-2026-45469 Microsoft Excel Remote Code Execution Vulnerability — Microsoft 365 Apps for Enterprise 7.8 High 2026-06-09
CVE-2026-11789 389-ds-base: 389-ds-base: smd5 password storage plugin salt length integer underflow crash — Red Hat Directory Server 11 4.9 Medium 2026-06-09
CVE-2026-49494 Xcitium Client Security / Comodo Internet Security Remote Denial of Service — Comodo Internet Security 7.5 High 2026-06-07
CVE-2026-50593 Graphite-Web 数字错误漏洞 — Graphite 7.3 High 2026-06-05
CVE-2026-25104 MediaInfoLib 安全漏洞 — MediaInfoLib 7.8 High 2026-05-26
CVE-2026-44069 Integer underflow in volxlate — Netatalk 3.4 Low 2026-05-21

Vulnerabilities classified as CWE-191 (整数下溢(超界折返)) represent 307 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.