An issue was discovered in in bwm-ng v0.6.2. An arbitrary null write exists in getcmdlnoptions() function in src/options.c.
{
"cwe_ids": [
"CWE-476"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1341.json",
"cna_assigner": "redhat"
}"2026-08-12T12:49:15Z"
[
{
"id": "CVE-2022-1341-7f1dca17",
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 5778.0,
"function_hash": "199287973129033820329140778647609810073"
},
"source": "https://github.com/vgropp/bwm-ng/commit/9774f23bf78a6e6d3ae4cfe3d73bad34f2fdcd17",
"target": {
"function": "get_cmdln_options",
"file": "src/options.c"
}
},
{
"id": "CVE-2022-1341-d68bbde7",
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"218282018402069029596095150502544554143",
"160357573094354365226081590725144969052",
"119370900379015941146484630960050389004",
"114747357190512186525051559672108298066"
]
},
"source": "https://github.com/vgropp/bwm-ng/commit/9774f23bf78a6e6d3ae4cfe3d73bad34f2fdcd17",
"target": {
"file": "src/options.c"
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1341.json"