I believe you can. I know at least one work [1] using a machine learning approach (not really a deep neural work) to unconver vulnerabilities in C code.
Btw, maybe a submition to /r/MachineLearning could be better to start such specific discussion.
[1] https://www.usenix.org/conference/woot11/vulnerability-extra...