CWE-194: Unexpected Sign Extension

ID CWE-194
Abstraction Variant
Structure Simple
Status Incomplete
Number of CVEs 4
The product performs an operation on a number that causes it to be sign extended when it is transformed into a larger data type. When the original number is negative, this can produce unexpected values that lead to resultant weaknesses.

Modes of Introduction

Phase Note
Implementation

Applicable Platforms

Type Class Name Prevalence
Language C
Language C++

Relationships

View Weakness
# ID View Status # ID Name Abstraction Structure Status
CWE-1000 Research Concepts Draft CWE-681 Incorrect Conversion between Numeric Types Base Simple Draft
CWE-1305 CISQ Quality Measures (2020) Incomplete CWE-681 Incorrect Conversion between Numeric Types Base Simple Draft
CWE-1340 CISQ Data Protection Measures Incomplete CWE-681 Incorrect Conversion between Numeric Types Base Simple Draft

CVEs Published

CVSS Severity

CVSS Severity - By Year

CVSS Base Score

# CVE Description CVSS EPSS EPSS Trend (30 days) Affected Products Weaknesses Security Advisories Exploits PoC Pubblication Date Modification Date
# CVE Description CVSS EPSS EPSS Trend (30 days) Affected Products Weaknesses Security Advisories PoC Pubblication Date Modification Date
Loading...
Loading...