Vulnerabilities are mainly divided into two types: 1. behavior-based vulnerabilities. 2. state-based vulnerabilities.