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-45698 Netatalk has Integer Underflow → Stack Buffer Overflow in deletedir() — netatalk 7.5 High 2026-08-17
CVE-2026-45699 Netatalk has Integer Underflow → Stack Buffer Overflow in copydir() — netatalk 7.5 High 2026-08-14
CVE-2026-16241 PostgreSQL ECPG integer underflow can crash the client — PostgreSQL 3.8 Low 2026-08-13
CVE-2026-18728 Open-iscsi: open-iscsi: integer underflow in iscsiuio ipv4 dhcp parsing — Red Hat Enterprise Linux 10 6.5 Medium 2026-08-13
CVE-2026-18727 Open-iscsi: open-iscsi: integer underflow in iscsiuio dhcpv6 parsing — Red Hat Enterprise Linux 10 6.5 Medium 2026-08-12
CVE-2026-73433 Gstreamer1-plugins-good: gstreamer: unsigned integer underflow in avidemux fujifilm strd parsing leading to out-of-bounds read/write — gst-plugins-good 6.6 Medium 2026-08-12
CVE-2026-18687 Improper Validation in MongoDB Queryable Encryption Maintenance Operation Leads to Denial of Service and Index Corruption — MongoDB Server 7.1 High 2026-08-11
CVE-2026-64909 Microsoft Office Remote Code Execution Vulnerability — Microsoft 365 Apps for Enterprise 7.8 High 2026-08-11
CVE-2026-62814 Windows DHCP Server Information Disclosure Vulnerability — Windows Server 2012 6.5 Medium 2026-08-11
CVE-2026-62741 Windows HTTP.sys Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.8 High 2026-08-11
CVE-2026-62720 Windows DHCP Server Information Disclosure Vulnerability — Windows Server 2012 6.5 Medium 2026-08-11
CVE-2026-62714 Windows DHCP Server Information Disclosure Vulnerability — Windows Server 2012 6.5 Medium 2026-08-11
CVE-2026-62742 Windows DHCP Server Information Disclosure Vulnerability — Windows Server 2012 6.5 Medium 2026-08-11
CVE-2026-62745 Windows DHCP Server Information Disclosure Vulnerability — Windows Server 2012 6.5 Medium 2026-08-11
CVE-2026-62716 Windows DHCP Server Information Disclosure Vulnerability — Windows Server 2012 6.5 Medium 2026-08-11
CVE-2026-62718 Windows DHCP Server Information Disclosure Vulnerability — Windows Server 2012 6.5 Medium 2026-08-11
CVE-2026-62715 Windows DHCP Server Information Disclosure Vulnerability — Windows Server 2012 R2 6.5 Medium 2026-08-11
CVE-2026-62696 Windows Program Compatibility Assistant Service Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.8 High 2026-08-11
CVE-2026-48435 CAI Content Credentials | Integer Underflow (Wrap or Wraparound) (CWE-191) — Content Credentials Rust SDK 6.2 Medium 2026-08-11
CVE-2026-71389 CAI Content Credentials | Integer Underflow (Wrap or Wraparound) (CWE-191) — Content Credentials Rust SDK 6.2 Medium 2026-08-11
CVE-2026-59090 Gimp: gimp: arbitrary code execution in psd plugin due to unsigned underflow 8.4 High 2026-08-10
CVE-2026-70633 TimescaleDB 2.29.1 Out-of-Bounds Read DoS via Gorilla Compression Reverse Iterator — timescaledb 6.5 Medium 2026-08-06
CVE-2026-43628 llama.cpp b3978–b9058 Integer Underflow via DRY Sampler — llama.cpp 7.8 High 2026-08-06
CVE-2026-18839 Popt-devel: popt-static: size_t underflow in singleoptionhelp — popt 2.2 Low 2026-08-05
CVE-2026-71202 raster - Integer Underflow in crop() Offset Handling Causes Capacity-Overflow Panic — raster 7.5 High 2026-08-05
CVE-2026-24077 Integer Underflow (Wrap or Wraparound) in WLAN Host — Snapdragon 6.5 Medium 2026-08-04
CVE-2026-67298 FreeRDP 3.28.0 Heap Buffer Overflow via RAIL orderLength Underflow — FreeRDP 7.5 High 2026-08-01
CVE-2026-63362 o6 Automation open62541 Integer Underflow — open62541 5.9 Medium 2026-07-30
CVE-2026-13308 Autel MaxiCharger AC Elite Home WebSockets Integer Underflow Remote Code Execution Vulnerability — MaxiCharger AC Elite Home - - 2026-07-29
CVE-2026-54345 GoPacket's Diameter AVP decoder: uint32 underflow on vendor header size leads to unbounded ~4 GiB allocation (unauthenticated remote DoS) — gopacket 6.9 Medium 2026-07-28

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