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
3735a2ba-add7-439b-9e57-84b90290897a
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_53b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-53b.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_53c_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_environment_53c_goodG2BSink", "type": "call_arg"}]
e627bfff72eac0a23f69b883ec0e1398803042d7a05dc48dbd62b5592dc73005
2026-06-02T15:26:45.060478+00:00
d871faca-fca7-4c33-89e0-13edd440817d
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_53c.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-53c.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_53d_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_environment_53d_goodG2BSink", "type": "call_arg"}]
4662666fc20c42e14094dca35fef43102ec0c52de25a719f6d1f805ff9791737
2026-06-02T15:26:45.748281+00:00
7c0b78b3-a496-40fa-91be-b29c550efb3e
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_53d.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-53d.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"...
5df75a2679faa6ef5c95106dc7940849eb0dea32527e5e597e58415a79ed9023
2026-06-02T15:26:46.506525+00:00
5f8d8593-f964-4eff-af14-8c8465dcb2d9
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_54a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-54a.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...
405d027221e19aba5362fb031ea0834431400787becfe0245eaf8ecbb03b9a8e
2026-06-02T15:26:47.172104+00:00
9e14ad56-684d-4507-bb9c-3b79d92a43ab
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_54b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-54b.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_54c_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_environment_54c_goodG2BSink", "type": "call_arg"}]
0165f9ae951abc1030ca858c9e32a6d66fa1508621f4be1fe47e72b8b4c5495b
2026-06-02T15:26:47.895649+00:00
34427e3d-beb4-436c-bf21-8fdbfa194b56
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_54c.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-54c.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_54d_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_environment_54d_goodG2BSink", "type": "call_arg"}]
c4a0e9c60bee9692ad3a924aea3f60d4f7062af59220a6e76e08f315017a099b
2026-06-02T15:26:48.614138+00:00
430d07fa-a5cf-45d0-b390-db02c444701a
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_54d.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-54d.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_54e_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_environment_54e_goodG2BSink", "type": "call_arg"}]
027610941aa3fb981ff206cfb8b0308210b5b9a376a939d775a3934498a7496a
2026-06-02T15:26:49.352794+00:00
ab3680cc-7c9d-41c9-babf-9e66519b5ab6
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_54e.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-54e.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"...
21a189a4857eaad75421a22192d2c84bc45a9558dc97c190fe8ab5059dc62d01
2026-06-02T15:26:50.045287+00:00
03b45b1c-b973-4a67-8e99-39d2833f8c48
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_61a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-61a.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 char * VAR_1(char * VAR_6); void VAR_1() { char * VAR_7; char VAR_8[100] = ""; VAR_7 = VAR_8; VAR_7 = VAR_2(VAR_7); ...
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": "CWE114_Process_Control__w32_char_environment_61b_badSource", "to": "data", "type": "assignment"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_environment_61b_badSource", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "t...
ca2ea558d3231076c46b25c7f311a0e631b5f4ea8bb6a70585a9ae5a607f3fd6
2026-06-02T15:26:50.750497+00:00
8a8e1e25-6bca-4881-a02f-a3a7d06a97fb
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_61b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-61b.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 char * VAR_1(char * VAR_6) { { size_t VAR_7 = VAR_8(VAR_6); char * VAR_8 = VAR_3(VAR_2); if (VAR_8 != NULL) ...
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": 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...
67c9b8519267b359aea85357961e72a138a809c6103fde06ec04b10547f77ba1
2026-06-02T15:26:51.549723+00:00
0289a56d-37a5-4b7a-ac6e-080b47715dae
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_62a.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-62a.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment vari...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> namespace CWE114_Process_Control__w32_char_environment_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 ...
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...
bda373508d0ee6d89607e62c9faeb636e3dcad74626572f8d0da348954d3f0ef
2026-06-02T15:26:52.292872+00:00
c2cfe4a3-2b3c-4f65-aa0d-71149a2aa2e3
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_62b.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-62b.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment vari...
#include "std_testcase.h" #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif namespace CWE114_Process_Control__w32_char_environment_62 { #ifndef VAR_3 void VAR_5(char * &VAR_6) { { size_t VAR_7 = VAR_8(VAR_6); char * VAR_8 = VAR_...
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": 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...
751f13421a5c5e40ec8f8e399dfbb3d2d7f8c15bcd62eeda025df8087a4183d8
2026-06-02T15:26:52.999695+00:00
76d0078f-82fc-4ff3-b2a1-0efbcc1e36c5
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_63a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-63a.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 = ...
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...
03550d3ef1a65e6e9f842b70fed0572a0322c7a6deb77da82381d6838656fb69
2026-06-02T15:26:53.728559+00:00
9a09b562-1bcd-46b8-aa62-b44387341538
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_63b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-63b.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_6 = *VAR_7; { TYPE_4 VAR_9; VAR_9 = LoadLibraryA(VAR_7); if (VAR...
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": 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"...
385ac61a543988a457e1b533bedb4a12e41d43b266dac1ce77515fa12901acd9
2026-06-02T15:26:54.437023+00:00
2b5773e8-0c6a-404e-99de-5bd596cf8c9c
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_64a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-64a.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(void * 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": 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...
13cb4d3c4a0c90ed535b40aa36a506f71c160aef91caf98e23e1b2f6cd83edc1
2026-06-02T15:26:55.231200+00:00
7a686dd7-99be-4f63-a372-227a3587503c
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_64b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-64b.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(void * VAR_6) { char * * VAR_6 = (char * *)VAR_7; char * VAR_6 = (*VAR_7); { TYPE_4 VAR_10; VAR_1...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 14, "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"...
0715cdd9a4c64a06c717d8e9e02dfbc8ebf7f71be109d8cbc44fcfe2859ae319
2026-06-02T15:26:55.947090+00:00
a34b3d04-7c10-415d-81fc-6263a370e048
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_65a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-65a.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; void (*VAR_8) (char *) = VAR_2; char VAR_8[100] = ""; VAR_7 = VAR...
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...
487ddc3835348f2942a5d41316836d6cb1a46c0bd098a587fb6d2dc1bbb26561
2026-06-02T15:26:56.628667+00:00
57ce72b3-ec67-47ef-9094-9b54fb1c9abb
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_65b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-65b.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"...
e70dd6dbcb9110e12a098aa80e8fbb4abed3884ffb9eef31646e8c816a8c9ea5
2026-06-02T15:26:57.338722+00:00
70673bcb-ae78-4eef-be55-382976c33415
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_66a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-66a.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[5]; char VAR_9[100] = ""; VAR_7 = VAR_9; { ...
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...
9c9e6ec8d385b95d206445a51073e9e5fcf4956eff89ec789bb454ea9523aa60
2026-06-02T15:26:58.117021+00:00
94ccc61f-231f-45ff-b729-4fbf35445a8f
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_66b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-66b.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_6 = VAR_7[2]; { TYPE_4 VAR_9; VAR_9 = LoadLibraryA(VAR_7); if (V...
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": 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"...
fb0f28e1ebf43fb2c0af2eb5db0b53e322d46287c3cb02c9e47649ca03f44dd8
2026-06-02T15:26:58.879407+00:00
41439f09-a393-4d95-9762-c7b345904b81
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_67a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-67a.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 struct TYPE_3 { char * VAR_5; } TYPE_1; #ifndef VAR_4 void VAR_2(TYPE_1 VAR_8); void VAR_1() { char * VAR_9; TYPE_2 VAR_10; ...
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...
eab151866326aa3948b9afa4a8f0eba80b7d1b12a961e1cd0caa2c7ea09831d7
2026-06-02T15:26:59.813832+00:00
d0e94654-1d17-4a85-a120-097b7ae531c3
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_67b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-67b.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 struct TYPE_3 { char * VAR_5; } TYPE_1; #ifndef VAR_4 void VAR_2(TYPE_1 VAR_8) { char * VAR_8 = VAR_9.VAR_10; { TYPE_5 V...
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": "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"...
bcd21a60f65830b6d6846decde7f16f61757542226563cd82db15927d2143bc4
2026-06-02T15:27:00.569474+00:00
3ebfa484-c83a-43bf-878b-ecb4ffe2c59e
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_68a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-68a.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> char * VAR_1; char * VAR_2; #ifndef VAR_5 void VAR_3(); void VAR_1() { char * VAR_9; char VAR_10[100] = ""; VAR_9 = VAR_10; { ...
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...
972d03c06852e1176c40708374e7541869624e9f708dfdb603de4f90bbe01595
2026-06-02T15:27:01.261702+00:00
a23e5085-9347-412d-b965-a9514dc2970c
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_68b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-68b.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> extern char * VAR_1; extern char * VAR_2; #ifndef VAR_5 void VAR_3() { char * VAR_8 = VAR_1; { TYPE_6 VAR_10; VAR_10 = LoadLi...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 14, "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_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_Co...
b60dda7e22cc1a1f334eb9ce49ab282e83c02cd99165580ca75e05d8e4e61a87
2026-06-02T15:27:01.945694+00:00
104047fd-6180-448c-a803-2739acc2e5bc
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_72a.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-72a.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment vari...
#include "std_testcase.h" #include <vector> #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif using namespace std; namespace CWE114_Process_Control__w32_char_environment_72 { #ifndef VAR_3 void VAR_5(vector<char *> VAR_6); void VAR_5() { char ...
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...
c297b8bacc0134be7bcbca81053a07f56622865c31f0fef77f8a98dc6c274741
2026-06-02T15:27:02.672359+00:00
2c2e2a24-8616-446b-a274-f8315c3bda2f
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_72b.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-72b.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment vari...
#include "std_testcase.h" #include <vector> #include <wchar.h> #include <windows.h> using namespace std; namespace CWE114_Process_Control__w32_char_environment_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"...
1a685bf0cd4c4b664e554e7027f9dc71c038cd930604fb480f7fb0abd7d1aa50
2026-06-02T15:27:03.392443+00:00
3ae0b837-eb13-4dc2-9c00-b04751815cfc
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_73a.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-73a.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment vari...
#include "std_testcase.h" #include <list> #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif using namespace std; namespace CWE114_Process_Control__w32_char_environment_73 { #ifndef VAR_3 void VAR_5(TYPE_6<char *> VAR_6); void VAR_5() { char * ...
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...
c76dae060e279476e170fa8e1145e3a3a5579341074eea2959b3a1e4eae6e2af
2026-06-02T15:27:04.036873+00:00
ac63839d-2647-46ab-8021-0d04a9c8c5cb
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_73b.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-73b.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment vari...
#include "std_testcase.h" #include <list> #include <wchar.h> #include <windows.h> using namespace std; namespace CWE114_Process_Control__w32_char_environment_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_...
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...
bc7d01c6ba8ee61c32cbc2047db8c9260e33adf8f302cced4c41a08dd491b46a
2026-06-02T15:27:04.747907+00:00
8b5c7272-cf6a-4022-a9de-b287254640f4
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_74a.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-74a.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment vari...
#include "std_testcase.h" #include <map> #include <wchar.h> #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif using namespace std; namespace CWE114_Process_Control__w32_char_environment_74 { #ifndef VAR_3 void VAR_5(TYPE_6<int, char *> VAR_6); void VAR_5() { cha...
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...
a0c4f63c61abde2ec864303ca44e49535cd5dc43316339009c8b4e6fd243bebf
2026-06-02T15:27:05.444454+00:00
6e3bf127-c573-43b6-8a44-1f6fdfee5df6
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_74b.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-74b.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment vari...
#include "std_testcase.h" #include <map> #include <wchar.h> #include <windows.h> using namespace std; namespace CWE114_Process_Control__w32_char_environment_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"...
463bb64fbf7113c5e09cc4d4516598e037e608d1e50c021d27f2c7fa54d6ab68
2026-06-02T15:27:06.119044+00:00
f8886458-8444-4e1b-8e82-012c5a8b99fa
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_81.h Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-81.tmpl.h */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> namespace CWE114_Process_Control__w32_char_environment_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...
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}}
[]
dd4a67cfc316324c50560d0d1952809c222fd72368ab508d60a8159d4aafb609
2026-06-02T15:27:06.759029+00:00
7a7f7cbe-f011-454a-9bb5-ce73c69ab1ba
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_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: environment Read input from an environmen...
#ifndef VAR_1 #include "std_testcase.h" #include "CWE114_Process_Control__w32_char_environment_81.h" #include <windows.h> namespace CWE114_Process_Control__w32_char_environment_81 { void CWE114_Process_Control__w32_char_environment_81_bad::VAR_2(char * VAR_3) const { { TYPE_1 VAR_5; VAR_5 ...
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"}]
f92465014c4146f1fba69e264e107f5339e565c8000c719478a9feedc7065d50
2026-06-02T15:27:07.470654+00:00
dde20d4e-a792-4b0e-b10b-32702f756d56
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_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: environment Read input from an en...
#ifndef VAR_1 #include "std_testcase.h" #include "CWE114_Process_Control__w32_char_environment_81.h" #include <windows.h> namespace CWE114_Process_Control__w32_char_environment_81 { void CWE114_Process_Control__w32_char_environment_81_goodG2B::VAR_2(char * VAR_3) const { { TYPE_1 VAR_5; VA...
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"}]
7db74cf2b261a65e5d7c57880a7c7854afce5223e2c68e3933fe1349945092fc
2026-06-02T15:27:08.143107+00:00
1623a354-95aa-41c4-938d-d67c2337e49a
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_81a.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-81a.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment vari...
#include "std_testcase.h" #include "CWE114_Process_Control__w32_char_environment_81.h" #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif namespace CWE114_Process_Control__w32_char_environment_81 { #ifndef VAR_3 void VAR_5() { 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...
0e4e4309029c6715988c16aee9f0d546d1d63b9e28517f5fba2a2de474ee9081
2026-06-02T15:27:08.861169+00:00
e6cbaffb-6ee8-4757-9db7-a60db4c007a0
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_82.h Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-82.tmpl.h */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> namespace CWE114_Process_Control__w32_char_environment_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 ...
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}}
[]
8b95b0a40718fd892b3d01d8576c471a8dfb9972c2ee377970b00f77a9d5cdf9
2026-06-02T15:27:09.532800+00:00
bb778f8e-5fb0-4293-9b12-a882ad6c5a36
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_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: environment Read input from an environmen...
#ifndef VAR_1 #include "std_testcase.h" #include "CWE114_Process_Control__w32_char_environment_82.h" #include <windows.h> namespace CWE114_Process_Control__w32_char_environment_82 { void CWE114_Process_Control__w32_char_environment_82_bad::VAR_2(char * VAR_3) { { TYPE_1 VAR_5; VAR_5 = Load...
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"}]
cbe194263c75d9e634893bb8692851305b9318de7485774447cb73a3e5baf71c
2026-06-02T15:27:10.223516+00:00
9ef0214d-78d6-47e8-a3c6-bcf64d950be8
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_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: environment Read input from an en...
#ifndef VAR_1 #include "std_testcase.h" #include "CWE114_Process_Control__w32_char_environment_82.h" #include <windows.h> namespace CWE114_Process_Control__w32_char_environment_82 { void CWE114_Process_Control__w32_char_environment_82_goodG2B::VAR_2(char * VAR_3) { { TYPE_1 VAR_5; VAR_5 = ...
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"}]
fc7165003b0c27ffc5f2d607b8c592d261296dbd72d9c727d33e69b110a2e5be
2026-06-02T15:27:10.896673+00:00
8f135dbb-b81d-4e18-ad42-4e83afbe17bf
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_82a.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-82a.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment vari...
#include "std_testcase.h" #include "CWE114_Process_Control__w32_char_environment_82.h" #define VAR_1 "ADD" #ifdef VAR_2 #define VAR_2 getenv #else #define VAR_2 getenv #endif namespace CWE114_Process_Control__w32_char_environment_82 { #ifndef VAR_3 void VAR_5() { 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...
539d89d77953b777b6e6ab8c359a7c968fe9aca6ad28e1f3041d8f2d657fc6ff
2026-06-02T15:27:11.572910+00:00
58449618-cae3-4b21-bfc0-47cac4d9d19b
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_83.h Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-83.tmpl.h */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> namespace CWE114_Process_Control__w32_char_environment_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(); priva...
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}}
[]
064615591d8d03f72b7c3746e563d6a99ded47b44c4cfff5fdcb3d94d2276f61
2026-06-02T15:27:12.391455+00:00
dc7e719c-1dcb-43bf-a315-0f1fd31f357e
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_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: environment Read input from an environmen...
#ifndef VAR_1 #include "std_testcase.h" #include "CWE114_Process_Control__w32_char_environment_83.h" #define VAR_1 "ADD" #ifdef VAR_3 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> namespace CWE114_Process_Control__w32_char_environment_83 { CWE114_Process_Control__w32_char_envir...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 14, "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": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to":...
defd9c50bd59b128f86e9b91b0911cc1196669c154f6a03917e55cff93ab1144
2026-06-02T15:27:13.055785+00:00
c940c3d2-b05c-49ed-b382-db71735685e2
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_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: environment Read input from an en...
#ifndef VAR_1 #include "std_testcase.h" #include "CWE114_Process_Control__w32_char_environment_83.h" #include <windows.h> namespace CWE114_Process_Control__w32_char_environment_83 { CWE114_Process_Control__w32_char_environment_83_goodG2B::VAR_1(char * VAR_3) { VAR_3 = VAR_4; strcpy(VAR_3, "C:\\Windows\...
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"}]
b7f4fceae97363db90d533db07a315b476038ad2cb7a7641c34590b414c6f8df
2026-06-02T15:27:13.768246+00:00
7d44393c-4a80-490a-987d-1781a735b974
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_83a.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-83a.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment vari...
#include "std_testcase.h" #include "CWE114_Process_Control__w32_char_environment_83.h" namespace CWE114_Process_Control__w32_char_environment_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"}]
0f2ac8c80baca75dfe440e8ec87200c4384ab11a8d3cb8935eff02c219d59d64
2026-06-02T15:27:14.557912+00:00
4891fbcc-db3c-46af-b902-a40234f35879
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_84.h Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-84.tmpl.h */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment variable ...
#include "std_testcase.h" #include <wchar.h> namespace CWE114_Process_Control__w32_char_environment_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(); priva...
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}}
[]
af9f434db43f3439427f5ce16aa9fde7a080947b85ba7282e8a19510093c1c7b
2026-06-02T15:27:15.258781+00:00
3f2a5469-7c59-415f-830a-3d64d55f1257
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_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: environment Read input from an environmen...
#ifndef VAR_1 #include "std_testcase.h" #include "CWE114_Process_Control__w32_char_environment_84.h" #define VAR_1 "ADD" #ifdef VAR_3 #define VAR_2 getenv #else #define VAR_2 getenv #endif #include <windows.h> namespace CWE114_Process_Control__w32_char_environment_84 { CWE114_Process_Control__w32_char_envir...
owasp_secnorm
1
{}
{}
{"cwe_ids": ["CWE-114"], "taint_paths": [], "sources_detected": [], "sinks_detected": [], "taint_variables": {}, "non_security_vars_normalized": 14, "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": "GETENV", "to": "environment", "type": "assignment"}, {"from": "ENV_VARIABLE", "to": "GETENV", "type": "call_arg"}, {"from": "data", "to":...
444e582730ecb680fb9ad4e0a78e381b4571a43981ec402260bf0825bb724f21
2026-06-02T15:27:16.042390+00:00
bf574635-3a29-47a2-b5a8-2c860003a3c2
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_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: environment Read input from an en...
#ifndef VAR_1 #include "std_testcase.h" #include "CWE114_Process_Control__w32_char_environment_84.h" #include <windows.h> namespace CWE114_Process_Control__w32_char_environment_84 { CWE114_Process_Control__w32_char_environment_84_goodG2B::VAR_1(char * VAR_3) { VAR_3 = VAR_4; strcpy(VAR_3, "C:\\Windows\...
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"}]
273aeda0b32362fdfa0cdaf9c192b50479bcae5b22e7f5b73585625a0900ab4d
2026-06-02T15:27:16.697874+00:00
88032985-8c47-4299-aff3-095bdfc05a08
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_environment_84a.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-84a.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: environment Read input from an environment vari...
#include "std_testcase.h" #include "CWE114_Process_Control__w32_char_environment_84.h" namespace CWE114_Process_Control__w32_char_environment_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 ...
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"}]
1dc328d88f51ed4ae0e5f3f646d37291588b39fc803625b02681a81434ff067e
2026-06-02T15:27:17.411706+00:00
dc447763-6672-4e66-837d-60d879b95fd2
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_01.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-01.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1() { char * VAR_5; char VAR_6[100] = ""; VAR_5 = VAR_6; { size_t VAR_7 = VAR_8(VAR_5); FILE...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
4b2fe094acb75c2dd19438e9cbd9d364aecec9e62435db06aad60c0cc4badb3b
2026-06-02T15:27:18.090054+00:00
86313ee3-a0e5-4b63-9acd-c7d1e32dc605
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_02.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-02.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1() { char * VAR_5; char VAR_6[100] = ""; VAR_5 = VAR_6; if(1) { { size_t VAR_7 = V...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
d33c89a3e48c1fe49bfb7777d42053eb0e5e94a93b3f9fbb7176b43bbbac1086
2026-06-02T15:27:18.780166+00:00
4ee0d02b-08ea-4d1c-b622-4b909d613caf
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_03.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-03.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1() { char * VAR_5; char VAR_6[100] = ""; VAR_5 = VAR_6; if(5==5) { { size_t VAR_7 ...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
797e467be42f5241c67bf903cfb6959032c4e1e85a6678fdb11f162117d88cfd
2026-06-02T15:27:19.573664+00:00
796ee18e-bdb9-407e-8038-6be962b2d835
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_04.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-04.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> static const int VAR_2 = 1; static const int VAR_2 = 0; #ifndef VAR_2 void VAR_1() { char * VAR_7; char VAR_8[100] = ""; VAR_7 = 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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
55754dfdc9139282cc81840aa259b0f7cbbc5009170603c19a18a7e9db2e8552
2026-06-02T15:27:20.305750+00:00
f7abc161-e84f-4cf2-b81b-6208253fdbd4
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_05.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-05.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> static int VAR_3 = 1; static int VAR_3 = 0; #ifndef VAR_2 void VAR_1() { char * VAR_5; char VAR_6[100] = ""; VAR_5 = VAR_6; if(VA...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
f701114dff1c74fd6b11b3a57aa7075ef6ad9c725f0708fd0a55756773b0b5fa
2026-06-02T15:27:20.955129+00:00
fff72e9e-2432-46db-ab44-74d3c290d916
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_06.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-06.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> static const int VAR_2 = 5; #ifndef VAR_2 void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; if(VAR_4==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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
2fbae6586be81eb74b4c63c9b3bb4ae151e9d420c0a537c42eefc5c9c4309888
2026-06-02T15:27:21.656590+00:00
99a81819-185b-456a-bb58-04344c6c66ad
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_07.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-07.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> static int VAR_3 = 5; #ifndef VAR_2 void VAR_1() { char * VAR_5; char VAR_6[100] = ""; VAR_5 = VAR_6; if(VAR_7==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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
f448fc2f35820c82a377ca09c5c76723790fa398f970bd4e0d896b5808b03ec6
2026-06-02T15:27:22.340722+00:00
432510c0-8037-4583-be55-4df01685b1cb
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_08.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-08.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> static int VAR_3() { return 1; } static int VAR_3() { return 0; } #ifndef VAR_2 void VAR_1() { char * VAR_5; char VAR_6[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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
52bb8e4f2c61bde332aa740aa894a70e38c0a929a7aea88b3247a012d2c0376a
2026-06-02T15:27:23.012637+00:00
ad5c90d9-07bd-4c13-a738-0c90468589fe
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_09.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-09.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1() { char * VAR_5; char VAR_6[100] = ""; VAR_5 = VAR_6; if(VAR_3) { { 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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
05a336743ba9fa75617cb832f8e569b230d788c51f50f8aef7e8acb942cea4ea
2026-06-02T15:27:23.682032+00:00
788fc680-7e95-476a-8481-9a42ca0f4e61
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_10.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-10.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1() { char * VAR_5; char VAR_6[100] = ""; VAR_5 = VAR_6; if(VAR_7) { { size_t VAR_7...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
3f1289e43728e260fd7d7593017e97b4877fe2134d3ab037b7f1895623631e5f
2026-06-02T15:27:24.381590+00:00
1d47bf8d-dda9-49d6-8a42-1feb9e200822
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_11.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-11.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1() { char * VAR_5; char VAR_6[100] = ""; VAR_5 = VAR_6; if(VAR_7()) { { size_t 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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
69119c4d875ec3859a29e436ece8f174c102e339934cc5fbe2175f12e39b682a
2026-06-02T15:27:25.056292+00:00
bbaa6dc8-5862-453b-bdcd-88d151490be9
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_12.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-12.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1() { char * VAR_5; char VAR_6[100] = ""; VAR_5 = VAR_6; if(VAR_7()) { { size_t 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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
d5fa33075f2aba41667e78aebf439a18f6f868c52fcfb8d445114fd9d15d615a
2026-06-02T15:27:25.751161+00:00
f5288d73-125f-4aa5-813b-afc39ef9b682
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_13.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-13.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1() { char * VAR_5; char VAR_6[100] = ""; VAR_5 = VAR_6; if(VAR_3==5) { { size_t VA...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
dcfbd621409d4e0160612b782d3bbb027ab1506cc4fe395f4f4277c64e7f2cdd
2026-06-02T15:27:26.418105+00:00
cbba5bf5-d71b-4696-8e3e-3382e21b3fe3
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_14.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-14.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1() { char * VAR_5; char VAR_6[100] = ""; VAR_5 = VAR_6; if(VAR_7==5) { { size_t VA...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
778bddce3be63e36eb599d4f1eccf6f7a54d2253e0b95f73b2926a43a4a38bcb
2026-06-02T15:27:27.077736+00:00
ccd84c2d-c60f-43ec-b717-ce4ca95cb124
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_15.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-15.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1() { char * VAR_5; char VAR_6[100] = ""; VAR_5 = VAR_6; switch(6) { case 6: { size_t ...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
8149b94fb55c6bbadd50a72faccecb5bdc92bc71ffbcf4b6f3b91230eda2d686
2026-06-02T15:27:27.816671+00:00
ff3c9bc8-05bb-48dc-a888-60ba14018149
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_16.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-16.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1() { char * VAR_5; char VAR_6[100] = ""; VAR_5 = VAR_6; while(1) { { size_t VAR_7 ...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
674176bd88181e9d68c6ac71c46742279b06967b26fdc59fe00e1cce6bb9786a
2026-06-02T15:27:28.566124+00:00
dc627c63-d24f-4be6-b7bd-4d89c1b70bfd
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_17.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-17.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1() { int VAR_5; char * VAR_5; char VAR_6[100] = ""; VAR_5 = VAR_6; for(VAR_7 = 0; VAR_7 < 1; VAR_7++) ...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
8b8964e3aee4b96a71d47744791db817f92c664ce3ef8cf380f641cb4fca8d40
2026-06-02T15:27:29.291087+00:00
62cf89ad-6a97-41d8-8763-6230b42b05de
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_18.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-18.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1() { char * VAR_5; char VAR_6[100] = ""; VAR_5 = VAR_6; goto source; source: { size_t VAR_7 = ...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
8324d8775eef8c0eca9a9054a6c557f4df82fd7dedd2d035973d3ffcca3e4029
2026-06-02T15:27:29.939270+00:00
0e29a926-7532-4e90-a257-5f470bbf5231
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_21.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-21.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 static int VAR_4 = 0; static char * VAR_4(char * VAR_6) { if(VAR_5) { { 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": 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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "pFile", "to": "fgets", "type":...
0ae5e174f7c1133337c7b69fcad9483efbae022ccbf1310bdea1d285ec221493
2026-06-02T15:27:30.769947+00:00
9addcebb-2c21-4350-9da7-24ca977ffbbc
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_22a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-22a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#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_file_22_badSource", "to": "data", "type": "assignment"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_file_22_badSource", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignmen...
a38dfe01a85b14270006487f2ce925a62ec51f06bf0a1652a8e71a1e8f490a1e
2026-06-02T15:27:31.427254+00:00
aa135b4e-6c2d-42cf-b430-f885a9c0c6e9
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_22b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-22b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #ifndef VAR_2 extern int VAR_1; char * VAR_2(char * VAR_6) { if(VAR_1) { { size_t VAR_7 = VAR_8(VAR_6); FILE * 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": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "pFile", "to": "fgets", "type":...
c710786ce52c013efc23cf6f3f259f9ac6076c4a3107d91f7affa4b7e6b9e72d
2026-06-02T15:27:32.133039+00:00
6694f191-16b2-4d21-8aec-8700386eeb6a
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_31.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-31.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1() { char * VAR_5; char VAR_6[100] = ""; VAR_5 = VAR_6; { size_t VAR_7 = VAR_8(VAR_5); FILE...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
ceac896224677cdb9ba0ac2ae56344d6bc973aca91ae48f6503c8519becff5b5
2026-06-02T15:27:32.821731+00:00
7b643d5b-d92c-4c67-81c6-6d1147995b80
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_32.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-32.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1() { char * VAR_5; char * *VAR_6 = &VAR_5; char * *VAR_7 = &VAR_5; char VAR_6[100] = ""; VAR_5 = VAR_6; ...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
ab498ed706696f41f1ddec52a91792b0c2a5ce549bd36c10fbaeca3dbc793473
2026-06-02T15:27:33.624149+00:00
345528f6-10b8-4929-9ace-5701612ea39d
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_33.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-33.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code th...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> namespace CWE114_Process_Control__w32_char_file_33 { #ifndef VAR_2 void VAR_4() { char * VAR_5; char * &VAR_6 = VAR_5; char VAR_6[100] =...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
00f6545908db57772f67e1ac71474ba432e3bf8234d23c82a3ba269d12e6fb8f
2026-06-02T15:27:34.344395+00:00
d2272b9d-9f98-4b76-8ba6-34d1441b5b8a
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_34.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-34.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> typedef union { char * VAR_3; char * VAR_4; } TYPE_1; #ifndef VAR_3 void VAR_1() { char * VAR_6; TYPE_2 VAR_7; char VAR_7[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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
a57d064f591129cd42287e05c2245cda2ec6c5c5e5acbf8e934bf15c39afda98
2026-06-02T15:27:35.013380+00:00
8dc6249c-8bbf-47bb-91d0-ecff996cbe50
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_41.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-41.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(char * VAR_5) { { 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": 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...
8f65c7a7a72e2e2f514e4a2f7e975109c17fb0d54fc7d4849ee92a3f0eb640c2
2026-06-02T15:27:35.687474+00:00
bb93285a-5dd7-4993-9363-3f41ff6fe772
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_42.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-42.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 static char * VAR_4(char * VAR_5) { { size_t VAR_6 = VAR_7(VAR_5); FILE * VAR_7; if (100-VAR_6 > 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": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "pFile", "to": "fgets", "type":...
eb8ebc5b00b20043fc568b54dc94d5551faab63417d7314968b60fbed44eaccf
2026-06-02T15:27:36.368203+00:00
0ba2be77-d7b4-4d3b-b778-888ba195f080
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_43.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-43.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code th...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> namespace CWE114_Process_Control__w32_char_file_43 { #ifndef VAR_2 static void VAR_4(char * &VAR_5) { { size_t VAR_6 = VAR_7(VAR_5); ...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "pFile", "to": "fgets", "type":...
266dba327c8ed844976f3bba77221f2f7c899dc8d3f4e03a6d3a4dc468208660
2026-06-02T15:27:37.023268+00:00
4252fc4c-1a77-4e5a-8b7d-0fa75f51b53e
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_44.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-44.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 static void VAR_4(char * VAR_5) { { TYPE_2 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": 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...
b5bcf90b0fd33cce39f4dc42755e6dfaae8179c2ca9eec8c932e9a64b76d2d14
2026-06-02T15:27:37.696897+00:00
e70a460d-45ab-4712-8be0-23dcbad2da07
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_45.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-45.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the fu...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> static char * VAR_1; static char * VAR_2; #ifndef VAR_4 static void VAR_6() { char * VAR_7 = VAR_1; { TYPE_4 VAR_9; VAR_9 =...
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_file_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": "data...
b5ddfd8eec87cb39321b01782c31e8e79bdfbaecfbd5c46fc6be89fbe42c0a16
2026-06-02T15:27:38.358289+00:00
c215761a-3c59-44ae-ac87-6d34c5664f74
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_51a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-51a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(char * VAR_5); void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; { size_t VAR_8 = ...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
f7ef1e031ac244ed0a400fa6406131a528fb3f8ed1ad72befa76857a509ad8af
2026-06-02T15:27:39.152492+00:00
546f3daa-06dd-480a-a405-979d428ead94
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_51b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-51b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(char * VAR_5) { { 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": 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"...
1d721f6a66cfc1ce0864614f94851be81c07e56bceae8b16bd06943546430a9e
2026-06-02T15:27:39.840861+00:00
3865a099-de14-4af8-9597-c9558f10c6c4
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_52a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-52a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(char * VAR_5); void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; { size_t VAR_8 = ...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
e27038b6c8b1475136f35774beebb5a109576496e6dc09c832964ec9c7ada185
2026-06-02T15:27:40.498223+00:00
4484921d-5c36-4776-8f62-11b7adeb8164
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_52b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-52b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(char * VAR_5); void VAR_1(char * VAR_6) { VAR_2(VAR_6); } #endif #ifndef VAR_5 void VAR_3(char * VAR_8); void VAR_2(...
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": "data", "to": "CWE114_Process_Control__w32_char_file_52c_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_file_52c_goodG2BSink", "type": "call_arg"}]
85d81da9bee388ee70a10c198c52d7383b8892e2569d9cdaffa95a4e0e4cd231
2026-06-02T15:27:41.234913+00:00
ecd44075-91f4-4e84-aa8e-c43d90f5dcaf
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_52c.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-52c.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(char * VAR_5) { { 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": 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"...
7b43b3d290883341952a32c384e2f6d53061a7946c433ced06e391dc2973b041
2026-06-02T15:27:41.943186+00:00
e142d347-102a-4e32-9157-b828fc1fc572
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_53a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-53a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(char * VAR_5); void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; { size_t VAR_8 = ...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
590c36de923c321b17a9496103efae7296beac6a49e5ac846d99ddac151b815d
2026-06-02T15:27:42.625989+00:00
d8b5e7a2-71ad-45ab-8832-f9dfca69db43
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_53b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-53b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(char * VAR_5); void VAR_1(char * VAR_6) { VAR_2(VAR_6); } #endif #ifndef VAR_5 void VAR_3(char * VAR_8); void VAR_2(...
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": "data", "to": "CWE114_Process_Control__w32_char_file_53c_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_file_53c_goodG2BSink", "type": "call_arg"}]
0d6d5327ca5a8ca37e09573ed0d952f066284cc91cbee1f4f999ff86441f580c
2026-06-02T15:27:43.278162+00:00
6543a852-fd3e-43e7-b46a-8b57dc43f483
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_53c.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-53c.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(char * VAR_5); void VAR_1(char * VAR_6) { VAR_2(VAR_6); } #endif #ifndef VAR_5 void VAR_3(char * VAR_8); void VAR_2(...
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": "data", "to": "CWE114_Process_Control__w32_char_file_53d_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_file_53d_goodG2BSink", "type": "call_arg"}]
b82e1b58839b58c2a2af2d9bb2036e4ced19ddb28011e2d21f9c3ce685699b3b
2026-06-02T15:27:43.928338+00:00
ad82108d-c160-43c2-bbb8-b52213271cc4
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_53d.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-53d.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(char * VAR_5) { { 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": 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"...
21146bf96de34bd2f713e9642136ff48dd85990a2434d798851f6cf1c2aa6653
2026-06-02T15:27:44.580443+00:00
319e061b-ab99-49f4-8e07-68535f338b8e
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_54a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-54a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(char * VAR_5); void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; { size_t VAR_8 = ...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
d4cf53297a7e62cb0c3bd8a9aba56c1f5cb5c074ebf43cdc655abf7881d57c0c
2026-06-02T15:27:45.263446+00:00
adaf2f49-834d-4ccb-bdfe-3620dad7a82b
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_54b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-54b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(char * VAR_5); void VAR_1(char * VAR_6) { VAR_2(VAR_6); } #endif #ifndef VAR_5 void VAR_3(char * VAR_8); void VAR_2(...
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": "data", "to": "CWE114_Process_Control__w32_char_file_54c_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_file_54c_goodG2BSink", "type": "call_arg"}]
e8cbbc8d4fe49d9dd5da27a80625cdf6c81652d13dfe15602babf54e32cd04d5
2026-06-02T15:27:45.984032+00:00
3a15a7b8-c2ba-4c3d-ab79-fc3e9371f3a7
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_54c.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-54c.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(char * VAR_5); void VAR_1(char * VAR_6) { VAR_2(VAR_6); } #endif #ifndef VAR_5 void VAR_3(char * VAR_8); void VAR_2(...
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": "data", "to": "CWE114_Process_Control__w32_char_file_54d_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_file_54d_goodG2BSink", "type": "call_arg"}]
296cce526358bffd58e5726d2a9d881de8c1b8e657494f1219bbdb7f2f5e5e03
2026-06-02T15:27:46.710801+00:00
ef4aca70-d3ab-46be-a6e3-0c0f8033360b
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_54d.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-54d.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(char * VAR_5); void VAR_1(char * VAR_6) { VAR_2(VAR_6); } #endif #ifndef VAR_5 void VAR_3(char * VAR_8); void VAR_2(...
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": "data", "to": "CWE114_Process_Control__w32_char_file_54e_badSink", "type": "call_arg"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_file_54e_goodG2BSink", "type": "call_arg"}]
36c39a8aecfe9919b2d9fe22c82a807dd1589431c63ac271e8a54503a3c0db37
2026-06-02T15:27:47.438579+00:00
afd6adbe-e336-4ad9-b06a-023f8d5dc7be
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_54e.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-54e.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(char * VAR_5) { { 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": 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"...
c31cf844411b0abc14b4648d9cd1c61737ce879943a84e730e8710807073f385
2026-06-02T15:27:48.359706+00:00
85a2c529-6857-472e-b0a5-4bbab0af2996
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_61a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-61a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 char * VAR_1(char * VAR_5); void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; VAR_6 = VAR_2(VAR_6); ...
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": "CWE114_Process_Control__w32_char_file_61b_badSource", "to": "data", "type": "assignment"}, {"from": "data", "to": "CWE114_Process_Control__w32_char_file_61b_badSource", "type": "call_arg"}, {"from": "LoadLibraryA", "to": "hModule", "type": "assignm...
31ca8d66a75f42614f0b847eedf3c1bca8d7e88a16a4454c4733a856f4142544
2026-06-02T15:27:49.013667+00:00
bf186918-30f6-41de-af5b-87fda53fb2be
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_61b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-61b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 char * VAR_1(char * VAR_5) { { size_t VAR_6 = VAR_7(VAR_5); FILE * VAR_7; if (100-VAR_6 > 1) { ...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "pFile", "to": "fgets", "type":...
fde50e9077e7de2e6eb0da44f0166be093d52425cb0e9d9e4f24c308847a620f
2026-06-02T15:27:49.678486+00:00
2755db4a-983a-4563-80d8-9560f8867614
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_62a.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-62a.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code ...
#include "std_testcase.h" #include <wchar.h> #include <windows.h> namespace CWE114_Process_Control__w32_char_file_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 = LoadL...
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...
e48e0c907be9c4b9d5fa8638a483387ce0f8b3c4a51704b2b9958e336412863a
2026-06-02T15:27:50.411888+00:00
4863532c-0a76-43b0-a212-83fa5b037179
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_62b.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-62b.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif namespace CWE114_Process_Control__w32_char_file_62 { #ifndef VAR_2 void VAR_4(char * &VAR_5) { { size_t VAR_6 = VAR_7(VAR_5); FILE * VAR_7; i...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", "type": "call_arg"}, {"from": "pFile", "to": "fgets", "type":...
6d83945bc61887662b38f19e7538bce97e8ea4279713e44f0fb28ace2c178232
2026-06-02T15:27:51.053665+00:00
5f5b25a6-0fa9-4afb-927e-182e1a3931ef
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_63a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-63a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(char * * VAR_5); void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; { size_t 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": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
7f59387d95c64fd510f9abeba504b228068dc68e9196c2f72453886b52a33ae0
2026-06-02T15:27:51.704763+00:00
b8f15e85-be40-452a-892e-ab01e4322bf5
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_63b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-63b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(char * * VAR_5) { char * VAR_5 = *VAR_6; { TYPE_3 VAR_8; VAR_8 = LoadLibraryA(VAR_6); if (V...
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": "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"...
7cc9bfb81c30bcdf3a98257b981830ebb6994cb1501d3b1772dae4c1f1659250
2026-06-02T15:27:52.417732+00:00
6c65fbf4-2624-4d23-aced-c716c750a8c7
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_64a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-64a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(void * VAR_5); void VAR_1() { char * VAR_6; char VAR_7[100] = ""; VAR_6 = VAR_7; { size_t 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": "dataBuffer", "to": "data", "type": "propagation"}, {"from": "strlen", "to": "dataLen", "type": "assignment"}, {"from": "data", "to": "strlen", "type": "call_arg"}, {"from": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
48f7a42eaf17453919d37fb808fd8dfb8bbb4918b4ee58f79ad2704b6db137c7
2026-06-02T15:27:53.153026+00:00
723adfd3-5768-4e60-8ad5-6f8ac3687168
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_64b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-64b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(void * VAR_5) { char * * VAR_5 = (char * *)VAR_6; char * VAR_5 = (*VAR_6); { TYPE_3 VAR_9; VAR_...
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"...
3e737c59ae9b26b1949bbb3a611e898b3de713706967be47faa31047eea4ae01
2026-06-02T15:27:53.853030+00:00
d14c70cf-0c11-429f-873d-119061e75405
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_65a.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-65a.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(char * VAR_5); void VAR_1() { char * VAR_6; void (*VAR_7) (char *) = VAR_2; char VAR_7[100] = ""; VAR_6 = V...
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": "fopen", "to": "pFile", "type": "assignment"}, {"from": "FILENAME", "to": "fopen", "type": "call_arg"}, {"from": "data", "to": "fgets", ...
4574d51155a1ee1683fc46a5c0f17bd2cf7833731dece811b823281903e20a09
2026-06-02T15:27:54.576807+00:00
37482e3d-d6f0-473e-9d6b-58d81a44d1ac
OWASP
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_file_65b.c Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-65b.tmpl.c */ /* * @description * CWE: 114 Process Control * BadSource: file Read input from a file * GoodSource: Hard code the ...
#include "std_testcase.h" #include <wchar.h> #ifdef VAR_1 #define VAR_1 "C:\\temp\\file.txt" #else #define VAR_1 "/tmp/file.txt" #endif #include <windows.h> #ifndef VAR_2 void VAR_1(char * VAR_5) { { 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": 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"...
6003e709f9efb6d3511e5e2e1051e1840cfeb852408d95247e3e8a89bc7edd67
2026-06-02T15:27:55.261773+00:00