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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-190 (整数溢出或超界折返) — Vulnerability Class 1198

1198 vulnerabilities classified as CWE-190 (整数溢出或超界折返). AI Chinese analysis included.

CWE-190 represents a critical logic flaw where arithmetic operations exceed the maximum capacity of the assigned integer data type, causing the value to wrap around to a negative number or zero. Attackers typically exploit this vulnerability by manipulating input values to trigger the overflow, thereby bypassing security checks that assume the resulting number remains positive or within expected bounds. This often leads to severe consequences such as buffer overflows, memory corruption, or unauthorized access. To prevent such issues, developers must implement rigorous input validation and use safe arithmetic libraries that detect potential overflows before execution. Additionally, employing static analysis tools and adhering to secure coding standards ensures that integer calculations are handled with appropriate bounds checking, effectively mitigating the risk of wraparound errors in production environments.

MITRE CWE Description
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Common Consequences (5)
Availability DoS: Crash, Exit, or Restart, DoS: Resource Consumption (Memory), DoS: Instability
This weakness can generally lead to undefined behavior and therefore crashes. When the calculated result is used for resource allocation, this weakness can cause too many (or too few) resources to be allocated, possibly enabling crashes if the product requests more resources than can be provided.
Integrity Modify Memory
If the value in question is important to data (as opposed to flow), simple data corruption has occurred. Also, if the overflow/wraparound 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 the product's implicit security policy.
Availability, Other Alter Execution Logic, DoS: Crash, Exit, or Restart, DoS: Resource Consumption (CPU)
If the overflow/wraparound occurs in a loop index variable, this could cause the loop to terminate at the wrong time - too early, too late, or not at all (i.e., infinite loops). With too many iterations, some loops could consume too many resources such as memory, file handles, etc., possibly leading…
Access Control Bypass Protection Mechanism
If integer values are used in security-critical decisions, such as calculating quotas or allocation limits, integer overflows can be used to cause an incorrect security decision.
Mitigations (5)
Requirements Ensure that all protocols are strictly defined, such that all out-of-bounds behavior can be identified simply, and require strict conformance to the protocol.
Requirements Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. If possible, choose a language or compiler that performs automatic bounds checking.
Architecture and Design Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid [REF-1482]. Use libraries or frameworks that make it easier to handle numbers without unexpected consequences. Examples include safe integer handling packages such as SafeInt (C++) or IntegerLib (C or C++). [REF-106]
Implementation Perform input validation on any numeric input by ensuring that it is within the expected range. Enforce that the input meets both the minimum and maximum requirements for the expected range. Use unsigned integers where possible. This makes it easier to perform validation for integer overflows. When signed integers are required, ensure that the range check includes minimum values as well as maximum…
Implementation Understand the programming language's underlying representation and how it interacts with numeric calculation (CWE-681). Pay close attention to byte size discrepancies, precision, signed/unsigned distinctions, truncation, conversion and casting between types, "not-a-number" calculations, and how the language handles numbers that are too large or too small for its underlying representation. [REF-7]…
Examples (2)
The following image processing code allocates a table for images.
img_t table_ptr; /*struct containing img data, 10kB each*/ int num_imgs; ... num_imgs = get_num_imgs(); table_ptr = (img_t*)malloc(sizeof(img_t)*num_imgs); ...
Bad · C
The following code excerpt from OpenSSH 3.3 demonstrates a classic case of integer overflow:
nresp = packet_get_int(); if (nresp > 0) { response = xmalloc(nresp*sizeof(char*)); for (i = 0; i < nresp; i++) response[i] = packet_get_string(NULL); }
Bad · C
CVE ID Title CVSS Severity Published
CVE-2026-40531 Synology DSM文件操作整数溢出DoS漏洞 — DiskStation Manager (DSM) 4.3 Medium 2026-09-18
CVE-2026-93314 Freedesktop Poppler FoFiTrueType.cc mapCodeToGID integer overflow — Poppler 6.3 Medium 2026-09-18
CVE-2026-93313 Freedesktop Poppler JBIG2Stream.cc readCodeTableSeg integer overflow — Poppler 6.3 Medium 2026-09-18
CVE-2026-93311 Freedesktop Poppler SampledFunction Function.cc integer overflow — Poppler 4.3 Medium 2026-09-18
CVE-2026-54571 ESPAsyncWebServer: Integer overflow in multipart boundary parser causes denial of service — ESPAsyncWebServer 8.7 High 2026-09-17
CVE-2026-25290 Integer Overflow or Wraparound in OOBM — Snapdragon 7.8 High 2026-09-17
CVE-2026-63126 Wire: Unauthenticated decoder crash via 32-bit length integer overflow in ByteArrayProtoReader32 (incomplete fix of CVE-2026-45799) — wire 7.5 High 2026-09-16
CVE-2026-77408 RabbitMQ amqp091-go: Silent Data Truncation and State Corruption via Shortstr Integer Overflow — amqp091-go 9.1 Critical 2026-09-16
CVE-2026-92248 Gimp: integer overflow when generating a thumbnail preview for a psd file — GIMP 7.8 High 2026-09-15
CVE-2026-92259 Samsung Escargot特定版本整数溢出致堆溢出 — Escargot 5.5 Medium 2026-09-15
CVE-2026-91746 Google Chrome 数字错误漏洞 — Chrome - - 2026-09-15
CVE-2026-91728 Google Chrome 数字错误漏洞 — Chrome - - 2026-09-15
CVE-2026-91960 FreeRDP before 3.31.0 Integer Overflow Double Free — FreeRDP 6.5 Medium 2026-09-15
CVE-2026-90715 marcobambini Gravity udp json-parser gravity_json.c integer overflow — Gravity 7.3 High 2026-09-14
CVE-2023-24288 Simon Tatham Portable Puzzle Collection 数字错误漏洞 — Portable Puzzle Collection 2.9 Low 2026-09-14
CVE-2026-90596 embedded-graphics image_raw.rs new/bytes_per_row integer overflow — embedded-graphics 6.5 Medium 2026-09-13
CVE-2026-90593 embedded-graphics image_raw.rs draw_sub_image integer overflow — embedded-graphics 7.3 High 2026-09-13
CVE-2026-90473 msgpack-java through 0.9.12 Integer Overflow via MAP32 — msgpack-java 5.3 Medium 2026-09-12
CVE-2026-54240 libde265: Pixel accessor signed integer overflow causes heap OOB read/write — libde265 7.4 High 2026-09-11
CVE-2026-87020 Orthanc DICOM Server Integer Overflow or Wraparound — DICOM Server 8.1 High 2026-09-11
CVE-2026-89146 libp2p-rendezvous through 0.17.1 Denial of Service via Unbounded Registration TTL in Discovery Responses — libp2p-rendezvous 7.5 High 2026-09-11
CVE-2026-89158 PCRE2 数字错误漏洞 — PCRE2 6.5 Medium 2026-09-11
CVE-2026-89157 PCRE2 数字错误漏洞 — PCRE2 5.7 Medium 2026-09-11
CVE-2026-88914 Gstreamer1-plugins-good: gstreamer: integer overflow and out-of-bounds read in qtdemux cea-608 closed-caption parser — Red Hat Enterprise Linux 10 4.4 Medium 2026-09-11
CVE-2026-16174 Netskope Endpoint DLP Driver Integer Overflow Leading to Kernel Pool Overflow — Endpoint DLP 8.7 High 2026-09-10
CVE-2026-88035 Heap buffer overflow via wrapped size check during SASL username canonicalization in MongoDB C Driver — C Driver 4.7 Medium 2026-09-10
CVE-2026-85228 Integer overflow in tensor buffer validation in Deep Java Library — Deep Java Library 9.1 Critical 2026-09-10
CVE-2026-88015 rclone local: crafted Range request against a translated symlink panics (DoS) — rclone 5.3 Medium 2026-09-10
CVE-2026-87823 zstd-jni 1.1.1 through 1.5.7-13 Out-of-Bounds Read via Direct ByteBuffer Frame-Size Methods — zstd-jni 8.2 High 2026-09-09
CVE-2026-56711 VLC media player 3.0.0 through 3.0.23 memory corruption vulnerability — VLC media player 7.0 High 2026-09-09

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