VariantDraft

CWE-195Signed to Unsigned Conversion Error

Category: other

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.

Common consequences· 1

  • Integrity — Unexpected State
    Conversion 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.

References

  1. https://cwe.mitre.org/data/definitions/195.html

(incoming)2

TypeTargetConfidenceTier
VulnerabilityCVE-2025-49847cve-2025-498470%live
VulnerabilityCVE-2025-52566cve-2025-525660%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Unsigned to Signed Conversion Error
CWE
Integer Overflow or Wraparound
CWE
Incorrect Bitwise Shift of Integer
CWE
Integer Underflow (Wrap or Wraparound)
CWE
Access of Resource Using Incompatible Type ('Type Confusion')
CWE
Unexpected Sign Extension
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.