{"id":"CVE-2022-1341","details":"An issue was discovered in in bwm-ng v0.6.2. An arbitrary null write exists in get_cmdln_options() function in src/options.c.","modified":"2026-08-12T12:49:15.979215Z","published":"2022-04-18T16:20:34Z","database_specific":{"cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1341.json","cna_assigner":"redhat"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1341.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1341"},{"type":"REPORT","url":"https://github.com/vgropp/bwm-ng/issues/26"},{"type":"FIX","url":"https://github.com/vgropp/bwm-ng/commit/9774f23bf78a6e6d3ae4cfe3d73bad34f2fdcd17"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/vgropp/bwm-ng","events":[{"introduced":"bd6c8ad50dbfe22026051a71e5bab49c9d0e5876"},{"fixed":"9774f23bf78a6e6d3ae4cfe3d73bad34f2fdcd17"}],"database_specific":{"source":["CPE_STRING","REFERENCES"],"cpe":"cpe:2.3:a:bwm-ng_project:bwm-ng:0.6.2:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.6.2"},{"last_affected":"0.6.2"}]}}],"versions":["0.6.2","bwm-ng v0.6.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1341.json","vanir_signatures_modified":"2026-08-12T12:49:15Z","vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"199287973129033820329140778647609810073","length":5778},"id":"CVE-2022-1341-7f1dca17","signature_type":"Function","signature_version":"v1","source":"https://github.com/vgropp/bwm-ng/commit/9774f23bf78a6e6d3ae4cfe3d73bad34f2fdcd17","target":{"file":"src/options.c","function":"get_cmdln_options"}},{"deprecated":false,"digest":{"line_hashes":["218282018402069029596095150502544554143","160357573094354365226081590725144969052","119370900379015941146484630960050389004","114747357190512186525051559672108298066"],"threshold":0.9},"id":"CVE-2022-1341-d68bbde7","signature_type":"Line","signature_version":"v1","source":"https://github.com/vgropp/bwm-ng/commit/9774f23bf78a6e6d3ae4cfe3d73bad34f2fdcd17","target":{"file":"src/options.c"}}]}}],"schema_version":"1.9.0"}