CWE-196: Unsigned to Signed Conversion Error, published in 2024
Filter
The product uses an unsigned primitive and performs a cast to a signed primitive, which can produce an unexpected value if the value of the unsigned primitive can not be represented using a signed primitive.
What the weakness is: CWE-196 at MITRE. All weaknesses
Related attack patterns (CAPEC): 1
- CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High
The attack patterns MITRE's CAPEC relates to CWE-196, as MITRE names them. Credits.
Ask an AI about CWE-196
Show the prompt
Explain CWE-196: Unsigned to Signed Conversion Error and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/196.html and https://cve.bz/cve/cwe/196?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
No records match.