CWE-704: Incorrect Type Conversion or Cast

The product does not correctly convert an object, resource, or structure from one type to a different type.

109 published CVE records name this weakness. Abstraction: Class. Status: Incomplete. CWE-704 at MITRE

CVETitleCVSSEPSSPublished
CVE-2025-12781 base64.b64decode() always accepts "+/" characters, despite setting altchars 6.3 medium 0.86% 21 Jan 2026
CVE-2026-22041 loggingredactor converts non-string types to string types in logs 2.0 low 0.27% 8 Jan 2026
CVE-2026-21692 iccDEV has Type Confusion in ToXmlCurve() at IccXML/IccLibXML/IccMpeXml.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-13720 Google Chrome: Incorrect Type Conversion or Cast 8.8 high 0.33% 2 Dec 2025
CVE-2025-62494 Type confusion in string addition in QuickJS 7.1 high 0.53% 16 Oct 2025
CVE-2010-20115 Vermillion FTP <= 1.31 Daemon PORT Command Memory Corruption 9.3 critical 8.78% 21 Aug 2025
CVE-2025-54429 Polkadot Frontier's constructing smart contract can bypass precompile address bounding 6.9 medium 0.54% 28 Jul 2025
CVE-2025-41648 Pilz: Authentication Bypass in IndustrialPI Webstatus 9.8 critical 0.84% 1 Jul 2025
CVE-2025-41646 RevPi Webstatus application is vulnerable to an authentication bypass 9.8 critical 51.2% 6 Jun 2025
CVE-2022-49873 bpf: Fix wrong reg type conversion in release_reference() 5.5 medium 0.22% 1 May 2025
CVE-2024-43058 Incorrect Type Conversion or Cast in Multimedia Frameworks 7.8 high 0.12% 7 Apr 2025
CVE-2025-1057 Keylime: keylime registrar dos due to incompatible database entry handling 4.3 medium 0.47% 15 Mar 2025
CVE-2025-20072 Mobile crash via improper validation of proto style in attachments 6.5 medium 0.55% 16 Jan 2025
CVE-2025-21088 WebApp crash via improper validation of proto style in attachments 6.5 medium 0.58% 15 Jan 2025
CVE-2024-47181 Unaligned memory access in RPL option processing in Contiki-NG 7.5 high 0.58% 27 Nov 2024
CVE-2018-9339 Google Android: Incorrect Type Conversion or Cast 7.8 high 0.090% 19 Nov 2024
CVE-2024-39590 OpenPLC_v3: Incorrect Type Conversion or Cast 7.5 high 1.02% 18 Sep 2024
CVE-2024-39589 OpenPLC_v3: Incorrect Type Conversion or Cast 7.5 high 1.02% 18 Sep 2024
CVE-2024-35303 Siemens Tecnomatix Plant Simulation V2302: Incorrect Type Conversion or Cast 7.3 high 0.25% 11 Jun 2024
CVE-2024-36735 OneFlow-Inc. Oneflow v0.9.1 does not display an error or warning when the oneflow.eye parameter is floating 5.3 medium 0.35% 6 Jun 2024
CVE-2024-21478 NULL Pointer Dereference in Graphics 6.2 medium 0.094% 3 Jun 2024
CVE-2024-5436 Type Confusion in Snapchat Lenscore 7.3 high 0.52% 31 May 2024
CVE-2024-28130 OFFIS DCMTK: Incorrect Type Conversion or Cast 7.5 high 1.69% 23 Apr 2024
CVE-2023-33101 Incorrect Type Conversion or Cast in Multi-Mode Call Processor 7.5 high 0.32% 1 Apr 2024
CVE-2023-6249 ipm: signed to unsigned conversion problem in esp32_ipm_send 8.0 high 0.44% 18 Feb 2024
CVE-2023-45204 Siemens Tecnomatix Plant Simulation V2201: Incorrect Type Conversion or Cast 7.8 high 0.25% 10 Oct 2023
CVE-2023-21651 Incorrect Type Conversion or Cast in Core 9.3 critical 0.12% 8 Aug 2023
CVE-2023-21638 Incorrect Type Conversion or Cast in Video 6.7 medium 0.12% 4 Jul 2023
CVE-2022-33240 Incorrect type conversion or cast in Audio 6.7 medium 0.12% 6 Jun 2023
CVE-2023-25737 Mozilla Firefox: Incorrect Type Conversion or Cast 8.8 high 0.70% 2 Jun 2023
CVE-2023-21665 Incorrect Type Conversion or Cast in Graphics 8.4 high 0.18% 2 May 2023
CVE-2022-33301 Incorrect type conversion or cast in Audio 6.7 medium 0.12% 4 Apr 2023
CVE-2022-40531 Incorrect type conversion in WLAN 8.4 high 0.12% 7 Mar 2023
CVE-2022-25715 Incorrect type casting in Display driver 6.7 medium 0.12% 6 Jan 2023
CVE-2022-41911 Invalid char to bool conversion when printing a tensor in Tensorflow 4.8 medium 0.58% 18 Nov 2022
CVE-2022-41890 `CHECK` fail in `BCast` overflow in Tensorflow 4.8 medium 0.64% 18 Nov 2022
CVE-2022-3979 NagVis CoreLogonMultisite.php checkAuthCookie type conversion 5.6 medium 1.32% 13 Nov 2022
CVE-2022-41668 Schneider Electric EcoStruxure Operator Terminal Expert: Incorrect Type Conversion or Cast 7.0 high 0.22% 4 Nov 2022
CVE-2022-41828 In Amazon AWS Redshift JDBC Driver (aka amazon-redshift-jdbc-driver or redshift-jdbc42) before 2.1.0.8, the Object Factory does not… 8.8 high 1.96% 29 Sep 2022
CVE-2020-10735 n/a python: Incorrect Type Conversion or Cast 6.2 medium 4.80% 9 Sep 2022
CVE-2022-1642 Swift Corelib-Foundation: Improper Handling of Unexpected Data Type – 0.68% 16 Jun 2022
CVE-2021-3578 n/a isync: Incorrect Type Conversion or Cast – 1.04% 16 Feb 2022
CVE-2021-39989 Huawei HarmonyOS: Incorrect Type Conversion or Cast 7.5 high 0.68% 3 Jan 2022
CVE-2021-39173 Forced reinstall 8.8 high 2.36% 27 Aug 2021
CVE-2021-35942 The wordexp function in the GNU C Library (aka glibc) through 2.33 may crash or read arbitrary memory in parse_param (in… 9.1 critical 2.75% 22 Jul 2021
CVE-2020-16103 Gallagher Command Centre: Incorrect Type Conversion or Cast 8.8 high 2.29% 14 Dec 2020
CVE-2020-6151 n/a Accusoft: Incorrect Type Conversion or Cast 8.1 high 1.62% 1 Sep 2020
CVE-2020-11725 snd_ctl_elem_add in sound/core/control.c in the Linux kernel through 5.6.3 has a count=info->owner line, which later affects a… 7.8 high 0.51% 12 Apr 2020
CVE-2019-12693 Cisco Adaptive Security Appliance Software Secure Copy Denial of Service Vulnerability 6.8 medium 1.49% 2 Oct 2019