VYPR

CWE-681

Incorrect Conversion between Numeric Types

BaseDraftLikelihood: High

Description

When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.

Hierarchy (View 1000)

CVEs mapped to this weakness (137)

page 5 of 7
  • CVE-2019-19958MedDec 24, 2019
    risk 0.42cvss 6.5epss 0.01

    In libIEC61850 1.4.0, StringUtils_createStringFromBuffer in common/string_utilities.c has an integer signedness issue that could lead to an attempted excessive memory allocation and denial of service.

  • CVE-2015-3406HigNov 29, 2019
    risk 0.42cvss 7.5epss 0.02

    The PGP signature parsing in Module::Signature before 0.74 allows remote attackers to cause the unsigned portion of a SIGNATURE file to be treated as the signed portion via unspecified vectors.

  • CVE-2018-5251MedJan 5, 2018
    risk 0.42cvss 6.5epss 0.02

    In libming 0.4.8, there is an integer signedness error vulnerability (left shift of a negative value) in the readSBits function (util/read.c). Remote attackers can leverage this vulnerability to cause a denial of service via a crafted swf file.

  • CVE-2017-17446MedDec 6, 2017
    risk 0.42cvss 6.5epss 0.02

    The Mem_File_Reader::read_avail function in Data_Reader.cpp in the Game_Music_Emu library (aka game-music-emu) 0.6.1 does not ensure a non-negative size, which allows remote attackers to cause a denial of service (application crash) via a crafted file.

  • CVE-2017-12140MedAug 2, 2017
    risk 0.42cvss 6.5epss 0.02

    The ReadDCMImage function in coders\dcm.c in ImageMagick 7.0.6-1 has an integer signedness error leading to excessive memory consumption via a crafted DCM file.

  • CVE-2026-84970MedSep 3, 2026
    risk 0.40cvss 6.2epss 0.00

    A numeric truncation weakness exists in the JSON parsing component of the MongoDB C++ Driver's BSON library. An actor who controls the text that an embedding application hands to the library's public JSON parsing interface, when that text is very large, can cause the library to…

  • CVE-2021-32629HigMay 24, 2021
    risk 0.40cvss 7.2epss 0.00

    Cranelift is an open-source code generator maintained by Bytecode Alliance. It translates a target-independent intermediate representation into executable machine code. There is a bug in 0.73 of the Cranelift x64 backend that can create a scenario that could result in a…

  • CVE-2025-58063HigSep 9, 2025
    risk 0.39cvss 7.1epss 0.00

    CoreDNS is a DNS server that chains plugins. Starting in version 1.2.0 and prior to version 1.12.4, the CoreDNS etcd plugin contains a TTL confusion vulnerability where lease IDs are incorrectly used as TTL values, enabling DNS cache pinning attacks. This effectively creates a…

  • CVE-2021-37679HigAug 12, 2021
    risk 0.39cvss 7.1epss 0.00

    TensorFlow is an end-to-end open source platform for machine learning. In affected versions it is possible to nest a `tf.map_fn` within another `tf.map_fn` call. However, if the input tensor is a `RaggedTensor` and there is no function signature provided, code assumes the output…

  • CVE-2026-75145MedAug 19, 2026
    risk 0.38cvss 5.8epss 0.00

    FFmpeg before commit b4c199c contains an incorrect integer narrowing conversion in the AV1 RTP packetizer (libavformat/rtpenc_av1.c). The OBU size is cast to long before comparison against the remaining frame size. On targets where long is 32 bits, including 64-bit Windows,…

  • CVE-2018-5711MedJan 16, 2018
    risk 0.37cvss 5.5epss 0.13

    gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1, has an integer signedness error that leads to an infinite loop via a crafted GIF file, as demonstrated by a call to the…

  • CVE-2022-34680MedDec 30, 2022
    risk 0.36cvss 5.5epss 0.00

    NVIDIA GPU Display Driver for Linux contains a vulnerability in the kernel mode layer handler, where an integer truncation can lead to an out-of-bounds read, which may lead to denial of service.

  • CVE-2022-34677MedDec 30, 2022
    risk 0.36cvss 5.5epss 0.00

    NVIDIA GPU Display Driver for Linux contains a vulnerability in the kernel mode layer handler, where an unprivileged regular user can cause an integer to be truncated, which may lead to denial of service or data tampering.

  • CVE-2022-42324MedNov 1, 2022
    risk 0.36cvss 5.5epss 0.00

    Oxenstored 32->31 bit integer truncation issues Integers in Ocaml are 63 or 31 bits of signed precision. The Ocaml Xenbus library takes a C uint32_t out of the ring and casts it directly to an Ocaml integer. In 64-bit Ocaml builds this is fine, but in 32-bit builds, it truncates…

  • CVE-2020-28588MedMay 10, 2021
    risk 0.36cvss 5.5epss 0.01

    An information disclosure vulnerability exists in the /proc/pid/syscall functionality of Linux Kernel 5.1 Stable and 5.4.66. More specifically, this issue has been introduced in v5.1-rc4 (commit 631b7abacd02b88f4b0795c08b54ad4fc3e7c7c0) and is still present in v5.10-rc4, so…

  • CVE-2020-27194MedOct 16, 2020
    risk 0.36cvss 5.5epss 0.02

    An issue was discovered in the Linux kernel before 5.8.15. scalar32_min_max_or in kernel/bpf/verifier.c mishandles bounds tracking during use of 64-bit values, aka CID-5b9fbeb75b6a.

  • CVE-2019-1010204MedJul 23, 2019
    risk 0.36cvss 5.5epss 0.01

    GNU binutils gold gold v1.11-v1.16 (GNU binutils v2.21-v2.31.1) is affected by: Improper Input Validation, Signed/Unsigned Comparison, Out-of-bounds Read. The impact is: Denial of service. The component is: gold/fileread.cc:497, elfcpp/elfcpp_file.h:644. The attack vector is: An…

  • CVE-2026-53466MedJul 1, 2026
    risk 0.35cvss 6.5epss 0.00

    ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-51 and 7.1.2-26, an integer overflow in the XCF decoder can result in an out of bounds read when a crafted image is read, potentially resulting in a crash.…

  • CVE-2026-34945MedApr 9, 2026
    risk 0.35cvss 6.5epss 0.00

    Wasmtime is a runtime for WebAssembly. From 25.0.0 to before 36.0.7, 42.0.2, and 43.0.1, Wasmtime's Winch compiler contains a bug where a 64-bit table, part of the memory64 proposal of WebAssembly, incorrectly translated the table.size instruction. This bug could lead to…

  • CVE-2024-7747MedNov 28, 2024
    risk 0.35cvss 6.5epss 0.01

    The Wallet for WooCommerce plugin for WordPress is vulnerable to incorrect conversion between numeric types in all versions up to, and including, 1.5.6. This is due to a numerical logic flaw when transferring funds to another user. This makes it possible for authenticated…