CyberSecBulletin

Integer Overflow or Wraparound

CWE-190

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.

We track 963 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 8.2. 22 have been exploited in real attacks.

How this weakness is prevented

  • 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. 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++).
  • 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 values.
  • 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. Also be careful to account for 32-bit, 64-bit, and other potential differences that may affect the numeric representation.

Latest Integer Overflow or Wraparound vulnerabilities

  • 7.5 High severity

    causefx/organizr: Uncontrolled Resource Consumption

    CVE-2022-1699CausefxEPSS 1.09%

    Uncontrolled Resource Consumption in GitHub repository causefx/organizr prior to 2.1.2000. This vulnerability can be abused by doing a DDoS attack for which genuine users will not able to access resources/applications.

  • 7.5 High severity

    BIG-IP: Integer Overflow or Wraparound

    CVE-2022-28705F5

    On F5 BIG-IP 16.1.x versions prior to 16.1.2.2, 15.1.x versions prior to 15.1.5.1, 14.1.x versions prior to 14.1.4.6, and 13.1.x versions prior to 13.1.5, on platforms with an ePVA and the pva.fwdaccel BigDB variable enabled, undisclosed requests to a virtual

  • 7.8 High severity

    MT6580, MT6735, MT6737, MT6739, MT6750…: Integer Overflow or Wraparound

    CVE-2022-21743MediaTek

    In ion, there is a possible use after free due to an integer overflow. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation. Patch ID: ALPS06371108; Issue ID: ALPS06371

  • 7.8 High severity

    Leadtools: Integer Overflow or Wraparound

    CVE-2022-21154Leadtools

    An integer overflow vulnerability exists in the fltSaveCMP functionality of Leadtools 22. A specially-crafted BMP file can lead to an integer overflow, that in turn causes a buffer overflow. An attacker can provide a malicious BMP file to trigger this vulnerab

  • 9.8 Critical severity

    vyper: Integer Overflow or Wraparound

    CVE-2022-24845VyperlangEPSS 1.43%

    Vyper is a pythonic Smart Contract Language for the ethereum virtual machine. In affected versions, the return of `<iface>.returns_int128()` is not validated to fall within the bounds of `int128`. This issue can result in a misinterpretation of the integer val

  • 7.5 High severity

    yajl-ruby: Heap-based Buffer Overflow

    CVE-2022-24795BrianmarioEPSS 3.44%

    yajl-ruby is a C binding to the YAJL JSON parsing and generation library. The 1.x branch and the 2.x branch of `yajl` contain an integer overflow which leads to subsequent heap memory corruption when dealing with large (~2GB) inputs. The reallocation logic at

  • 8.8 High severity

    Chrome: Integer Overflow or Wraparound

    CVE-2022-0608GoogleEPSS 1.11%

    Integer overflow in Mojo in Google Chrome prior to 98.0.4758.102 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.

  • 7.8 High severity

    Kernel: Integer Overflow or Wraparound

    CVE-2022-0998Kernel

    An integer overflow flaw was found in the Linux kernel’s virtio device driver code in the way a user triggers the vhost_vdpa_config_validate function. This flaw allows a local user to crash or potentially escalate their privileges on the system.

  • 9.8 Critical severity

    Bedrock Server: Integer Overflow or Wraparound

    CVE-2022-23884MinecraftEPSS 2.58%

    Mojang Bedrock Dedicated Server 1.18.2 is affected by an integer overflow leading to a bound check bypass caused by PurchaseReceiptPacket::_read (packet deserializer).

  • 7.5 High severity

    microweber/microweber: Integer Overflow or Wraparound

    CVE-2022-1036MicroweberEPSS 1.23%

    Able to create an account with long password leads to memory corruption / Integer Overflow in GitHub repository microweber/microweber prior to 1.2.12.

  • 9.8 Critical severity

    Apache HTTP Server: Out-of-bounds Write

    CVE-2022-23943ApacheEPSS 50.4%

    Out-of-bounds Write vulnerability in mod_sed of Apache HTTP Server allows an attacker to overwrite heap memory with possibly attacker provided data. This issue affects Apache HTTP Server 2.4 version 2.4.52 and prior versions.

  • 9.1 Critical severity

    Apache HTTP Server: Integer Overflow or Wraparound

    CVE-2022-22721ApacheEPSS 41.9%

    If LimitXMLRequestBody is set to allow request bodies larger than 350MB (defaults to 1M) on 32 bit systems an integer overflow happens which later causes out of bounds writes. This issue affects Apache HTTP Server 2.4.52 and earlier.

  • 8.8 High severity

    bluez: Integer Overflow or Wraparound

    CVE-2022-0204BlueZEPSS 1.79%

    A heap overflow vulnerability was found in bluez in versions prior to 5.63. An attacker with local network access could pass specially crafted files causing an application to halt or crash, leading to a denial of service.

  • 9.8 Critical severity

    Network Block Device: Integer Overflow or Wraparound

    CVE-2022-26495Network Block Device ProjectEPSS 2.86%

    In nbd-server in nbd before 3.24, there is an integer overflow with a resultant heap-based buffer overflow. A value of 0xffffffff in the name length field will cause a zero-sized buffer to be allocated for the name, resulting in a write to a dangling pointer.

  • 9.8 Critical severity

    cmark-gfm: Integer Overflow or Wraparound

    CVE-2022-24724GitHubEPSS 4.51%

    cmark-gfm is GitHub's extended version of the C reference implementation of CommonMark. Prior to versions 0.29.0.gfm.3 and 0.28.3.gfm.21, an integer overflow in cmark-gfm's table row parsing `table.c:row_from_string` may lead to heap memory corruption when par

  • 7.5 High severity

    Tl-wr840n Firmware: Integer Overflow or Wraparound

    CVE-2022-25062TP-LinkEPSS 3.5%

    TP-LINK TL-WR840N(ES)_V6.20_180709 was discovered to contain an integer overflow via the function dm_checkString. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted HTTP request.

  • 7.8 High severity

    Blender: Integer Overflow or Wraparound

    CVE-2022-0546BlenderEPSS 1.17%

    A missing bounds check in the image loader used in Blender 3.x and 2.93.8 leads to out-of-bounds heap access, allowing an attacker to cause denial of service, memory corruption or potentially code execution.

  • 7.8 High severity

    Blender: Integer Overflow or Wraparound

    CVE-2022-0545BlenderEPSS 1.16%

    An integer overflow in the processing of loaded 2D images leads to a write-what-where vulnerability and an out-of-bounds read vulnerability, allowing an attacker to leak sensitive information or achieve code execution in the context of the Blender process when

  • 8.8 High severity

    Fireware: Integer Overflow or Wraparound

    CVE-2022-25291WatchGuardEPSS 1.8%

    An integer overflow in WatchGuard Firebox and XTM appliances allows an authenticated remote attacker to trigger a heap-based buffer overflow and potentially execute arbitrary code by initiating a firmware update with a malicious upgrade image. This vulnerabili

  • 9.8 Critical severity

    Trend Micro ServerProtect for Storage: Integer Overflow or Wraparound

    CVE-2022-25330Trend MicroEPSS 5.2%

    Integer overflow conditions that exist in Trend Micro ServerProtect 6.0/5.8 Information Server could allow a remote attacker to crash the process or achieve remote code execution.

  • 8.8 High severity

    AC1750: Integer Overflow or Wraparound

    CVE-2022-24354TP-LinkEPSS 1.8%

    This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link AC1750 prior to 1.1.4 Build 20211022 rel.59103(5553) routers. Authentication is not required to exploit this vulnerability. The specific flaw ex

  • 8.4 High severity

    Linux Kernel Heap-Based Buffer Overflow Exploited

    CVE-2022-0185KernelEPSS 25.2%

    A heap-based buffer overflow flaw was found in the way the legacy_parse_param function in the Filesystem Context functionality of the Linux kernel verified the supplied parameters length. An unprivileged (in case of unprivileged user namespaces enabled, otherw

  • 7.5 High severity

    SwiftNIO HTTP2: Integer Overflow or Wraparound

    CVE-2022-24667Swift ProjectEPSS 1.12%

    A program using swift-nio-http2 is vulnerable to a denial of service attack, caused by a network peer sending a specially crafted HPACK-encoded header block. This attack affects all swift-nio-http2 versions from 1.0.0 to 1.19.1. There are a number of implement

  • 9.8 Critical severity

    Interactive Graphical SCADA System Data Server…: Integer Overflow or Wraparound

    A CWE-190: Integer Overflow or Wraparound vulnerability exists that could cause heap-based buffer overflow, leading to denial of service and potentially remote code execution when an attacker sends multiple specially crafted messages. Affected Product: Interac

  • 9.8 Critical severity

    tensorflow: Integer Overflow or Wraparound

    CVE-2022-23587TensorFlow

    Tensorflow is an Open Source Machine Learning Framework. Under certain scenarios, Grappler component of TensorFlow is vulnerable to an integer overflow during cost estimation for crop and resize. Since the cropping parameters are user controlled, a malicious p

  • 8.8 High severity

    tensorflow: Integer Overflow or Wraparound

    CVE-2022-23562TensorFlow

    Tensorflow is an Open Source Machine Learning Framework. The implementation of `Range` suffers from integer overflows. These can trigger undefined behavior or, in some scenarios, extremely large allocations. The fix will be included in TensorFlow 2.8.0. We wil

  • 8.8 High severity

    tensorflow: Integer Overflow or Wraparound

    CVE-2022-23559TensorFlowEPSS 1.18%

    Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would cause an integer overflow in embedding lookup operations. Both `embedding_size` and `lookup_size` are products of values provided by the user. Hence, a mal

  • 8.8 High severity

    tensorflow: Integer Overflow or Wraparound

    CVE-2022-23558TensorFlow

    Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would cause an integer overflow in `TfLiteIntArrayCreate`. The `TfLiteIntArrayGetSizeInBytes` returns an `int` instead of a `size_t. An attacker can control mode

  • 8.8 High severity

    Tensorflow: Integer Overflow or Wraparound

    CVE-2022-21727Google

    Tensorflow is an Open Source Machine Learning Framework. The implementation of shape inference for `Dequantize` is vulnerable to an integer overflow weakness. The `axis` argument can be `-1` (the default value for the optional argument) or any other positive v

  • 7.5 High severity

    Rlc-410w Firmware: Integer Overflow or Wraparound

    CVE-2022-21801ReolinkEPSS 1.09%

    A denial of service vulnerability exists in the netserver recv_command functionality of reolink RLC-410W v3.0.0.136_20121102. A specially-crafted network request can lead to a reboot. An attacker can send a malicious packet to trigger this vulnerability.

  • 8.6 High severity

    pipenv: Integer Overflow or Wraparound

    CVE-2022-21668PypaEPSS 3.93%

    pipenv is a Python development workflow tool. Starting with version 2018.10.9 and prior to version 2022.1.8, a flaw in pipenv's parsing of requirements files allows an attacker to insert a specially crafted string inside a comment anywhere within a requirement

  • 7.8 High severity

    MT6580, MT6739, MT6750, MT6750S, MT6753…: Integer Overflow or Wraparound

    CVE-2022-20012MediaTek

    In mdp driver, there is a possible memory corruption due to an integer overflow. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation. Patch ID: ALPS05836478; Issue ID:

  • 8.8 High severity

    Apple Multiple Products WebKit Integer Overflow Exploited

    CVE-2021-30663AppleEPSS 3.52%

    An integer overflow was addressed with improved input validation. This issue is fixed in iOS 14.5.1 and iPadOS 14.5.1, tvOS 14.6, iOS 12.5.3, Safari 14.1.1, macOS Big Sur 11.3.1. Processing maliciously crafted web content may lead to arbitrary code execution.

  • 7.8 High severity

    Apple Multiple Products Integer Overflow or Wraparound Exploited

    CVE-2021-30952AppleEPSS 6.96%

    An integer overflow was addressed with improved input validation. This issue is fixed in tvOS 15.2, macOS Monterey 12.1, Safari 15.2, iOS 15.2 and iPadOS 15.2, watchOS 8.3. Processing maliciously crafted web content may lead to arbitrary code execution.

  • 7.8 High severity

    Apple Multiple Products Integer Overflow Exploited

    CVE-2021-30860AppleEPSS 76%

    An integer overflow was addressed with improved input validation. This issue is fixed in Security Update 2021-005 Catalina, iOS 14.8 and iPadOS 14.8, macOS Big Sur 11.6, watchOS 7.6.2. Processing a maliciously crafted PDF may lead to arbitrary code execution.

  • 8.8 High severity

    Google Chromium V8 Integer Overflow Exploited

    CVE-2018-6065GoogleEPSS 60.3%

    Integer overflow in computing the required allocation size when instantiating a new javascript object in V8 in Google Chrome prior to 65.0.3325.146 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.

  • 7.8 High severity

    Linux Kernel Integer Overflow Exploited

    CVE-2018-14634Linux FoundationEPSS 14.7%

    An integer overflow flaw was found in the Linux kernel's create_elf_tables() function. An unprivileged local user with access to SUID (or otherwise privileged) binary could use this flaw to escalate their privileges on the system. Kernel versions 2.6.x, 3.10.x

  • 8.8 High severity

    Adobe Flash Player and AIR Integer Overflow Exploited

    CVE-2016-1010AdobeEPSS 19.3%

    Integer overflow in Adobe Flash Player before 18.0.0.333 and 19.x through 21.x before 21.0.0.182 on Windows and OS X and before 11.2.202.577 on Linux, Adobe AIR before 21.0.0.176, Adobe AIR SDK before 21.0.0.176, and Adobe AIR SDK & Compiler before 21.0.0.176

  • 8.8 High severity

    Adobe Flash Player Integer Overflow Exploited

    CVE-2015-8651AdobeEPSS 67.7%

    Integer overflow in Adobe Flash Player before 18.0.0.324 and 19.x and 20.x before 20.0.0.267 on Windows and OS X and before 11.2.202.559 on Linux, Adobe AIR before 20.0.0.233, Adobe AIR SDK before 20.0.0.233, and Adobe AIR SDK & Compiler before 20.0.0.233 allo

  • 9.8 Critical severity

    Adobe Reader and Acrobat Arbitrary Integer Overflow Exploited

    CVE-2013-2729AdobeEPSS 66.6%

    Integer overflow in Adobe Reader and Acrobat 9.x before 9.5.5, 10.x before 10.1.7, and 11.x before 11.0.03 allows attackers to execute arbitrary code via unspecified vectors, a different vulnerability than CVE-2013-2727.