{"id":"UBUNTU-CVE-2022-0530","details":"A flaw was found in Unzip. The vulnerability occurs during the conversion of a wide string to a local string that leads to a heap of out-of-bound write. This flaw allows an attacker to input a specially crafted zip file, leading to a crash or code execution.","modified":"2026-02-04T03:26:44.930191Z","published":"2022-02-09T23:15:00Z","related":["USN-5673-1"],"upstream":["CVE-2022-0530"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-0530"},{"type":"REPORT","url":"https://github.com/ByteHackr/unzip_poc"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5673-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-0530"}],"affected":[{"package":{"name":"unzip","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/unzip@6.0-9ubuntu1.6+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0-9ubuntu1.6+esm1"}]}],"versions":["6.0-9ubuntu1","6.0-9ubuntu1.1","6.0-9ubuntu1.2","6.0-9ubuntu1.3","6.0-9ubuntu1.4","6.0-9ubuntu1.5","6.0-9ubuntu1.6"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"unzip","binary_version":"6.0-9ubuntu1.6+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0530.json"}},{"package":{"name":"unzip","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/unzip@6.0-20ubuntu1.1+esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0-20ubuntu1.1+esm1"}]}],"versions":["6.0-17ubuntu1","6.0-19ubuntu1","6.0-19ubuntu2","6.0-20ubuntu1","6.0-20ubuntu1.1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"unzip","binary_version":"6.0-20ubuntu1.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0530.json"}},{"package":{"name":"unzip","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/unzip@6.0-21ubuntu1.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0-21ubuntu1.2"}]}],"versions":["6.0-21ubuntu1","6.0-21ubuntu1.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"unzip","binary_version":"6.0-21ubuntu1.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0530.json"}},{"package":{"name":"unzip","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/unzip@6.0-25ubuntu1.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0-25ubuntu1.1"}]}],"versions":["6.0-25ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"unzip","binary_version":"6.0-25ubuntu1.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0530.json"}},{"package":{"name":"unzip","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/unzip@6.0-26ubuntu3.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0-26ubuntu3.1"}]}],"versions":["6.0-26ubuntu1","6.0-26ubuntu2","6.0-26ubuntu3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"unzip","binary_version":"6.0-26ubuntu3.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0530.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}