GitHub
github.com › hardik05 › Damn_Vulnerable_C_Program
GitHub - hardik05/Damn_Vulnerable_C_Program: An example C program which contains vulnerable code for common types of vulnerabilities. It can be used to show fuzzing concepts. · GitHub
An example C program which contains vulnerable code for common types of vulnerabilities. It can be used to show fuzzing concepts. - hardik05/Damn_Vulnerable_C_Program
Starred by 721 users
Forked by 184 users
Languages Rust 70.7% | Makefile 25.2% | LLVM 3.1% | C 1.0% | C++ 0.0% | M4 0.0%
GitHub
github.com › conikeec › seeve
GitHub - conikeec/seeve: A set of vulnerable C code snippets (with mapped CVEs)
Starred by 78 users
Forked by 63 users
Languages C 88.8% | Makefile 11.2% | C 88.8% | Makefile 11.2%
Videos
GitHub
github.com › fuzzstati0n › fuzzgoat
GitHub - fuzzstati0n/fuzzgoat: A vulnerable C program for testing fuzzers. · GitHub
This C program has been deliberately backdoored with several memory corruption bugs to test the efficacy of fuzzers and other analysis tools. Each vulnerability is clearly commented in fuzzgoat.c. Under input-files/ are files to trigger each ...
Starred by 207 users
Forked by 76 users
Languages C 99.6% | Makefile 0.4%
GitHub
github.com › lirantal › vulnerable-c-and-cpp
GitHub - lirantal/vulnerable-c-and-cpp: A reference Git repository to demonstrate vulnerable C and C++ patterns in code
A reference Git repository to demonstrate vulnerable C and C++ patterns in code - lirantal/vulnerable-c-and-cpp
Starred by 5 users
Forked by 12 users
Languages C 99.3% | Dockerfile 0.7% | C 99.3% | Dockerfile 0.7%
GitHub
github.com › ZeoVan › MSR_20_Code_vulnerability_CSV_Dataset
GitHub - ZeoVan/MSR_20_Code_vulnerability_CSV_Dataset: A C/C++ Code Vulnerability Dataset with Code Changes and CVE Summaries · GitHub
A C/C++ Code Vulnerability Dataset with Code Changes and CVE Summaries - ZeoVan/MSR_20_Code_vulnerability_CSV_Dataset
Starred by 358 users
Forked by 76 users
Languages Jupyter Notebook
GitHub
github.com › ShiftLeftSecurity › tarpit-c
GitHub - ShiftLeftSecurity/tarpit-c: TARPIT-C : A set of C code snippets seeded with vulnerable conditions · GitHub
Tarpit-C is a collection of code snippets that mimic common vulnerable conditions found in C/C++ code such as buffer overflow, integer overflow, use-after-free, double free, underflows etc. The code snippets are generally not meant to compile.
Starred by 9 users
Forked by 3 users
Languages C 53.1% | C++ 46.9%
GitHub
github.com › hardik05 › Damn_Vulnerable_C_Program › blob › master › imgRead.c
Damn_Vulnerable_C_Program/imgRead.c at master · hardik05/Damn_Vulnerable_C_Program
An example C program which contains vulnerable code for common types of vulnerabilities. It can be used to show fuzzing concepts. - Damn_Vulnerable_C_Program/imgRead.c at master · hardik05/Damn_Vulnerable_C_Program
Author hardik05
GitHub
github.com › CGCL-codes › SCVDT
GitHub - CGCL-codes/SCVDT: Source Code Vulnerability Detection Tools(SCVDT)provides a vulnerable code database, vulnerability detection service for Java and C/C++ programs, and other security service.
Source Code Vulnerability Detection Tools(SCVDT)provides a vulnerable code database, vulnerability detection service for Java and C/C++ programs, and other security service. - CGCL-codes/SCVDT
Starred by 118 users
Forked by 17 users
Languages C 83.3% | C++ 15.3% | HTML 0.6% | CSS 0.3% | Python 0.3% | Java 0.2% | C 83.3% | C++ 15.3% | HTML 0.6% | CSS 0.3% | Python 0.3% | Java 0.2%
GitHub
github.com › lirantal › vulnerable-c-and-cpp › blob › main › program3.c
vulnerable-c-and-cpp/program3.c at main · lirantal/vulnerable-c-and-cpp
A reference Git repository to demonstrate vulnerable C and C++ patterns in code - lirantal/vulnerable-c-and-cpp
Author lirantal
GitHub
github.com › igavriil › buffer-overflow
GitHub - igavriil/buffer-overflow: exploit vulnerable c/c++ programms with buffer overflow attacks
This is an in depth exploration of buffer overflow attacks in vulnerable C/C++ programs. All programs are run in a 32-bit machine with Debian GNU/Linux 7.8. It's important to note that Address space layout randomization is disabled.
Starred by 24 users
Forked by 11 users
Languages C 58.9% | C++ 41.1% | C 58.9% | C++ 41.1%
GitHub
github.com › atxsinn3r › VulnCases
GitHub - atxsinn3r/VulnCases: Vulnerability examples. · GitHub
I want to practice some C/C++ vulnerabilities that are based on real world problems, or mimic them. Give me a code snippet with one of these vulnerability problems: * Out-of-bound READ * Out-of-bound WRITE * Any buffer overflows * Use after free * Memroy leak * Off by one problems * Integer overflow * Integer underflow * Type confusion Make the problem real and kind of challenging for me.
Starred by 412 users
Forked by 92 users
Languages C++ 83.5% | Python 8.1% | Makefile 3.7% | C 2.0% | CMake 1.6% | M4 0.6%
GitHub
github.com › lirantal › vulnerable-c-and-cpp › blob › main › program1.c
vulnerable-c-and-cpp/program1.c at main · lirantal/vulnerable-c-and-cpp
A reference Git repository to demonstrate vulnerable C and C++ patterns in code - lirantal/vulnerable-c-and-cpp
Author lirantal
GitHub
github.com › uleroboticsgroup › SVCP4CDataset
GitHub - uleroboticsgroup/SVCP4CDataset: Vulnerable Source Code Collected from Open Source Repositories for Dataset Generation
This repository holds five datasets that list existing Buffer Overflow vulnerabilities in more than 10000 source code files written in C. Particularly, it is suitable for extracting features and creating training datasets for Machine Learning.
Starred by 17 users
Forked by 4 users
GitHub
github.com › snoopysecurity › Broken-Vulnerable-Code-Snippets
GitHub - snoopysecurity/Broken-Vulnerable-Code-Snippets: A small collection of vulnerable code snippets · GitHub
A small collection of vulnerable code snippets . Contribute to snoopysecurity/Broken-Vulnerable-Code-Snippets development by creating an account on GitHub.
Starred by 797 users
Forked by 794 users
Languages PHP 34.4% | JavaScript 16.8% | C# 14.4% | C 12.5% | Python 11.0% | Java 6.2%
GitHub
github.com › npapernot › buffer-overflow-attack
GitHub - npapernot/buffer-overflow-attack: This is an example buffer overflow attack on a small vulnerable C program. · GitHub
This is an example buffer overflow attack on a small vulnerable C program. - npapernot/buffer-overflow-attack
Starred by 81 users
Forked by 49 users
Languages C
GitHub
github.com › CGCL-codes › VulDeePecker
GitHub - CGCL-codes/VulDeePecker: VulDeePecker: A Deep Learning-Based System for Vulnerability Detection
Database of "VulDeePecker: A Deep ... two types of vulnerabilities in C/C++ programs, buffer error vulnerability (CWE-119) and resource management error vulnerability (CWE-399)....
Starred by 343 users
Forked by 111 users
Languages C 73.4% | C++ 26.6% | C 73.4% | C++ 26.6%
GitHub
github.com › CGCL-codes › VulCNN
GitHub - CGCL-codes/VulCNN · GitHub
Specifically, we propose a novel idea that can efficiently convert the source code of a function into an image while preserving the program details. We implement VulCNN and evaluate it on a dataset of 13,687 vulnerable functions and 26,970 non-vulnerable functions.
Starred by 83 users
Forked by 20 users
Languages C++ 62.7% | Python 28.0% | Jupyter Notebook 6.0% | Cython 2.2%
GitHub
github.com › patricia-gallardo › insecure-coding-examples
GitHub - patricia-gallardo/insecure-coding-examples: Code examples for the talk Secure Coding Practices in C++ · GitHub
Code examples for the talk Secure Coding Practices in C++ - patricia-gallardo/insecure-coding-examples
Starred by 52 users
Forked by 41 users
Languages C 50.9% | C++ 30.0% | CMake 18.3% | Dockerfile 0.8%
GitHub
github.com › stephenbradshaw › vulnserver › blob › master › vulnserver.c
vulnserver/vulnserver.c at master · stephenbradshaw/vulnserver
const char Usage[94] = "Usage: %s [port_number]\n\nIf no port number is provided, the default port of %s will be used.\n";
... printf("\nThis is vulnerable software!\nDo not allow access from untrusted systems or networks!\n\n");
Author stephenbradshaw
ACM Digital Library
dl.acm.org › doi › 10.1145 › 3379597.3387501
A C/C++ Code Vulnerability Dataset with Code Changes and CVE Summaries | Proceedings of the 17th International Conference on Mining Software Repositories
We collected a large C/C++ code vulnerability dataset from open-source Github projects, namely Big-Vul. We crawled the public Common Vulnerabilities and Exposures (CVE) database and CVE-related source code repositories. Specifically, we collected the descriptive information of the vulnerabilities from the CVE database, e.g., CVE IDs, CVE severity scores, and CVE summaries.