High
bwm-ng — security advisory
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.
- Products
- bwm-ng
- Affected versions
- 0.6-3.2, 0.6-3.2build1, 0.6.1-3, 0.6.1-5, 0.6.1-6build1, 0.6.2-1, 0.6.3-1, 0.6.3-2, 0.6.3-2build1
- Fixed versions
- Not specified
- CVEs
- CVE-2022-1341
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:39 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2022-1341
bwm-ng
Fixed versions: Not specified
bwm-ng
Fixed versions: Not specified
bwm-ng
Fixed versions: Not specified
bwm-ng
Fixed versions: Not specified
bwm-ng
Fixed versions: Not specified
bwm-ng
Fixed versions: Not specified
bwm-ng
Fixed versions: Not specified
bwm-ng
Fixed versions: Not specified
Complete source record
{
"id": "6942284d202cfb6e0c5623975ee8ae2558f4b087858ee26dd4bf1d16275931e9",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-1341",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2022-1341",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2022-1341",
"products": [
{
"name": {
"value": "bwm-ng",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.6-3.2",
"evidence": "/affected/0/versions"
},
{
"value": "0.6-3.2build1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "bwm-ng",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.6.1-3",
"evidence": "/affected/1/versions"
},
{
"value": "0.6.1-5",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "bwm-ng",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.6.1-6build1",
"evidence": "/affected/2/versions"
},
{
"value": "0.6.2-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "bwm-ng",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.6.3-1",
"evidence": "/affected/3/versions"
},
{
"value": "0.6.3-2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "bwm-ng",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.6.3-2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "bwm-ng",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.6.3-2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "bwm-ng",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.6.3-2build1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "bwm-ng",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.6.3-2",
"evidence": "/affected/7/versions"
},
{
"value": "0.6.3-2build1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2022-1341",
"aliases": [
"UBUNTU-CVE-2022-1341"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bwm-ng",
"purl": "pkg:deb/ubuntu/bwm-ng?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"0.6-3.2",
"0.6-3.2build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1341.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "bwm-ng",
"binary_version": "0.6-3.2build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bwm-ng",
"purl": "pkg:deb/ubuntu/bwm-ng?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"0.6.1-3",
"0.6.1-5"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1341.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "bwm-ng",
"binary_version": "0.6.1-5"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bwm-ng",
"purl": "pkg:deb/ubuntu/bwm-ng?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"0.6.1-6build1",
"0.6.2-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1341.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "bwm-ng",
"binary_version": "0.6.2-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bwm-ng",
"purl": "pkg:deb/ubuntu/bwm-ng?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.6.3-1",
"0.6.3-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1341.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "bwm-ng",
"binary_version": "0.6.3-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bwm-ng",
"purl": "pkg:deb/ubuntu/bwm-ng?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.6.3-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1341.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "bwm-ng",
"binary_version": "0.6.3-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bwm-ng",
"purl": "pkg:deb/ubuntu/bwm-ng?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.6.3-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1341.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "bwm-ng",
"binary_version": "0.6.3-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bwm-ng",
"purl": "pkg:deb/ubuntu/bwm-ng?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.6.3-2build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1341.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "bwm-ng",
"binary_version": "0.6.3-2build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bwm-ng",
"purl": "pkg:deb/ubuntu/bwm-ng?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.6.3-2",
"0.6.3-2build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1341.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "bwm-ng",
"binary_version": "0.6.3-2build1"
}
]
}
}
],
"modified": "2026-10-17T12:55:56.292043720Z",
"provider": "osv",
"upstream": [
"CVE-2022-1341"
],
"references": [
"https://ubuntu.com/security/CVE-2022-1341",
"https://github.com/vgropp/bwm-ng/commit/9774f23bf78a6e6d3ae4cfe3d73bad34f2fdcd17",
"https://github.com/vgropp/bwm-ng/issues/26",
"https://www.cve.org/CVERecord?id=CVE-2022-1341"
]
},
"related_cves": [
{
"value": "CVE-2022-1341",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 354330,
"published_at": "2022-04-18T17:15:00+00:00"
}