entity_id
stringlengths
36
36
source_system
stringclasses
3 values
raw_snippet
stringlengths
1
9.23M
normalized_structure
stringlengths
1
9.23M
applied_algorithm
stringclasses
3 values
complexity
stringclasses
11 values
ast_metadata
stringlengths
2
704
nl_alignment
stringlengths
2
150k
security_context
stringlengths
238
304k
data_flow_graph
stringlengths
2
4.44M
code_hash
stringlengths
64
64
created_at
stringlengths
25
32
9efe1154-bf12-40a1-860d-a4d6894502c9
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_21.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-21.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Hard ...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 static int VAR_2 = 0; static char * VAR_2(char * VAR_4) { if(VAR_3) { { size_t VAR_5 = VAR_6(VAR_4); if (100-VAR_5 > 1) { if (fgets(VAR_4+VAR_5, (int)(100-VAR_...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 23, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type":...
a5d93f7fd95207b759efdc370cde66022b8d759d647a25a4bcd5411538d85404
2026-06-02T15:25:34.247090+00:00
da80808c-b176-4c31-94cb-cf167cb1c543
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_22a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-22a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 int VAR_1 = 0; char * VAR_2(char * VAR_4); void VAR_1() { char * VAR_5; char VAR_6[100] = ""; VAR_5 = VAR_6; VAR_2 = 1; VAR_5 = VAR_3(VAR_5); { TYPE_4 VAR_8; VAR_8 = LoadLibraryA(VAR_6...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 21, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "CWE114_Process_Control__w32_char_console_22_badSource", "to": "data", "type": "assignment"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_console_22_badSource", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "ass...
fc83062bbea940a343baaf8c4c07e91754179fea26f490a4782273338f19d459
2026-06-02T15:25:34.945036+00:00
096af815-e04e-41e1-8db3-59df1c197de1
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_22b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-22b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #ifndef VAR_1 extern int VAR_1; char * VAR_2(char * VAR_4) { if(VAR_1) { { size_t VAR_5 = VAR_6(VAR_4); if (100-VAR_5 > 1) { if (fgets(VAR_4+VAR_5, (int)(100-VAR_5), stdin) != NULL) ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 12, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type":...
faf865c24c36a335816385aeaf2f6415eea288ebe98e0c97db92c45d466f1398
2026-06-02T15:25:35.591601+00:00
5cb8d23c-9bc6-437f-aaaa-f5b4820d1602
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_31.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-31.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Hard ...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1() { char * VAR_3; char VAR_4[100] = ""; VAR_3 = VAR_4; { size_t VAR_5 = VAR_6(VAR_3); if (100-VAR_5 > 1) { if (fgets(VAR_3+VAR_5, (int)(100-VAR_5), stdin) != NULL) ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 17, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t...
aa03faf719841fca87848b338208da913a1854f38241ad6c94d6cd797179750e
2026-06-02T15:25:36.383813+00:00
4ba113f1-70cb-4a48-827f-e07165ec0bf9
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_32.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-32.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Hard ...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1() { char * VAR_3; char * *VAR_4 = &VAR_3; char * *VAR_5 = &VAR_3; char VAR_4[100] = ""; VAR_3 = VAR_4; { char * VAR_3 = *VAR_5; { size_t VAR_5 = VAR_8(VAR_3); ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 18, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t...
8c9f0e84370b235ea26f27b54e097aeed5758c627f52d7b84de3a0e8a4b08aa1
2026-06-02T15:25:37.028476+00:00
a964f185-00d9-4705-8108-e4e9994b33c0
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_33.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-33.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: H...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> namespace CWE114_Process_Control__w32_char_console_33 { #ifndef VAR_1 void VAR_2() { char * VAR_3; char * &VAR_4 = VAR_3; char VAR_4[100] = ""; VAR_3 = VAR_4; { size_t VAR_5 = VAR_7(VAR_3); if (100-VAR_5 ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 18, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t...
cd8612bbcea40e1c8d1c2a4b0464fac466840790bdadedc9019bcd0515c73c16
2026-06-02T15:25:37.678774+00:00
45295a6f-00d2-4aff-a1ca-0ac810abcc4a
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_34.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-34.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Hard ...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> typedef union { char * VAR_1; char * VAR_2; } TYPE_1; #ifndef VAR_2 void VAR_1() { char * VAR_4; TYPE_2 VAR_5; char VAR_5[100] = ""; VAR_4 = VAR_5; { size_t VAR_6 = VAR_8(VAR_4); if (100-VAR_6 ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 20, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t...
4a94330d2e5e12d4ca7de795879d7474c46486fa8deebc3c16256389b2067dae
2026-06-02T15:25:38.371148+00:00
a82f3d8d-e9ad-4c6d-be74-7045b18c9329
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_41.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-41.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Hard ...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * VAR_3) { { TYPE_2 VAR_5; VAR_5 = LoadLibraryA(VAR_4); if (VAR_5 != NULL) { VAR_2(VAR_6); VAR_7("Library loaded and freed successfully"); } ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 18, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "da...
283e1b445432ad48ab8930e79fddb68dfe8702cc831b49a8d396c60b72d41162
2026-06-02T15:25:39.067467+00:00
69d087c9-6b99-4607-bf92-5463713534e9
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_42.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-42.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Hard ...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 static char * VAR_2(char * VAR_3) { { size_t VAR_4 = VAR_5(VAR_3); if (100-VAR_4 > 1) { if (fgets(VAR_3+VAR_4, (int)(100-VAR_4), stdin) != NULL) { VAR_4 = VAR_5...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 18, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type":...
6dca217ca399da9d366167efea0f240a066a187a1c9f33f09ebeeedaedf5d09a
2026-06-02T15:25:39.696816+00:00
62b498bf-a2b7-45fb-8151-7e6e3c3fbde2
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_43.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-43.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: H...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> namespace CWE114_Process_Control__w32_char_console_43 { #ifndef VAR_1 static void VAR_2(char * &VAR_3) { { size_t VAR_4 = VAR_5(VAR_3); if (100-VAR_4 > 1) { if (fgets(VAR_3+VAR_4, (int)(100-VAR_4), stdi...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 19, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type":...
d7d97d8ecaa4407fbf1bc12507e43102196489023825bf16f2abf3ddc69ffc46
2026-06-02T15:25:40.373222+00:00
bff51f8f-bcf1-403f-9f7c-38a606500c37
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_44.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-44.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Hard ...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 static void VAR_2(char * VAR_3) { { TYPE_1 VAR_5; VAR_5 = LoadLibraryA(VAR_4); if (VAR_5 != NULL) { VAR_1(VAR_6); VAR_7("Library loaded and freed successfully"); ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 19, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "da...
cb1b942da5129eea28957ebfb4df74d463a6240bc826f919e0b54fb67014bc1e
2026-06-02T15:25:41.094685+00:00
c5643fb0-f767-4b51-8e2a-4242be726101
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_45.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-45.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Hard ...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> static char * VAR_1; static char * VAR_2; #ifndef VAR_3 static void VAR_4() { char * VAR_5 = VAR_1; { TYPE_3 VAR_7; VAR_7 = LoadLibraryA(VAR_6); if (VAR_7 != NULL) { VAR_3(VAR_8); ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 20, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "CWE114_Process_Control__w32_char_console_45_badData", "to": "data", "type": "assignment"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "dataBuffer", "to": "d...
2269bfde8e679972a66a42628d115dde50aca79fc2aaa1f49bb518deec9be264
2026-06-02T15:25:41.791971+00:00
68b6dd9c-7a03-45b8-b37d-38558adcd106
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_51a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-51a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * VAR_3); void VAR_1() { char * VAR_4; char VAR_5[100] = ""; VAR_4 = VAR_5; { size_t VAR_6 = VAR_7(VAR_4); if (100-VAR_6 > 1) { if (fgets(VAR_4+VAR_6, (int)(1...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 15, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t...
62bfa9f4fedc93013dbec02b6a9f6184af7025879060785cc61dfdd89306845b
2026-06-02T15:25:42.458741+00:00
327d2a8a-50b4-4c67-a222-893cd8d0fd6d
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_51b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-51b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * VAR_3) { { TYPE_2 VAR_5; VAR_5 = LoadLibraryA(VAR_4); if (VAR_5 != NULL) { VAR_2(VAR_6); VAR_7("Library loaded and freed successfully"); } ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 9, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"...
4a772417504a841d93b655b5f868a8a05f50da7e2deb55cd595ae5a38ef1368d
2026-06-02T15:25:43.154718+00:00
3562855d-e916-4632-bf8e-4847dd4672a0
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_52a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-52a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * VAR_3); void VAR_1() { char * VAR_4; char VAR_5[100] = ""; VAR_4 = VAR_5; { size_t VAR_6 = VAR_7(VAR_4); if (100-VAR_6 > 1) { if (fgets(VAR_4+VAR_6, (int)(1...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 15, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t...
5a4decc9a8a6a2eff5364ee1b08fc9c8a43d1f98049910b10854764c46a19a80
2026-06-02T15:25:43.939948+00:00
7638dc36-924d-4caf-8a8d-64004741dd30
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_52b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-52b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * VAR_3); void VAR_1(char * VAR_4) { VAR_2(VAR_4); } #endif #ifndef VAR_4 void VAR_3(char * VAR_6); void VAR_2(char * VAR_7) { VAR_4(VAR_7); } #endif
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 7, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "data", "to": "CWE114_Process_Control__w32_char_console_52c_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_console_52c_goodG2BSink", "type": "call_arg"}]
9b5bf61b3ae1601cf31a5dd981592303959086523c4d8927c7afb5ec541835de
2026-06-02T15:25:44.608944+00:00
c3085f64-598f-45bd-b158-c42a8c1e7403
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_52c.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-52c.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * VAR_3) { { TYPE_2 VAR_5; VAR_5 = LoadLibraryA(VAR_4); if (VAR_5 != NULL) { VAR_2(VAR_6); VAR_7("Library loaded and freed successfully"); } ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 9, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"...
bd3bb2765ad6a4480bc2cf1569d42608d39ca7a7bea187bfe7d46a385b460663
2026-06-02T15:25:45.343666+00:00
8a787ecc-15e2-4e61-9b0a-e538485e7de1
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_53a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-53a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * VAR_3); void VAR_1() { char * VAR_4; char VAR_5[100] = ""; VAR_4 = VAR_5; { size_t VAR_6 = VAR_7(VAR_4); if (100-VAR_6 > 1) { if (fgets(VAR_4+VAR_6, (int)(1...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 15, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t...
56338a9a377431c2f8bf14fabae9bce33d23b7e2f38693a7bcb54f1c0f2c9937
2026-06-02T15:25:46.127811+00:00
01090e5c-c136-4ee1-b6d9-419eb8955464
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_53b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-53b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * VAR_3); void VAR_1(char * VAR_4) { VAR_2(VAR_4); } #endif #ifndef VAR_4 void VAR_3(char * VAR_6); void VAR_2(char * VAR_7) { VAR_4(VAR_7); } #endif
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 7, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "data", "to": "CWE114_Process_Control__w32_char_console_53c_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_console_53c_goodG2BSink", "type": "call_arg"}]
6d47e6b2b0b1349b8c5beb9b84cf365a384cedf935e7ee3e3f328cfe0f950bae
2026-06-02T15:25:46.870229+00:00
1ccaabea-95cb-4161-a4d4-d0528d004c44
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_53c.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-53c.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * VAR_3); void VAR_1(char * VAR_4) { VAR_2(VAR_4); } #endif #ifndef VAR_4 void VAR_3(char * VAR_6); void VAR_2(char * VAR_7) { VAR_4(VAR_7); } #endif
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 7, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "data", "to": "CWE114_Process_Control__w32_char_console_53d_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_console_53d_goodG2BSink", "type": "call_arg"}]
93ded0c10eff9cc9b20288470d7b2625ad57dbb68040fb7eaae552f7d03453f3
2026-06-02T15:25:47.524829+00:00
60983ed4-5ddb-4581-bf5e-b6daa2ab6132
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_53d.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-53d.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * VAR_3) { { TYPE_2 VAR_5; VAR_5 = LoadLibraryA(VAR_4); if (VAR_5 != NULL) { VAR_2(VAR_6); VAR_7("Library loaded and freed successfully"); } ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 9, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"...
20cc2f2f158b8db2f8d14c65239d0fe93e30a9e007867ffe5e12dcf12c75fd29
2026-06-02T15:25:48.196921+00:00
785702c0-7607-484b-bfc0-bc9cc4436685
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_54a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-54a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * VAR_3); void VAR_1() { char * VAR_4; char VAR_5[100] = ""; VAR_4 = VAR_5; { size_t VAR_6 = VAR_7(VAR_4); if (100-VAR_6 > 1) { if (fgets(VAR_4+VAR_6, (int)(1...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 15, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t...
18c9463c6e073e91da63300ed63cda5ce6005fdebd77bdc4628ed029f081e244
2026-06-02T15:25:48.845975+00:00
82c85789-95b8-47d0-af6b-052177714a1e
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_54b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-54b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * VAR_3); void VAR_1(char * VAR_4) { VAR_2(VAR_4); } #endif #ifndef VAR_4 void VAR_3(char * VAR_6); void VAR_2(char * VAR_7) { VAR_4(VAR_7); } #endif
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 7, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "data", "to": "CWE114_Process_Control__w32_char_console_54c_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_console_54c_goodG2BSink", "type": "call_arg"}]
4fc35da4ab1753fa4c07dfe936ab4aeb7c01da8e03e686566665e8159862a22a
2026-06-02T15:25:49.534780+00:00
f3c882c9-30d7-411f-a1d9-3811fa0a3644
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_54c.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-54c.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * VAR_3); void VAR_1(char * VAR_4) { VAR_2(VAR_4); } #endif #ifndef VAR_4 void VAR_3(char * VAR_6); void VAR_2(char * VAR_7) { VAR_4(VAR_7); } #endif
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 7, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "data", "to": "CWE114_Process_Control__w32_char_console_54d_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_console_54d_goodG2BSink", "type": "call_arg"}]
be770e6afb9b11d65c0ac7974e263cbb19e645ccee766c2263171cb3dbfde80c
2026-06-02T15:25:50.256161+00:00
6392e243-9613-41e1-9877-626e770bf27c
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_54d.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-54d.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * VAR_3); void VAR_1(char * VAR_4) { VAR_2(VAR_4); } #endif #ifndef VAR_4 void VAR_3(char * VAR_6); void VAR_2(char * VAR_7) { VAR_4(VAR_7); } #endif
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 7, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "data", "to": "CWE114_Process_Control__w32_char_console_54e_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_console_54e_goodG2BSink", "type": "call_arg"}]
60d62a7b89e31744314e81463d2c52a39d5d8f70d6c4a1f134824e6277508c23
2026-06-02T15:25:50.987212+00:00
6bdd7c68-df9d-4635-b6d7-aa7774f8e96c
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_54e.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-54e.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * VAR_3) { { TYPE_2 VAR_5; VAR_5 = LoadLibraryA(VAR_4); if (VAR_5 != NULL) { VAR_2(VAR_6); VAR_7("Library loaded and freed successfully"); } ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 9, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"...
8aa1cfaea0585256449025d2c9849b486ca6d08ec77772facacb2e73f0f289bb
2026-06-02T15:25:51.665726+00:00
19b4ab01-d0ed-4432-b3bf-5bb8c5ab978b
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_61a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-61a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 char * VAR_1(char * VAR_3); void VAR_1() { char * VAR_4; char VAR_5[100] = ""; VAR_4 = VAR_5; VAR_4 = VAR_2(VAR_4); { TYPE_3 VAR_7; VAR_7 = LoadLibraryA(VAR_5); if (VAR_7 != NULL) ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 16, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "CWE114_Process_Control__w32_char_console_61b_badSource", "to": "data", "type": "assignment"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_console_61b_badSource", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "a...
94e2e1f7e168ca1b04910554a6bf722321170c89f5cb1214af3435e14391b3a4
2026-06-02T15:25:52.332995+00:00
a0d42c54-c3f3-4c7a-b39d-d660540fd5fb
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_61b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-61b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 char * VAR_1(char * VAR_3) { { size_t VAR_4 = VAR_5(VAR_3); if (100-VAR_4 > 1) { if (fgets(VAR_3+VAR_4, (int)(100-VAR_4), stdin) != NULL) { VAR_4 = VAR_5(VAR_3)...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 8, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type":...
6788276817ca76f2642f97ebb303bbcf2f302ba256272de35d4eabf1025c2be1
2026-06-02T15:25:53.135482+00:00
ec215c15-2996-435b-863a-21550509381f
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_62a.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-62a.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource:...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> namespace CWE114_Process_Control__w32_char_console_62 { #ifndef VAR_1 void VAR_2(char * &VAR_3); void VAR_2() { char * VAR_4; char VAR_5[100] = ""; VAR_4 = VAR_5; VAR_3(VAR_4); { TYPE_1 VAR_7; VAR_7 = Lo...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 17, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "data", "to": "badSource", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "data...
afef713445da73bfb0a158ad0bfe1e8386eec25c7c93a1ceafbd7dca451b343a
2026-06-02T15:25:53.868134+00:00
1534d891-4482-47bc-ab1d-ec911796cfc3
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_62b.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-62b.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource:...
#include "std_testcase.h" #include <wchar.h> namespace CWE114_Process_Control__w32_char_console_62 { #ifndef VAR_1 void VAR_2(char * &VAR_3) { { size_t VAR_4 = VAR_5(VAR_3); if (100-VAR_4 > 1) { if (fgets(VAR_3+VAR_4, (int)(100-VAR_4), stdin) != NULL) { ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 8, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type":...
f37a6c8e448b5fae38f6fe26d439ffe422a1824078ed4ed4e21130bb8aebff20
2026-06-02T15:25:54.605059+00:00
475198f1-a217-4bfb-b76e-a1d98fb0d19d
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_63a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-63a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * * VAR_3); void VAR_1() { char * VAR_4; char VAR_5[100] = ""; VAR_4 = VAR_5; { size_t VAR_6 = VAR_8(VAR_4); if (100-VAR_6 > 1) { if (fgets(VAR_4+VAR_6, (int)...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 16, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t...
04c523967d9241e793d1f6e820b38c9c41604889042b4376e466a9a7d32f6f72
2026-06-02T15:25:55.296441+00:00
6c87441a-c5da-4701-83dc-efaddb1273e4
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_63b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-63b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * * VAR_3) { char * VAR_3 = *VAR_4; { TYPE_2 VAR_6; VAR_6 = LoadLibraryA(VAR_4); if (VAR_6 != NULL) { VAR_2(VAR_7); VAR_8("Library loaded and freed...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 10, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"...
e410c70d3ccfa1358514f4f515f74602d569c3219769d8c816aa2eea22482a39
2026-06-02T15:25:55.983959+00:00
d4a49575-999f-46b2-a1af-d932f7737567
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_64a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-64a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(void * VAR_3); void VAR_1() { char * VAR_4; char VAR_5[100] = ""; VAR_4 = VAR_5; { size_t VAR_6 = VAR_8(VAR_4); if (100-VAR_6 > 1) { if (fgets(VAR_4+VAR_6, (int)(1...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 16, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t...
7352845dd3bfe517067169ec3b5c764043b2a04787485c62bf025413739ac9dd
2026-06-02T15:25:56.653676+00:00
baa9d9e4-54bf-4f0d-b2e4-15302db823f2
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_64b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-64b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(void * VAR_3) { char * * VAR_3 = (char * *)VAR_4; char * VAR_3 = (*VAR_4); { TYPE_2 VAR_7; VAR_7 = LoadLibraryA(VAR_4); if (VAR_7 != NULL) { VAR_2(VAR_8); ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 11, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"...
61291e1058ee5e78f870b031aa4e5b7ecb224d4b6789e3e4399085e359eb5dec
2026-06-02T15:25:57.378189+00:00
753ee2d6-b22f-42cb-8e76-8fd23748555d
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_65a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-65a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * VAR_3); void VAR_1() { char * VAR_4; void (*VAR_5) (char *) = VAR_2; char VAR_5[100] = ""; VAR_4 = VAR_5; { size_t VAR_6 = VAR_8(VAR_4); if (100-VAR_6 > 1) { ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 16, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t...
d0090a9e8919b9ce24b67327263690c50f52a3a71d57ae68a268db9f1908ed5c
2026-06-02T15:25:58.172845+00:00
09f06e95-b45f-4754-bf6d-ea2b34f8fec9
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_65b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-65b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * VAR_3) { { TYPE_2 VAR_5; VAR_5 = LoadLibraryA(VAR_4); if (VAR_5 != NULL) { VAR_2(VAR_6); VAR_7("Library loaded and freed successfully"); } ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 9, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"...
34577fdbc5dfb9bbd1324868870f782d958884b243a08c9a2881276ae5afc9c3
2026-06-02T15:25:58.951638+00:00
cb2dda69-871e-46e7-b06f-d955115ad308
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_66a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-66a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * VAR_3[]); void VAR_1() { char * VAR_4; char * VAR_5[5]; char VAR_6[100] = ""; VAR_4 = VAR_6; { size_t VAR_7 = VAR_8(VAR_4); if (100-VAR_7 > 1) { if (fg...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 16, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t...
0e0a0375e503dda6b15c21d2a5a2b7eb250e0895a4d22954bd09fea2ff9e5bec
2026-06-02T15:25:59.647402+00:00
bd719c93-8fbf-46a6-91c2-91b48efe2c54
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_66b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-66b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 void VAR_1(char * VAR_3[]) { char * VAR_3 = VAR_4[2]; { TYPE_2 VAR_6; VAR_6 = LoadLibraryA(VAR_4); if (VAR_6 != NULL) { VAR_2(VAR_7); VAR_8("Library loaded and fre...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 10, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"...
543c7ba56ed35fdfdf617ca36ca9ab65496d077f7c88bf6a71b486612386647b
2026-06-02T15:26:00.290264+00:00
5f4ea381-3450-4d84-8aae-fbab8fa1a7fb
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_67a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-67a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> typedef struct TYPE_1 { char * VAR_2; } TYPE_1; #ifndef VAR_2 void VAR_2(TYPE_1 VAR_5); void VAR_1() { char * VAR_6; TYPE_2 VAR_7; char VAR_7[100] = ""; VAR_6 = VAR_7; { size_t VAR_8 = VAR_10(VAR_6); ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 19, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t...
f6ba76f2e13a3c23e36d0dd5817f596e66421de8f8975eec41e448e5fcf229a2
2026-06-02T15:26:01.032270+00:00
ad8b5673-2d1d-4af6-9e26-fe120db08695
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_67b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-67b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> typedef struct TYPE_1 { char * VAR_2; } TYPE_1; #ifndef VAR_2 void VAR_2(TYPE_1 VAR_5) { char * VAR_5 = VAR_6.VAR_7; { TYPE_3 VAR_7; VAR_7 = LoadLibraryA(VAR_6); if (VAR_7 != NULL) { ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 13, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"...
a0fabaf8069c9c2136f42599f679f00be016eef07e2aebf0c7dd059ce68fc0ea
2026-06-02T15:26:01.712466+00:00
a75b9637-7a55-4ec7-81a4-47b55bd0bdc2
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_68a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-68a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> char * VAR_1; char * VAR_2; #ifndef VAR_3 void VAR_3(); void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; { size_t VAR_8 = VAR_9(VAR_6); if (100-VAR_8 > 1) { if (fgets(VA...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 17, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t...
59ca73e9caf1f8d154814b6a84710c4e6b6574266ac0fd71101b1eda2709dac9
2026-06-02T15:26:02.432522+00:00
d56e8296-fb6e-4eb2-a2da-c7b7c3903d2b
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_68b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-68b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Har...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> extern char * VAR_1; extern char * VAR_2; #ifndef VAR_3 void VAR_3() { char * VAR_5 = VAR_1; { TYPE_4 VAR_7; VAR_7 = LoadLibraryA(VAR_6); if (VAR_7 != NULL) { VAR_4(VAR_8); VA...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 11, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "CWE114_Process_Control__w32_char_console_68_badData", "to": "data", "type": "assignment"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "CWE114_Process_Contro...
b8c08e802ca8b04e65db9099c4c22e0b727c85b0098b72c42c6a43c36d56368c
2026-06-02T15:26:03.131401+00:00
31a75363-b82a-4d72-94b6-3f01f90e2258
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_72a.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-72a.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource:...
#include "std_testcase.h" #include <vector> #include <wchar.h> using namespace std; namespace CWE114_Process_Control__w32_char_console_72 { #ifndef VAR_1 void VAR_2(vector<char *> VAR_3); void VAR_2() { char * VAR_4; vector<char *> VAR_5; char VAR_5[100] = ""; VAR_4 = VAR_5; { ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 19, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t...
48e76f5116f332c651e038569661768f2fffc1ddb7363e64a38e1217da153b59
2026-06-02T15:26:03.778688+00:00
1a77a0ee-3dbc-4cb6-934c-a1b4de3e86f2
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_72b.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-72b.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource:...
#include "std_testcase.h" #include <vector> #include <wchar.h> #include <windows.h> using namespace std; namespace CWE114_Process_Control__w32_char_console_72 { #ifndef VAR_1 void VAR_2(vector<char *> VAR_3) { char * VAR_3 = VAR_4[2]; { TYPE_1 VAR_6; VAR_6 = LoadLibraryA(VAR_4); ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 10, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"...
76f045789307efdf822f027284b0bea97aa39095ac4dab5f33826706fad72dfa
2026-06-02T15:26:04.453611+00:00
fd126693-ee5c-41dc-92af-af371aafc636
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_73a.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-73a.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource:...
#include "std_testcase.h" #include <list> #include <wchar.h> using namespace std; namespace CWE114_Process_Control__w32_char_console_73 { #ifndef VAR_1 void VAR_2(TYPE_3<char *> VAR_3); void VAR_2() { char * VAR_4; TYPE_6<char *> VAR_5; char VAR_5[100] = ""; VAR_4 = VAR_5; { s...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 19, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t...
37dcce4fcf52794405740da3268944b0b299254ae452f6761a3194e7b0b7ea0c
2026-06-02T15:26:05.132823+00:00
69c639c7-f03e-45a1-b5f3-2a5c8de2c296
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_73b.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-73b.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource:...
#include "std_testcase.h" #include <list> #include <wchar.h> #include <windows.h> using namespace std; namespace CWE114_Process_Control__w32_char_console_73 { #ifndef VAR_1 void VAR_2(TYPE_3<char *> VAR_3) { char * VAR_3 = VAR_4.VAR_2(); { TYPE_1 VAR_7; VAR_7 = LoadLibraryA(VAR_5); ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 12, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataList.back", "to": "data", "type": "assignment"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "dataList.back", "to": "data", "type": "assignment"}, {"from...
1f7ac2d8cc9ef69edce0fe433af1b048e456f56f0c78911f5c74052655a4c03c
2026-06-02T15:26:05.754973+00:00
7042f297-171a-493b-ac8b-c2c1b42ff0f5
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_74a.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-74a.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource:...
#include "std_testcase.h" #include <map> #include <wchar.h> using namespace std; namespace CWE114_Process_Control__w32_char_console_74 { #ifndef VAR_1 void VAR_2(TYPE_3<int, char *> VAR_3); void VAR_2() { char * VAR_4; TYPE_6<int, char *> VAR_5; char VAR_5[100] = ""; VAR_4 = VAR_5; { ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 18, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t...
b1b92a888a89bd34344a56695a5a8c03723d24a012f8c413255e13cdc569481e
2026-06-02T15:26:06.429212+00:00
58606ca5-0ab8-4119-a046-924e0e9dafa3
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_74b.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-74b.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource:...
#include "std_testcase.h" #include <map> #include <wchar.h> #include <windows.h> using namespace std; namespace CWE114_Process_Control__w32_char_console_74 { #ifndef VAR_1 void VAR_2(TYPE_3<int, char *> VAR_3) { char * VAR_3 = VAR_4[2]; { TYPE_1 VAR_6; VAR_6 = LoadLibraryA(VAR_4); ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 11, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"...
b617c6ef91d88dac4b9bbee4421f652056e39bcc21df4163441e7195964f5496
2026-06-02T15:26:07.191129+00:00
e416a119-68af-4992-9bf1-8d7e03b13645
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_81.h Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-81.tmpl.h */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Hard ...
#include "std_testcase.h" #include <wchar.h> namespace CWE114_Process_Control__w32_char_console_81 { class TYPE_1 { public: virtual void VAR_2(char * VAR_3) const = 0; }; #ifndef VAR_2 class TYPE_1 : public TYPE_2 { public: void VAR_4(char * VAR_5) const; }; #endif #ifndef VAR_4 class TYPE_3 :...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 7, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[]
b4b3853f1286ad4dddc3c546447e93fb59718239c3d014cc65325e500264929e
2026-06-02T15:26:07.808524+00:00
ed70fefe-0b19-43e9-8022-20a02d973722
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_81_bad.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-81_bad.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodS...
#ifndef VAR_1 #include "std_testcase.h" #include "CWE114_Process_Control__w32_char_console_81.h" #include <windows.h> namespace CWE114_Process_Control__w32_char_console_81 { void CWE114_Process_Control__w32_char_console_81_bad::VAR_2(char * VAR_3) const { { TYPE_1 VAR_5; VAR_5 = LoadLibrar...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 7, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}]
3251e9f3f64ce836644a6ae594e6056e057ad6c64fc97222e562200c86c34c47
2026-06-02T15:26:08.516095+00:00
96a4c815-75e6-4aa7-99f0-4485169cd43b
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_81_goodG2B.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-81_goodG2B.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console ...
#ifndef VAR_1 #include "std_testcase.h" #include "CWE114_Process_Control__w32_char_console_81.h" #include <windows.h> namespace CWE114_Process_Control__w32_char_console_81 { void CWE114_Process_Control__w32_char_console_81_goodG2B::VAR_2(char * VAR_3) const { { TYPE_1 VAR_5; VAR_5 = LoadLi...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 7, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}]
66748186b3185369f234232d1bbf1175f9d4732ea401e815e81ee86cd7db1ab9
2026-06-02T15:26:09.145520+00:00
fe4ae4ba-d056-48f5-bb51-56e4675e5fab
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_81a.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-81a.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource:...
#include "std_testcase.h" #include "CWE114_Process_Control__w32_char_console_81.h" namespace CWE114_Process_Control__w32_char_console_81 { #ifndef VAR_1 void VAR_2() { char * VAR_3; char VAR_4[100] = ""; VAR_3 = VAR_4; { size_t VAR_5 = VAR_6(VAR_3); if (100-VAR_5 > 1) ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 19, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t...
4347cd3fcf40c181943ebbc6bd27e1f7b853729ce3c52616049c638497d6cffb
2026-06-02T15:26:09.931850+00:00
7cf06275-a604-4ce7-b4bc-60da59c0f376
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_82.h Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-82.tmpl.h */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Hard ...
#include "std_testcase.h" #include <wchar.h> namespace CWE114_Process_Control__w32_char_console_82 { class TYPE_1 { public: virtual void VAR_2(char * VAR_3) = 0; }; #ifndef VAR_2 class TYPE_1 : public TYPE_2 { public: void VAR_4(char * VAR_5); }; #endif #ifndef VAR_4 class TYPE_3 : public TYPE...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 7, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[]
b5fb38f24bfe87819997368d424bc4ca2c80cde0810419934580bb4957c3554c
2026-06-02T15:26:10.605193+00:00
70afe67c-b52a-4a23-b89c-a41106b3be3c
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_82_bad.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-82_bad.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodS...
#ifndef VAR_1 #include "std_testcase.h" #include "CWE114_Process_Control__w32_char_console_82.h" #include <windows.h> namespace CWE114_Process_Control__w32_char_console_82 { void CWE114_Process_Control__w32_char_console_82_bad::VAR_2(char * VAR_3) { { TYPE_1 VAR_5; VAR_5 = LoadLibraryA(VAR...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 7, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}]
a320fdf7ad8de41b8353a43e367af72af1e8622eca7c3948d738ad63703544b3
2026-06-02T15:26:11.359137+00:00
20574ffb-7489-459d-94c9-c1378a4a6907
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_82_goodG2B.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-82_goodG2B.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console ...
#ifndef VAR_1 #include "std_testcase.h" #include "CWE114_Process_Control__w32_char_console_82.h" #include <windows.h> namespace CWE114_Process_Control__w32_char_console_82 { void CWE114_Process_Control__w32_char_console_82_goodG2B::VAR_2(char * VAR_3) { { TYPE_1 VAR_5; VAR_5 = LoadLibraryA...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 7, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}]
1b2f6ef9f653975787b09bdf4923e5c5a2a32879549a76c9d79dbf2512632282
2026-06-02T15:26:12.034273+00:00
1c09c205-716c-4a31-8ade-b61dd68a6baa
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_82a.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-82a.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource:...
#include "std_testcase.h" #include "CWE114_Process_Control__w32_char_console_82.h" namespace CWE114_Process_Control__w32_char_console_82 { #ifndef VAR_1 void VAR_2() { char * VAR_3; char VAR_4[100] = ""; VAR_3 = VAR_4; { size_t VAR_5 = VAR_6(VAR_3); if (100-VAR_5 > 1) ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 19, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "t...
7b574fc6552decc6ac5aa7eb77170dffcf1c8c6a31f2ab6fdfddb01c08131305
2026-06-02T15:26:12.750112+00:00
5d3d3522-e5ca-4816-af3e-6376f5a5bedf
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_83.h Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-83.tmpl.h */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Hard ...
#include "std_testcase.h" #include <wchar.h> namespace CWE114_Process_Control__w32_char_console_83 { #ifndef VAR_1 class TYPE_1 { public: VAR_1(char * VAR_3); ~VAR_1(); private: char * VAR_3; }; #endif #ifndef VAR_3 class TYPE_2 { public: VAR_2(char * VAR_6); ~VAR_2(); private: ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 6, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[]
99eb62e145445b84df6208e902342306a810f8c36d7c1ec23ae010c81d9289e4
2026-06-02T15:26:13.445415+00:00
9f464aa7-0245-40b8-96f8-89c25c82d9e4
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_83_bad.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-83_bad.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodS...
#ifndef VAR_1 #include "std_testcase.h" #include "CWE114_Process_Control__w32_char_console_83.h" #include <windows.h> namespace CWE114_Process_Control__w32_char_console_83 { CWE114_Process_Control__w32_char_console_83_bad::VAR_1(char * VAR_3) { VAR_3 = VAR_4; { size_t VAR_5 = VAR_6(VAR_3); ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 10, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataCopy", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "typ...
f492b040a2ce78f1203eb6fd43a41a74b45d9eebddb1c78c9952680163da94f3
2026-06-02T15:26:14.092032+00:00
ba0a2f21-ed42-455c-9789-f44020264c9d
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_83_goodG2B.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-83_goodG2B.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console ...
#ifndef VAR_1 #include "std_testcase.h" #include "CWE114_Process_Control__w32_char_console_83.h" #include <windows.h> namespace CWE114_Process_Control__w32_char_console_83 { CWE114_Process_Control__w32_char_console_83_goodG2B::VAR_1(char * VAR_3) { VAR_3 = VAR_4; strcpy(VAR_3, "C:\\Windows\\System32\\w...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 8, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataCopy", "to": "data", "type": "propagation"}, {"from": "data", "to": "strcpy", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}]
1045179ed9720a0f73665fe6b1fee3c2bfcd42a95bbcaba150417ee2374d8bd4
2026-06-02T15:26:14.781837+00:00
ced71d9e-2c03-4174-80f2-f91c88688947
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_83a.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-83a.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource:...
#include "std_testcase.h" #include "CWE114_Process_Control__w32_char_console_83.h" namespace CWE114_Process_Control__w32_char_console_83 { #ifndef VAR_1 void VAR_2() { char * VAR_3; char VAR_4[100] = ""; VAR_3 = VAR_4; TYPE_1 VAR_4(TYPE_5); } #endif #ifndef VAR_3 static void VAR_8() { ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 16, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "dataBuffer", "to": "data", "type": "propagation"}]
a4ade42aea395bfd929cc541a8cc8f7c611f7500925a72f24ada6b36bb17de5d
2026-06-02T15:26:15.558852+00:00
7a69e21c-3ca3-4fbd-9b93-0728ad687139
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_84.h Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-84.tmpl.h */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource: Hard ...
#include "std_testcase.h" #include <wchar.h> namespace CWE114_Process_Control__w32_char_console_84 { #ifndef VAR_1 class TYPE_1 { public: VAR_1(char * VAR_3); ~VAR_1(); private: char * VAR_3; }; #endif #ifndef VAR_3 class TYPE_2 { public: VAR_2(char * VAR_6); ~VAR_2(); private: ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 6, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[]
02139218d485da47b7bf26cadc30693118fc23a7da35414db081b367a84b9dc8
2026-06-02T15:26:16.211906+00:00
296d8c5c-1717-4139-81d4-b7bc153f8384
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_84_bad.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-84_bad.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodS...
#ifndef VAR_1 #include "std_testcase.h" #include "CWE114_Process_Control__w32_char_console_84.h" #include <windows.h> namespace CWE114_Process_Control__w32_char_console_84 { CWE114_Process_Control__w32_char_console_84_bad::VAR_1(char * VAR_3) { VAR_3 = VAR_4; { size_t VAR_5 = VAR_6(VAR_3); ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 10, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataCopy", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "stdin", "to": "fgets", "type": "call_arg"}, {"from": "strlen", "to": "dataLen", "typ...
519141d60544c15acce7a014590a7e745035fdc9e7577074906bb63b9bbb8742
2026-06-02T15:26:16.955393+00:00
363d25d2-0ca5-4df0-aa33-c0bb0bca1119
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_84_goodG2B.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-84_goodG2B.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console ...
#ifndef VAR_1 #include "std_testcase.h" #include "CWE114_Process_Control__w32_char_console_84.h" #include <windows.h> namespace CWE114_Process_Control__w32_char_console_84 { CWE114_Process_Control__w32_char_console_84_goodG2B::VAR_1(char * VAR_3) { VAR_3 = VAR_4; strcpy(VAR_3, "C:\\Windows\\System32\\w...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 8, "risk_scoring": {"base_score": 5.0, "attack_surface": 0.5, "asset_criticality": 1.0, "final_calculated_risk": 2.5, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataCopy", "to": "data", "type": "propagation"}, {"from": "data", "to": "strcpy", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}]
d322f05f2dcbd26c175b2e50c9d77b8263fa59ebcab38e4446ec3f050323e1d0
2026-06-02T15:26:17.625185+00:00
eac8666d-907a-41a6-bdc5-8c9cbf7a0487
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_console_84a.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-84a.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: console Read input from the console * GoodSource:...
#include "std_testcase.h" #include "CWE114_Process_Control__w32_char_console_84.h" namespace CWE114_Process_Control__w32_char_console_84 { #ifndef VAR_1 void VAR_2() { char * VAR_3; char VAR_4[100] = ""; VAR_3 = VAR_4; TYPE_1 * VAR_4 = new TYPE_1(VAR_5); delete VAR_4; } #endif #ifndef...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 16, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "dataBuffer", "to": "data", "type": "propagation"}]
94345fd581ee3515e0ce4967297a6eae58c90966e70d2866c884e69a989ca645
2026-06-02T15:26:18.377190+00:00
3b6ae933-5327-456b-9e00-310080ffa337
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_01.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-01.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; { size_t VAR_8 = VAR_9(VAR_6); char *...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 20, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
933435d8946c8e20900f0fbd28a57adda65da45385bcbcf4e69f580767a4e594
2026-06-02T15:26:19.126168+00:00
3c1ab629-8708-4a0b-b22e-255740bbbad1
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_02.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-02.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; if(1) { { size_t VAR_8 = VAR...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 21, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
47b9dd91660bff18cbb6035c7caa119ec02deba0ebe92ea7142cf6a106a30ace
2026-06-02T15:26:19.783715+00:00
d199420f-82e9-4341-9373-493dbc05f086
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_03.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-03.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; if(5==5) { { size_t VAR_8 = ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 21, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
bd951c91127ee1f6ec306c77726dfd5b95bfb452768a7c363a2b9937184ba7bd
2026-06-02T15:26:20.467247+00:00
7b537803-cd47-4c28-9763-d0111af0ba51
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_04.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-04.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> static const int VAR_3 = 1; static const int VAR_3 = 0; #ifndef VAR_3 void VAR_1() { char * VAR_8; char VAR_9[100] = ""; VAR_8 = VAR_9; ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 23, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
6a252415f37ff70a8faf23b5fcfa7aef0bac56ac5c6eb43f59553f78f12d8166
2026-06-02T15:26:21.220147+00:00
c7799fd6-df6a-4e4c-8669-de07ed846cb7
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_05.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-05.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> static int VAR_4 = 1; static int VAR_4 = 0; #ifndef VAR_3 void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; if(VAR_...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 23, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
b4b90cc1a5b720d99c917d9049feaeae7bb6ae662ed98089d9fb29307d5de451
2026-06-02T15:26:22.151511+00:00
454a9b32-d884-487c-b504-86f032ddc2c8
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_06.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-06.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> static const int VAR_3 = 5; #ifndef VAR_3 void VAR_1() { char * VAR_7; char VAR_8[100] = ""; VAR_7 = VAR_8; if(VAR_5==5) { ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 22, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
b51a24eb3e52f481d4f22b5b85b64995e4327793f227e35e1912c6a6800a1c37
2026-06-02T15:26:22.915536+00:00
393ed053-2113-40a8-a0de-fc78aa88bf29
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_07.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-07.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> static int VAR_4 = 5; #ifndef VAR_3 void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; if(VAR_8==5) { { ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 22, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
9b61a3b6c3d780b19e21369f8b2669b7a58d7138a3d7aef9636efe2b39143dc6
2026-06-02T15:26:23.657395+00:00
b1c8f17c-23c3-409b-ae5d-7c2d8b0eba4c
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_08.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-08.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> static int VAR_4() { return 1; } static int VAR_4() { return 0; } #ifndef VAR_3 void VAR_1() { char * VAR_6; char VAR_7[100] = ""...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 23, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
6bdd868bd68f4d7772f67cd57a6132f07b3a6539ed170e49b7ce4e098f3a090f
2026-06-02T15:26:24.345358+00:00
01b597a9-5fc2-481d-89c4-31132a6d1fe1
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_09.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-09.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; if(VAR_4) { { size_t VAR_9 =...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 23, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
db46dd0224e189dc575f6267ad84c2d4b77339e957f44af69b3a884b763c2cd3
2026-06-02T15:26:25.125896+00:00
e7fed6c8-84df-4372-afc1-399127447530
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_10.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-10.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; if(VAR_8) { { size_t VAR_8 =...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 23, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
bb464cc7c802d69bf48edefddf525bac330305b8929fe42b099dcf89429442ff
2026-06-02T15:26:25.803644+00:00
070cf313-0ac0-48a2-bdc4-f659cc61864e
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_11.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-11.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; if(VAR_8()) { { size_t VAR_8...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 23, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
56fc0a35d6680be42756eb5a15ad162cd36d91bced23d37b4a783676ce846982
2026-06-02T15:26:26.457964+00:00
aa33671b-8de4-4439-aa8c-a112df797ab0
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_12.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-12.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; if(VAR_8()) { { size_t VAR_8...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 21, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
88c153c01b5bbcbe2cc1b9c2ae94fd9ae9797d8e42f59c1b5d2c3db978823b95
2026-06-02T15:26:27.152196+00:00
4e74cd82-c213-483a-a66b-f92c5b482277
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_13.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-13.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; if(VAR_4==5) { { size_t VAR_...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 22, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
8aa32bc8eb49816091ae4605139639c4d266cbfcbdf016dda2c6e964bc65552f
2026-06-02T15:26:27.816490+00:00
cdbc5432-7165-4d07-8a30-5142b51c12ab
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_14.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-14.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; if(VAR_8==5) { { size_t VAR_...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 22, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
44d826d9168d8092daa2a7bcd52f0ed9f55281b232b76dd6483535fc3b427248
2026-06-02T15:26:28.524340+00:00
22bf5cc4-793f-46fd-8811-a2baa097da07
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_15.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-15.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; switch(6) { case 6: { size_t VA...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 21, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
3a2fd0a11c40aca6f58df04914833f6143e8a3ace7d66eac786ef5664f698887
2026-06-02T15:26:29.258054+00:00
72c9b8c1-a3bd-412a-89ae-e8faad84e76d
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_16.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-16.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; while(1) { { size_t VAR_8 = ...
owasp_secnorm
n
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 20, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
b17a5283625f0e786702f9b54202af722057ae7d078c1b6d0d48e5d52707fed4
2026-06-02T15:26:29.919177+00:00
3faa6db9-d0cd-4844-a3d3-362176e21d78
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_17.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-17.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1() { int VAR_6; char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; for(VAR_8 = 0; VAR_8 < 1; VAR_8++) ...
owasp_secnorm
n
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 22, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
7074cf3bd9de29ddf4ba9458cf69e4b3a553658b09cc400af2f0ae6671eaeef1
2026-06-02T15:26:30.573201+00:00
0195796c-afff-4972-bd56-1173ef57fa51
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_18.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-18.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; goto source; source: { size_t VAR_8 = VA...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 20, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
d048eb2a5383fc93a347b75ac4ebfe92fe6e5ccc975b3e3d584ab9cb339d8b90
2026-06-02T15:26:31.289479+00:00
a8522f15-5f1f-4506-abe4-a07a3f4be70a
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_21.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-21.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 static int VAR_5 = 0; static char * VAR_5(char * VAR_7) { if(VAR_6) { { size_t VAR_8 = VAR_9(VAR_7); ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 27, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to": "strncat", "type": "call_arg"}, {"from": "environment", "t...
241515231f65094f3e1dcd983b74bc301ff275d9d7809224a1df9039c9d3aa75
2026-06-02T15:26:31.995784+00:00
a4b0b759-7c6a-40f5-8017-d2204d406fb7
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_22a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-22a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> #ifndef VAR_1 int VAR_1 = 0; char * VAR_2(char * VAR_4); void VAR_1() { char * VAR_5; char VAR_6[100] = ""; VAR_5 = VAR_6; VAR_2 = 1; VAR_5 = VAR_3(VAR_5); { TYPE_4 VAR_8; VAR_8 = LoadLibraryA(VAR_6...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 21, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "CWE114_Process_Control__w32_char_environment_22_badSource", "to": "data", "type": "assignment"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_environment_22_badSource", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "typ...
a964f16b96c05c15931fdb9e12ee732c2576ac8044b04966dffbab82e6da4fe2
2026-06-02T15:26:32.626315+00:00
5fba3990-79fe-4edb-a696-ae2eabbbf7cc
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_22b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-22b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #ifndef VAR_3 extern int VAR_1; char * VAR_2(char * VAR_7) { if(VAR_1) { { size_t VAR_8 = VAR_9(VAR_7); char * VAR_9 = VAR_4(VAR_3)...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 16, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to": "strncat", "type": "call_arg"}, {"from": "environment", "t...
d16f9720aa7f2ca4c582bee883df95d51d0d7be32afc8ed1a3058044b2149bcb
2026-06-02T15:26:33.331553+00:00
b04ae6c7-c6eb-436e-a282-0cab459abdca
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_31.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-31.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; { size_t VAR_8 = VAR_9(VAR_6); char *...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 21, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
af3af523f115c37ebc66894bb9826813e723258561d9f02cf69d6e32586a1496
2026-06-02T15:26:33.988316+00:00
5e5bb708-ae26-4231-9d26-60d378090697
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_32.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-32.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1() { char * VAR_6; char * *VAR_7 = &VAR_6; char * *VAR_8 = &VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 22, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
b63978b88136f127b142d2d0ece504b964cc116fdbc477965901afa3f301540c
2026-06-02T15:26:34.697525+00:00
436598e5-b295-4c92-addc-cfa7aa0c891d
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_33.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-33.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variab...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> namespace CWE114_Process_Control__w32_char_environment_33 { #ifndef VAR_3 void VAR_5() { char * VAR_6; char * &VAR_7 = VAR_6; char VAR_7[1...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 22, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
1fe0267eb9d16460be494c2c7038215111afa5fb2634ad4dba2a05250e342708
2026-06-02T15:26:35.508521+00:00
ed666c43-91b9-43e7-87d6-5c84aa454621
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_34.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-34.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> typedef union { char * VAR_4; char * VAR_5; } TYPE_1; #ifndef VAR_4 void VAR_1() { char * VAR_7; TYPE_2 VAR_8; char VAR_8[100] ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 24, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
032ab286c66daf5d79a88403701b6051199a6a14d85f1a911dd7f3c60a68fe73
2026-06-02T15:26:36.156753+00:00
0e503766-6910-4504-bf75-30ac9f8ba8cc
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_41.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-41.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1(char * VAR_6) { { TYPE_4 VAR_8; VAR_8 = LoadLibraryA(VAR_7); if (VAR_8 != NULL) { ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 22, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "da...
699d46f3efe50dcdd2ad35459012529b818149991ee5d21c342343c0c065dbcb
2026-06-02T15:26:36.847215+00:00
a091e577-2731-4cf2-8153-947013e3ad4d
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_42.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-42.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 static char * VAR_5(char * VAR_6) { { size_t VAR_7 = VAR_8(VAR_6); char * VAR_8 = VAR_2(VAR_1); if (VAR_8 != ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 22, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to": "strncat", "type": "call_arg"}, {"from": "environment", "t...
7b0cd7181dc208e889f0e076f0094a2cd02553dd979ace4c6427e9436a9d5fc7
2026-06-02T15:26:37.511927+00:00
484287c6-23eb-4f78-8e5d-c0ba7dccc377
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_43.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-43.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variab...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> namespace CWE114_Process_Control__w32_char_environment_43 { #ifndef VAR_3 static void VAR_5(char * &VAR_6) { { size_t VAR_7 = VAR_8(VAR_6);...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 23, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to": "strncat", "type": "call_arg"}, {"from": "environment", "t...
64f2aa84efd7d2eb13d9379af692ffc761c5d3d1c0a8ddb51a6cd17672e9ee40
2026-06-02T15:26:38.315164+00:00
7e52a2d2-d454-4723-b4ea-64eab6caad76
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_44.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-44.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 static void VAR_5(char * VAR_6) { { TYPE_3 VAR_8; VAR_8 = LoadLibraryA(VAR_7); if (VAR_8 != NULL) { ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 23, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "da...
fe1195aef381e1adba7265e55d4839cb534979c9b522189bb03ba6b3fed24fe6
2026-06-02T15:26:38.977426+00:00
8944b322-f834-4738-baad-dc3d8817db14
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_45.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-45.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> static char * VAR_1; static char * VAR_2; #ifndef VAR_5 static void VAR_7() { char * VAR_8 = VAR_1; { TYPE_5 VAR_10; VAR_10 =...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 24, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "CWE114_Process_Control__w32_char_environment_45_badData", "to": "data", "type": "assignment"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "dataBuffer", "to"...
fac32a7397cf0ee86002da8465b91772de659a4e18ce99d7fcba0b9ab76bf000
2026-06-02T15:26:39.673245+00:00
357d420b-94eb-4d4a-a5f6-dcf0677bee7f
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_51a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-51a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1(char * VAR_6); void VAR_1() { char * VAR_7; char VAR_8[100] = ""; VAR_7 = VAR_8; { size_t VAR_9 = VA...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 19, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
f679e29437fb5c3780935db3e518ecc6d20e14b890c404ecea65435d4513c8e4
2026-06-02T15:26:40.443999+00:00
d721152a-3fe5-4ae6-abc7-e4cd328728a7
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_51b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-51b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1(char * VAR_6) { { TYPE_4 VAR_8; VAR_8 = LoadLibraryA(VAR_7); if (VAR_8 != NULL) { ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 12, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"...
09c4112e6e72a0eba2b8c53238d0ab688997fe0a55865a12c0d300c321817684
2026-06-02T15:26:41.483925+00:00
a12d3d69-b641-489f-b1ce-b8b4087bee48
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_52a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-52a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1(char * VAR_6); void VAR_1() { char * VAR_7; char VAR_8[100] = ""; VAR_7 = VAR_8; { size_t VAR_9 = VA...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 19, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
02f2a13a42c812af58c9b3e3b5d99322c47a13a1f76942514fdcf01c49ac629e
2026-06-02T15:26:42.127323+00:00
22e2fba5-94b5-41a0-963e-2f0a2a530219
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_52b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-52b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1(char * VAR_6); void VAR_1(char * VAR_7) { VAR_2(VAR_7); } #endif #ifndef VAR_6 void VAR_3(char * VAR_9); void VAR_2(ch...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 10, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "data", "to": "CWE114_Process_Control__w32_char_environment_52c_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_environment_52c_goodG2BSink", "type": "call_arg"}]
18c54fcde92f6ff18eaa2eb90c5a9f1d533c98d0ae37017246e7b69400f4c736
2026-06-02T15:26:42.857298+00:00
e6b4ec0e-3935-40f7-9d47-1c13b41cdfe0
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_52c.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-52c.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1(char * VAR_6) { { TYPE_4 VAR_8; VAR_8 = LoadLibraryA(VAR_7); if (VAR_8 != NULL) { ...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 12, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from": "hModule", "to": "FreeLibrary", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignment"}, {"from": "data", "to": "LoadLibraryA", "type": "call_arg"}, {"from"...
6b4cc97e4e4dc8482f091b5fad380d309b1cd5196bc0309900b9ed0ff1196284
2026-06-02T15:26:43.593748+00:00
92e1b3c3-f080-421c-bd62-403e99f2327d
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_53a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-53a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> #ifndef VAR_3 void VAR_1(char * VAR_6); void VAR_1() { char * VAR_7; char VAR_8[100] = ""; VAR_7 = VAR_8; { size_t VAR_9 = VA...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 19, "risk_scoring": {"base_score": 5.0, "attack_surface": 1.0, "asset_criticality": 1.0, "final_calculated_risk": 5.0, "cwe_id": "CWE-114", "is_vulnerable": true}}
[{"from": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to...
d7d80e79f79468d1f2ba28dcf5b5d195e6019837e4f5cd99bddeb02dad051592
2026-06-02T15:26:44.370529+00:00