CWE-191

Integer Underflow (Wrap or Wraparound)

High

Description

The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.

Potential Impact

Detection Methods

Related Weaknesses

References

View on MITRE CWE Database →

Need Help Fixing This Vulnerability?

Our security experts can help you identify and remediate CWE-191 vulnerabilities in your codebase.

Get Security Assessment