{"id":"UBUNTU-CVE-2022-26496","details":"In nbd-server in nbd before 3.24, there is a stack-based buffer overflow. An attacker can cause a buffer overflow in the parsing of the name field by sending a crafted NBD_OPT_INFO or NBD_OPT_GO message with an large value as the length of the name.","modified":"2026-02-04T04:10:24.624750Z","published":"2022-03-06T06:15:00Z","related":["USN-5323-1"],"upstream":["CVE-2022-26496"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-26496"},{"type":"REPORT","url":"https://lists.debian.org/nbd/2022/01/msg00036.html"},{"type":"REPORT","url":"https://lists.debian.org/nbd/2022/01/msg00037.html"},{"type":"REPORT","url":"https://sourceforge.net/projects/nbd/files/nbd/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5323-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-26496"}],"affected":[{"package":{"name":"nbd","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/nbd@1:3.7-1ubuntu0.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:3.3-3ubuntu1","1:3.4-1ubuntu1","1:3.4-2ubuntu1","1:3.5-1ubuntu1","1:3.6-1ubuntu1","1:3.7-1","1:3.7-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"nbd-client","binary_version":"1:3.7-1ubuntu0.1"},{"binary_name":"nbd-server","binary_version":"1:3.7-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26496.json"}},{"package":{"name":"nbd","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/nbd@1:3.13-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:3.10-1","1:3.13-1"],"ecosystem_specific":{"binaries":[{"binary_name":"nbd-client","binary_version":"1:3.13-1"},{"binary_name":"nbd-server","binary_version":"1:3.13-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26496.json"}},{"package":{"name":"nbd","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/nbd@1:3.16.2-1ubuntu0.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.16.2-1ubuntu0.2"}]}],"versions":["1:3.15.2-3","1:3.16.2-1","1:3.16.2-1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"nbd-client","binary_version":"1:3.16.2-1ubuntu0.2"},{"binary_name":"nbd-server","binary_version":"1:3.16.2-1ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26496.json"}},{"package":{"name":"nbd","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/nbd@1:3.20-1ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.20-1ubuntu0.1"}]}],"versions":["1:3.19-3","1:3.20-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"nbd-client","binary_version":"1:3.20-1ubuntu0.1"},{"binary_version":"1:3.20-1ubuntu0.1","binary_name":"nbd-server"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26496.json"}},{"package":{"name":"nbd","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/nbd@1:3.23-3ubuntu1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.23-3ubuntu1"}]}],"versions":["1:3.21-1build3","1:3.22-1","1:3.23-3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"nbd-client","binary_version":"1:3.23-3ubuntu1"},{"binary_name":"nbd-server","binary_version":"1:3.23-3ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-26496.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}