BaseDraft
CWE-681Incorrect Conversion between Numeric Types
Category: other
Description
When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.
Common consequences· 1
- Other / Integrity — Unexpected State, Quality DegradationThe program could wind up using the wrong number and generate incorrect results. If the number is used to allocate resources or make a security decision, then this could introduce a vulnerability.
Potential mitigations· 1
- [Implementation]Avoid making conversion between numeric types. Always check for the allowed ranges.
References
(incoming)5
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Vulnerability | CVE-2025-53733cve-2025-53733 | 0% | live |
| Vulnerability | CVE-2026-21688cve-2026-21688 | 0% | live |
| Vulnerability | CVE-2026-21693cve-2026-21693 | 0% | live |
| Vulnerability | CVE-2026-26178cve-2026-26178 | 0% | live |
| Vulnerability | CVE-2026-4931cve-2026-4931 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.