cve.bz

CWE-681: Incorrect Conversion between Numeric Types, published in 2024

Filter

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.

What the weakness is: CWE-681 at MITRE. All weaknesses

Ask an AI about CWE-681

Show the promptExplain CWE-681: Incorrect Conversion between Numeric Types and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/681.html and https://cve.bz/cve/cwe/681?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 8.8CVE-2024-49093microsoftEPSS 0.6%

    Windows Resilient File System (ReFS) Elevation of Privilege Vulnerability

  2. 6.5CVE-2024-7747standalonetech terawalletEPSS 0.8%

    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 ma…

  3. 7.2CVE-2024-38044microsoftEPSS 1.9%

    DHCP Server Service Remote Code Execution Vulnerability

  4. 5.3CVE-2024-32481vyperlang vyperEPSS 0.9%

    Vyper is a pythonic Smart Contract Language for the Ethereum virtual machine. Starting in version 0.3.8 and prior to version 0.4.0b1, when looping over a `range` of the form `range(start, start + N)`, if `start` is negative, the execution …

  5. 8.8CVE-2024-26162microsoftEPSS 1.8%

    Microsoft ODBC Driver Remote Code Execution Vulnerability

  6. 7.5CVE-2024-1552EPSS 0.9%

    Incorrect code generation could have led to unexpected numeric conversions and potential undefined behavior.*Note:* This issue only affects 32-bit ARM devices. This vulnerability affects Firefox < 123, Firefox ESR < 115.8, and Thunderbird …

  7. 4.4CVE-2023-28063dellEPSS 0.2%

    Dell BIOS contains a Signed to Unsigned Conversion Error vulnerability. A local authenticated malicious user with admin privileges could potentially exploit this vulnerability, leading to denial of service.