I'm looking for a list of all vulnerabilities that can be present in C so I can practice them all.

I found this: Category:C/C++, but it's not of much use.

  • 1
    Hi and welcome to RE.SE. Finding an exhaustive list (which seems to be what you're asking for) would be impossible as there may well be some no one is aware about. But here are some sources: this answer on SO (in particular the CERT stuff on C here), this PDF (presentation), and of course the book "Writing Secure Code".
    – 0xC0000022L
    Jan 17, 2020 at 23:58

3 Answers 3


These CWE lists will help you a lot:

Weaknesses in software written in C

Weaknesses in software written in C++


Not a vulnerability list by itself, but SEI CERT C Coding Standard lists many “dangerous” code patterns which can be a source of vulnerabilities.

The book The Art of Software Security Assessment is a little old by now but still contains a lot of valuable advice.


This is a great resource. You can find most of the material on SEI CERT website but the book is great.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.