CWE•Variant•Draft•3 recent CVEs
CWE-195Signed to Unsigned Conversion Error
Description
The product uses a signed primitive and performs a cast to an unsigned primitive, which can produce an unexpected value if the value of the signed primitive can not be represented using an unsigned primitive.
[object Object]
Common consequences
- Integrity→Unexpected StateConversion between signed and unsigned values can lead to a variety of errors, but from a security standpoint is most commonly associated with integer overflow and buffer overflow vulnerabilities.