CWE-190 (Integer Overflow or Wraparound)

GPTKB entity

Statements (29)
Predicate Object
gptkbp:instanceOf gptkb:Common_Weakness_Enumeration
gptkbp:affectedLanguages gptkb:Java
gptkb:JavaScript
gptkb:Python
gptkb:C++
C
gptkbp:category Software Weakness
gptkbp:cause gptkb:Privilege_Escalation
gptkb:Denial_of_Service
gptkb:Buffer_Overflow
gptkbp:citation https://cwe.mitre.org/data/definitions/190.html
gptkbp:consequence gptkb:Crash
gptkb:Security_Bypass
Incorrect Calculation
gptkbp:describedBy gptkb:MITRE_CWE
gptkbp:describes The software performs a calculation that can produce an integer overflow or wraparound, leading to unexpected results.
gptkbp:example Adding two large integers in C without checking for overflow.
https://www.w3.org/2000/01/rdf-schema#label CWE-190 (Integer Overflow or Wraparound)
gptkbp:name Integer Overflow or Wraparound
gptkbp:prevention Input Validation
Range Checking
Use of Safe Libraries
gptkbp:relatedTo CWE-191 (Integer Underflow)
CWE-192 (Integer Coercion Error)
gptkbp:status In Use
gptkbp:vulnerableTo CWE-190
gptkbp:weakness gptkb:Base
gptkbp:bfsParent gptkb:Common_Weakness_Enumeration_(CWE)
gptkbp:bfsLayer 7