{"id":"UBUNTU-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-05-20T16:07:31.049451156Z","published":"2022-04-18T17:15:00Z","upstream":["CVE-2022-1341"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-1341"},{"type":"REPORT","url":"https://github.com/vgropp/bwm-ng/commit/9774f23bf78a6e6d3ae4cfe3d73bad34f2fdcd17"},{"type":"REPORT","url":"https://github.com/vgropp/bwm-ng/issues/26"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-1341"}],"affected":[{"package":{"name":"bwm-ng","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/bwm-ng?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6-3.2","0.6-3.2build1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.6-3.2build1","binary_name":"bwm-ng"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1341.json"}},{"package":{"name":"bwm-ng","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/bwm-ng?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.1-3","0.6.1-5"],"ecosystem_specific":{"binaries":[{"binary_name":"bwm-ng","binary_version":"0.6.1-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1341.json"}},{"package":{"name":"bwm-ng","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/bwm-ng?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.1-6build1","0.6.2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"bwm-ng","binary_version":"0.6.2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1341.json"}},{"package":{"name":"bwm-ng","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/bwm-ng?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.3-1","0.6.3-2"],"ecosystem_specific":{"binaries":[{"binary_name":"bwm-ng","binary_version":"0.6.3-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1341.json"}},{"package":{"name":"bwm-ng","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/bwm-ng?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.3-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.6.3-2","binary_name":"bwm-ng"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1341.json"}},{"package":{"name":"bwm-ng","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/bwm-ng?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.3-2"],"ecosystem_specific":{"binaries":[{"binary_name":"bwm-ng","binary_version":"0.6.3-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1341.json"}},{"package":{"name":"bwm-ng","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/bwm-ng?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.3-2","0.6.3-2build1"],"ecosystem_specific":{"binaries":[{"binary_name":"bwm-ng","binary_version":"0.6.3-2build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1341.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}