← Back
CWE-704

280 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 (280)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
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
1Qualcomm
6Sd 8 Gen1 5g Firmware
Wcd9380 FirmwareWcn6855 Firmware+3 more
Jun 17, 2026
Apr 1, 2022
N/A· v4
8.8 HIGH· v3
7.2 HIGH· v2
Possible buffer overflow to improper validation of hash segment of file while allocating memory in Snapdragon Connectivity, Snapdragon Mobile
1Qualcomm
157Apq8009w Firmware
Apq8017 FirmwareApq8053 Firmware+154 more
Jun 17, 2026
Apr 1, 2022
N/A· v4
7.8 HIGH· v3
7.2 HIGH· v2
Possible out of bounds access due to improper input validation during graphics profiling in Snapdragon Auto, Snapdragon Compute, Snapdragon Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon Mob...Show more
Possible out of bounds access due to improper input validation during graphics profiling in Snapdragon Auto, Snapdragon Compute, Snapdragon Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon Mobile, Snapdragon Voice & Music, Snapdragon WearablesShow less
3Fedoraproject
LinuxOracle
5Communications Cloud Native Core Binding Support Function
Communications Cloud Native Core Network Exposure FunctionCommunications Cloud Native Core Policy+2 more
Jun 17, 2026
Mar 25, 2022
N/A· v4
5.5 MEDIUM· v3
2.1 LOW· v2
A flaw was found in the sctp_make_strreset_req function in net/sctp/sm_make_chunk.c in the SCTP network protocol in the Linux kernel with a local user privilege access. In this flaw, an attempt to use more buffer than is...Show more
A flaw was found in the sctp_make_strreset_req function in net/sctp/sm_make_chunk.c in the SCTP network protocol in the Linux kernel with a local user privilege access. In this flaw, an attempt to use more buffer than is allocated triggers a BUG_ON issue, leading to a denial of service (DOS).Show less
1Jhead Project
1Jhead
Jun 17, 2026
Mar 23, 2022
N/A· v4
5.5 MEDIUM· v3
4.3 MEDIUM· v2
A Denial of Service vulnerability exists in jhead 3.04 and 3.05 due to a wild address read in the Get16u function in exif.c in will cause segmentation fault via a crafted_file.
3Debian
FedoraprojectIsync Project
3Debian Linux
FedoraIsync
Jun 17, 2026
Feb 16, 2022
N/A· v4
7.8 HIGH· v3
7.2 HIGH· v2
A flaw was found in mbsync before v1.3.6 and v1.4.2, where an unchecked pointer cast allows a malicious or compromised server to write an arbitrary integer value past the end of a heap-allocated structure by issuing an u...Show more
A flaw was found in mbsync before v1.3.6 and v1.4.2, where an unchecked pointer cast allows a malicious or compromised server to write an arbitrary integer value past the end of a heap-allocated structure by issuing an unexpected APPENDUID response. This could be plausibly exploited for remote code execution on the client.Show less
1Nanoid Project
1Nanoid
Jun 17, 2026
Jan 14, 2022
N/A· v4
5.5 MEDIUM· v3
2.1 LOW· v2
The package nanoid from 3.0.0 and before 3.1.31 are vulnerable to Information Exposure via the valueOf() function which allows to reproduce the last id generated.
1Qualcomm
110Apq8009w Firmware
Apq8017 FirmwareApq8096au Firmware+107 more
Jun 17, 2026
Jan 13, 2022
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
Possible denial of service due to incorrectly decoding hex data for the SIB2 OTA message and assigning a garbage value to choice when processing the SRS configuration in Snapdragon Auto, Snapdragon Compute, Snapdragon Co...Show more
Possible denial of service due to incorrectly decoding hex data for the SIB2 OTA message and assigning a garbage value to choice when processing the SRS configuration in Snapdragon Auto, Snapdragon Compute, Snapdragon Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon Voice & Music, Snapdragon WearablesShow less
1Huawei
1Harmonyos
Jun 17, 2026
Jan 3, 2022
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
The HwNearbyMain module has a Exposure of Sensitive Information to an Unauthorized Actor vulnerability.Successful exploitation of this vulnerability may cause a process to restart.
1Google
1Android
Jun 17, 2026
Dec 15, 2021
N/A· v4
7.8 HIGH· v3
4.6 MEDIUM· v2
In setTransactionState of SurfaceFlinger, there is possible arbitrary code execution in a privileged process due to improper casting. This could lead to local escalation of privilege with no additional execution privileg...Show more
In setTransactionState of SurfaceFlinger, there is possible arbitrary code execution in a privileged process due to improper casting. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-12Android ID: A-193033243Show less
2Debian
Mozilla
4Debian Linux
FirefoxFirefox Esr+1 more
Jun 17, 2026
Dec 8, 2021
N/A· v4
8.8 HIGH· v3
6.8 MEDIUM· v2
An incorrect type conversion of sizes from 64bit to 32bit integers allowed an attacker to corrupt memory leading to a potentially exploitable crash. This vulnerability affects Thunderbird < 91.4.0, Firefox ESR < 91.4.0,...Show more
An incorrect type conversion of sizes from 64bit to 32bit integers allowed an attacker to corrupt memory leading to a potentially exploitable crash. This vulnerability affects Thunderbird < 91.4.0, Firefox ESR < 91.4.0, and Firefox < 95.Show less
1Qualcomm
84Aqt1000 Firmware
Qca6390 FirmwareQca6391 Firmware+81 more
Jun 17, 2026
Sep 8, 2021
N/A· v4
7.8 HIGH· v3
4.6 MEDIUM· v2
Incorrect pointer argument passed to trusted application TA could result in un-intended memory operations in Snapdragon Auto, Snapdragon Compute, Snapdragon Connectivity, Snapdragon Industrial IOT