← Back
CWE-704

271 CVEs • Abstraction: Class

Incorrect Type Conversion or Cast

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

JSON object

Loading...

CVEs (271)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
1Qualcomm
9Qca6595 Firmware
Qca6595au FirmwareQca6696 Firmware+6 more
Jun 17, 2026
Jun 6, 2023
N/A· v4
7.8 HIGH· v3
N/A· v2
Memory corruption in Audio due to incorrect type cast during audio use-cases.
1Mozilla
3Firefox
Firefox EsrThunderbird
Jun 17, 2026
Jun 2, 2023
N/A· v4
8.8 HIGH· v3
N/A· v2
While implementing AudioWorklets, some code may have casted one type to another, invalid, dynamic type. This could have led to a potentially exploitable crash. This vulnerability affects Firefox < 111, Firefox ESR < 102....Show more
While implementing AudioWorklets, some code may have casted one type to another, invalid, dynamic type. This could have led to a potentially exploitable crash. This vulnerability affects Firefox < 111, Firefox ESR < 102.9, and Thunderbird < 102.9.Show less
1Mozilla
3Firefox
Firefox EsrThunderbird
Jun 17, 2026
Jun 2, 2023
N/A· v4
8.8 HIGH· v3
N/A· v2
An invalid downcast from <code>nsTextNode</code> to <code>SVGElement</code> could have lead to undefined behavior. This vulnerability affects Firefox < 110, Thunderbird < 102.8, and Firefox ESR < 102.8.
1Qualcomm
220315 5g Iot Modem Firmware
8905 Firmware8909 Firmware+217 more
Jun 17, 2026
May 2, 2023
N/A· v4
7.8 HIGH· v3
N/A· v2
Memory corruption in Graphics while importing a file.
1Qualcomm
16Qca6595 Firmware
Qca6595au FirmwareQca6696 Firmware+13 more
Jun 17, 2026
Apr 13, 2023
N/A· v4
7.8 HIGH· v3
N/A· v2
Memory corruption due to incorrect type conversion or cast in audio while using audio playback/capture when crafted address is sent from AGM IPC to AGM.
1Qualcomm
284Apq8009 Firmware
Apq8017 FirmwareApq8076 Firmware+281 more
Jun 17, 2026
Mar 10, 2023
N/A· v4
7.8 HIGH· v3
N/A· v2
Memory corruption in WLAN due to incorrect type cast while sending WMI_SCAN_SCH_PRIO_TBL_CMDID message.
1Qualcomm
32Aqt1000 Firmware
Mdm9150 FirmwareQca6391 Firmware+29 more
Jun 17, 2026
Jan 9, 2023
N/A· v4
7.8 HIGH· v3
N/A· v2
Memory corruption in display driver due to incorrect type casting while accessing the fence structure fields
1Google
1Tensorflow
Jun 17, 2026
Nov 18, 2022
N/A· v4
7.5 HIGH· v3
N/A· v2
TensorFlow is an open source platform for machine learning. When printing a tensor, we get it's data as a `const char*` array (since that's the underlying storage) and then we typecast it to the element type. However, co...Show more
TensorFlow is an open source platform for machine learning. When printing a tensor, we get it's data as a `const char*` array (since that's the underlying storage) and then we typecast it to the element type. However, conversions from `char` to `bool` are undefined if the `char` is not `0` or `1`, so sanitizers/fuzzers will crash. The issue has been patched in GitHub commit `1be74370327`. The fix will be included in TensorFlow 2.11.0. We will also cherrypick this commit on TensorFlow 2.10.1, TensorFlow 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.Show less
1Google
1Tensorflow
Jun 17, 2026
Nov 18, 2022
N/A· v4
7.5 HIGH· v3
N/A· v2
TensorFlow is an open source platform for machine learning. If `BCast::ToShape` is given input larger than an `int32`, it will crash, despite being supposed to handle up to an `int64`. An example can be seen in `tf.exper...Show more
TensorFlow is an open source platform for machine learning. If `BCast::ToShape` is given input larger than an `int32`, it will crash, despite being supposed to handle up to an `int64`. An example can be seen in `tf.experimental.numpy.outer` by passing in large input to the input `b`. We have patched the issue in GitHub commit 8310bf8dd188ff780e7fc53245058215a05bdbe5. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.Show less
1Nagvis
1Nagvis
Jun 17, 2026
Nov 13, 2022
N/A· v4
8.1 HIGH· v3
5.1 MEDIUM· v2
A vulnerability was found in NagVis up to 1.9.33 and classified as problematic. This issue affects the function checkAuthCookie of the file share/server/core/classes/CoreLogonMultisite.php. The manipulation of the argume...Show more
A vulnerability was found in NagVis up to 1.9.33 and classified as problematic. This issue affects the function checkAuthCookie of the file share/server/core/classes/CoreLogonMultisite.php. The manipulation of the argument hash leads to incorrect type conversion. The attack may be initiated remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. Upgrading to version 1.9.34 is able to address this issue. The identifier of the patch is 7574fd8a2903282c2e0d1feef5c4876763db21d5. It is recommended to upgrade the affected component. The identifier VDB-213557 was assigned to this vulnerability.Show less
1Schneider Electric
2Ecostruxure Operator Terminal Expert
Pro Face Blue
Jun 17, 2026
Nov 4, 2022
N/A· v4
7.8 HIGH· v3
N/A· v2
A CWE-704: Incorrect Project Conversion vulnerability exists that allows adversaries with local user privileges to load a project file from an adversary-controlled network share which could result in execution of malicio...Show more
A CWE-704: Incorrect Project Conversion vulnerability exists that allows adversaries with local user privileges to load a project file from an adversary-controlled network share which could result in execution of malicious code. Affected Products: EcoStruxure Operator Terminal Expert(V3.3 Hotfix 1 or prior), Pro-face BLUE(V3.3 Hotfix1 or prior).Show less
1Amazon
1Amazon Web Services Redshift Java Database Connectivity Driver
Jun 17, 2026
Sep 29, 2022
N/A· v4
8.1 HIGH· v3
N/A· v2
In Amazon AWS Redshift JDBC Driver (aka amazon-redshift-jdbc-driver or redshift-jdbc42) before 2.1.0.8, the Object Factory does not check the class type when instantiating an object from a class name.
3Fedoraproject
PythonRedhat
5Enterprise Linux
FedoraPython+2 more
Jun 17, 2026
Sep 9, 2022
N/A· v4
7.5 HIGH· v3
N/A· v2
A flaw was found in python. In algorithms with quadratic time complexity using non-binary bases, when using int("text"), a system could take 50ms to parse an int string with 100,000 digits and 5s for 1,000,000 digits (fl...Show more
A flaw was found in python. In algorithms with quadratic time complexity using non-binary bases, when using int("text"), a system could take 50ms to parse an int string with 100,000 digits and 5s for 1,000,000 digits (float, decimal, int.from_bytes(), and int() for binary bases 2, 4, 8, 16, and 32 are not affected). The highest threat from this vulnerability is to system availability.Show less
1Qualcomm
9Qca6574au Firmware
Qca6696 FirmwareSa6145p Firmware+6 more
Jun 17, 2026
Sep 2, 2022
N/A· v4
7.8 HIGH· v3
N/A· v2
Memory corruption in multimedia due to incorrect type conversion while adding data in Snapdragon Auto
1Google
1Android
Jun 17, 2026
Jul 6, 2022
N/A· v4
6.7 MEDIUM· v3
4.6 MEDIUM· v2
In audio DSP, there is a possible memory corruption due to improper casting. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation. Patc...Show more
In audio DSP, there is a possible memory corruption due to improper casting. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation. Patch ID: ALPS06558822; Issue ID: ALPS06558822.Show less
2Libpq Project
Pg Native Project
2Libpq
Pg Native
Jun 17, 2026
Jun 17, 2022
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
All versions of package pg-native; all versions of package libpq are vulnerable to Denial of Service (DoS) when the addons attempt to cast the second argument to an array and fail. This happens for every non-array argume...Show more
All versions of package pg-native; all versions of package libpq are vulnerable to Denial of Service (DoS) when the addons attempt to cast the second argument to an array and fail. This happens for every non-array argument passed. **Note:** pg-native is a mere binding to npm's libpq library, which in turn has the addons and bindings to the actual C libpq library. This means that problems found in pg-native may transitively impact npm's libpq.Show less
3Fedoraproject
ImagemagickRedhat
3Enterprise Linux
FedoraImagemagick
Jun 17, 2026
Jun 16, 2022
N/A· v4
7.8 HIGH· v3
6.8 MEDIUM· v2
In ImageMagick, there is load of misaligned address for type 'double', which requires 8 byte alignment and for type 'float', which requires 4 byte alignment at MagickCore/property.c. Whenever crafted or untrusted input i...Show more
In ImageMagick, there is load of misaligned address for type 'double', which requires 8 byte alignment and for type 'float', which requires 4 byte alignment at MagickCore/property.c. Whenever crafted or untrusted input is processed by ImageMagick, this causes a negative impact to application availability or other problems related to undefined behavior.Show less
1Apple
1Swift
Jun 17, 2026
Jun 16, 2022
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
A program using swift-corelibs-foundation is vulnerable to a denial of service attack caused by a potentially malicious source producing a JSON document containing a type mismatch. This vulnerability is caused by the int...Show more
A program using swift-corelibs-foundation is vulnerable to a denial of service attack caused by a potentially malicious source producing a JSON document containing a type mismatch. This vulnerability is caused by the interaction between a deserialization mechanism offered by the Swift standard library, the Codable protocol; and the JSONDecoder class offered by swift-corelibs-foundation, which can deserialize types that adopt the Codable protocol based on the content of a provided JSON document. When a type that adopts Codable requests the initialization of a field with an integer value, the JSONDecoder class uses a type-erased container with different accessor methods to attempt and coerce a corresponding JSON value and produce an integer. In the case the JSON value was a numeric literal with a floating-point portion, JSONDecoder used different type-eraser methods during validation than it did during the final casting of the value. The checked casting produces a deterministic crash due to this mismatch. The JSONDecoder class is often wrapped by popular Swift-based web frameworks to parse the body of HTTP requests and perform basic type validation. This makes the attack low-effort: sending a specifically crafted JSON document during a request to these endpoints will cause them to crash. The attack does not have any confidentiality or integrity risks in and of itself; the crash is produced deterministically by an abort function that ensures that execution does not continue in the face of this violation of assumptions. However, unexpected crashes can lead to violations of invariants in services, so it's possible that this attack can be used to trigger error conditions that escalate the risk. Producing a denial of service may also be the goal of an attacker in itself. This issue is solved in Swift 5.6.2 for Linux and Windows. This issue was solved by ensuring that the same methods are invoked both when validating and during casting, so that no type mismatch occurs. Swift for Linux and Windows versions are not ABI-interchangeable. To upgrade a service, its owner must update to this version of the Swift toolchain, then recompile and redeploy their software. The new version of Swift includes an updated swift-corelibs-foundation package. Versions of Swift running on Darwin-based operating systems are not affected.Show less
1Qualcomm
6Sd 8 Gen1 5g Firmware
Wcd9380 FirmwareWcn6855 Firmware+3 more
Jun 17, 2026
Jun 14, 2022
N/A· v4
7.8 HIGH· v3
7.2 HIGH· v2
Possible out of bounds read due to improper typecasting while handling page fault for global memory in Snapdragon Connectivity, Snapdragon Mobile
2Ipmatcher Project
Watsonwebserver Project
2Ipmatcher
Watsonwebserver
Jun 17, 2026
May 16, 2022
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
An Input Validation Vulnerability exists in Joel Christner .NET C# packages WatsonWebserver, IpMatcher 1.0.4.1 and below (IpMatcher) and 4.1.3 and below (WatsonWebserver) due to insufficient validation of input IP addres...Show more
An Input Validation Vulnerability exists in Joel Christner .NET C# packages WatsonWebserver, IpMatcher 1.0.4.1 and below (IpMatcher) and 4.1.3 and below (WatsonWebserver) due to insufficient validation of input IP addresses and netmasks against the internal Matcher list of IP addresses and subnets.Show less