Vulnerabilities threaten the security of information systems. It is crucial to detect and patch vulnerabilities before attacks happen. However, existing vulnerability detection methods suffer from long-term dependency, out vocabulary, bias towards global features or local features, coarse granularity. This paper proposes an automatic framework in source code based on a hybrid neural network. Fi...