CWE-681: Incorrect Conversion between Numeric Types

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.

98 published CVE records name this weakness. Abstraction: Base. Status: Draft. CWE-681 at MITRE

CVETitleCVSSEPSSPublished
CVE-2026-34550 iccDEV: UB at IccIO.cpp 6.2 medium 0.19% 31 Mar 2026
CVE-2026-34548 iccDEV: UB at IccUtilXml.cpp 6.2 medium 0.19% 31 Mar 2026
CVE-2026-4602 n/a jsrsasign: Incorrect Conversion between Numeric Types 8.7 high 0.54% 23 Mar 2026
CVE-2026-27691 iccDEV has SIO in parse3DTable() at iccFromCube.cpp Line 218 6.2 medium 0.19% 25 Feb 2026
CVE-2026-25989 ImageMagick has integer overflow or wraparound and incorrect conversion between numeric types in the internal SVG decoder 7.5 high 0.65% 24 Feb 2026
CVE-2026-24856 iccDEV has UB runtime error in <icTagTypeSignature> 7.8 high 0.25% 28 Jan 2026
CVE-2025-71002 A floating-point exception (FPE) in the flow.column_stack component of OneFlow v0.9.0 allows attackers to cause a Denial of Service… 6.5 medium 0.32% 28 Jan 2026
CVE-2026-21693 iccDEV has Type Confusion in CIccSegmentedCurveXml::ToXml() at IccXML/IccLibXML/IccMpeXml.cpp 8.8 high 0.37% 7 Jan 2026
CVE-2026-21688 iccDEV has Type Confusion in SIccCalcOp::ArgsPushed() at IccProfLib/IccMpeCalc.cpp 8.8 high 0.37% 7 Jan 2026
CVE-2026-21673 iccDEV has Integer Overflow/Underflow in CIccXmlArrayType::ParseTextCountNum() 7.8 high 0.20% 6 Jan 2026
CVE-2025-10543 Eclipse Foundation paho.mqtt.golang (Go MQTT v3.1 library): Incorrect Conversion between Numeric Types 6.3 medium 0.24% 2 Dec 2025
CVE-2025-58063 CoreDNS: DNS Cache Pinning via etcd Lease ID Confusion 7.1 high 0.51% 9 Sep 2025
CVE-2025-53733 Microsoft Word Remote Code Execution Vulnerability 8.4 high 0.58% 12 Aug 2025
CVE-2025-24059 Windows Common Log File System Driver Elevation of Privilege Vulnerability 7.8 high 0.54% 11 Mar 2025
CVE-2024-49093 Windows Resilient File System (ReFS) Elevation of Privilege Vulnerability 8.8 high 0.94% 10 Dec 2024
CVE-2024-7747 Wallet for WooCommerce <= 1.5.6 - Authenticated (Subscriber+) Incorrect Conversion between Numeric Types 6.5 medium 0.50% 28 Nov 2024
CVE-2022-40225 Siemens SIPLUS TIM 1531 IRC: Incorrect Conversion between Numeric Types 6.9 medium 0.62% 11 Jun 2024
CVE-2024-32481 vyper's range(start, start + N) reverts for negative numbers 5.3 medium 0.79% 25 Apr 2024
CVE-2024-26162 Microsoft ODBC Driver Remote Code Execution Vulnerability 8.8 high 2.02% 12 Mar 2024
CVE-2024-1552 Mozilla Firefox: Incorrect Conversion between Numeric Types 7.5 high 0.67% 20 Feb 2024
CVE-2023-46848 Squid: denial of service in ftp 8.6 high 11.3% 3 Nov 2023
CVE-2023-20006 Cisco Adaptive Security Appliance (ASA) Software: Incorrect Conversion between Numeric Types 8.6 high 0.93% 28 Jun 2023
CVE-2023-29346 NTFS Elevation of Privilege Vulnerability 7.8 high 0.49% 13 Jun 2023
CVE-2023-24884 Microsoft PostScript and PCL6 Class Printer Driver Remote Code Execution Vulnerability 8.8 high 1.64% 11 Apr 2023
CVE-2023-23401 Windows Media Remote Code Execution Vulnerability 7.8 high 0.60% 14 Mar 2023
CVE-2023-23388 Windows Bluetooth Driver Elevation of Privilege Vulnerability 8.8 high 1.57% 14 Mar 2023
CVE-2023-21736 Microsoft Office Visio Remote Code Execution Vulnerability 7.8 high 0.76% 10 Jan 2023
CVE-2022-40138 Facebook Hermes: Incorrect Conversion between Numeric Types – 1.21% 11 Oct 2022
CVE-2022-36025 Incorrect Conversion between Numeric Types in Besu Ethereum Client 9.1 critical 1.08% 24 Sep 2022
CVE-2022-34169 Apache Xalan Java XSLT library is vulnerable to an integer truncation issue when processing malicious XSLT stylesheets 7.5 high 81.7% 19 Jul 2022
CVE-2021-27478 EIPStackGroup OpENer Ethernet/IP Incorrect Conversion between Numeric Types 8.2 high 1.12% 12 May 2022
CVE-2022-27189 F5 BIG-IP: Incorrect Conversion between Numeric Types 7.5 high 0.93% 5 May 2022
CVE-2022-0322 n/a kernel: Incorrect Conversion between Numeric Types – 0.30% 25 Mar 2022
CVE-2021-32996 FANUC R-30iA, R-30iA Mate: Integer Coercion Error 7.5 high 1.13% 7 Jan 2022
CVE-2021-41272 SHL, SHR, and SAR operations trigger native exception at key values in besu 7.5 high 1.46% 13 Dec 2021
CVE-2021-41202 Overflow/crash in `tf.range` 5.5 medium 0.21% 5 Nov 2021
CVE-2021-37669 Crash in NMS ops caused by integer conversion to unsigned in TensorFlow 5.5 medium 0.17% 12 Aug 2021
CVE-2021-37646 Bad alloc in `StringNGrams` caused by integer conversion in TensorFlow 5.5 medium 0.15% 12 Aug 2021
CVE-2021-37661 Crash caused by integer conversion to unsigned in TensorFlow 5.5 medium 0.15% 12 Aug 2021
CVE-2021-37645 Integer overflow due to conversion to unsigned in TensorFlow 5.5 medium 0.15% 12 Aug 2021
CVE-2021-29539 Segfault in tf.raw_ops.ImmutableConst 2.5 low 0.19% 14 May 2021
CVE-2020-28588 n/a Linux Kernel: Incorrect Conversion between Numeric Types 4.0 medium 1.10% 10 May 2021
CVE-2020-15225 Denial of Service vulnerability in django-filter 7.5 high 1.80% 29 Apr 2021
CVE-2021-3444 Linux kernel bpf verifier incorrect mod32 truncation 7.8 high 0.61% 23 Mar 2021
CVE-2020-4032 Integer casting vulnerability in `update_recv_secondary_order` in FreeRDP 3.1 low 1.89% 22 Jun 2020
CVE-2019-14842 [UNKNOWN] libnbd: Incorrect Conversion between Numeric Types 7.3 high 1.83% 26 Nov 2019
CVE-2019-10203 Red Hat pdns: Incorrect Conversion between Numeric Types 4.3 medium 1.55% 22 Nov 2019
CVE-2008-3282 Integer overflow in the rtl_allocateMemory function in sal/rtl/source/alloc_global.c in the memory allocator in OpenOffice.org (OOo)… 7.8 high 10.7% 29 Aug 2008