cve.bz

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

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. 7.5CVE-2023-46848EPSS 30%

    Squid is vulnerable to Denial of Service, where a remote attacker can perform DoS by sending ftp:// URLs in HTTP Request messages or constructing ftp:// URLs from FTP Native input.

  2. 8.8CVE-2023-5184zephyrproject zephyrEPSS 0.4%

    Two potential signed to unsigned conversion errors and buffer overflow vulnerabilities at the following locations in the Zephyr IPM drivers.

  3. 7.5CVE-2023-3635squareup okioEPSS 1.2%

    GzipSource does not handle an exception that might be raised when parsing a malformed gzip buffer. This may lead to denial of service of the Okio client when handling a crafted GZIP archive, by using the GzipSource class.

  4. 7.5CVE-2023-20006ciscoEPSS 1.0%

    A vulnerability in the hardware-based SSL/TLS cryptography functionality of Cisco Adaptive Security Appliance (ASA) Software and Cisco Firepower Threat Defense (FTD) Software for Cisco Firepower 2100 Series Appliances could allow an unauth…

  5. 7.8CVE-2023-29346microsoftEPSS 0.6%

    NTFS Elevation of Privilege Vulnerability

  6. 8.8CVE-2023-24884microsoftEPSS 1.7%

    Microsoft PostScript and PCL6 Class Printer Driver Remote Code Execution Vulnerability

  7. 7.1CVE-2023-0185nvidia virtual gpuEPSS 0.3%

    NVIDIA GPU Display Driver for Linux contains a vulnerability in the kernel mode layer, where sign conversion issuescasting an unsigned primitive to signed may lead to denial of service or information disclosure.

  8. 9.8CVE-2022-43663wellintech kinghistorianEPSS 1.0%

    An integer conversion vulnerability exists in the SORBAx64.dll RecvPacket functionality of WellinTech KingHistorian 35.01.00.05. A specially crafted network packet can lead to a buffer overflow. An attacker can send a malicious packet to t…

  9. 7.8CVE-2023-23401microsoftEPSS 0.9%

    Windows Media Remote Code Execution Vulnerability

  10. 8.8CVE-2023-23388microsoftEPSS 1.0%

    Windows Bluetooth Driver Elevation of Privilege Vulnerability

  11. 7.8CVE-2023-21736microsoftEPSS 0.9%

    Microsoft Office Visio Remote Code Execution Vulnerability