{"id":"USN-8992-1","summary":"shapelib vulnerability","details":"It was discovered that the shpsort utility in Shapelib incorrectly handled\ncertain inputs, leading to a double free. An attacker could possibly use\nthis issue to cause a denial of service, or possibly execute arbitrary\ncode.","modified":"2026-11-04T03:43:12.749339238Z","published":"2026-11-03T17:38:38Z","related":["UBUNTU-CVE-2022-0699"],"upstream":["CVE-2022-0699","UBUNTU-CVE-2022-0699"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8992-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-0699"}],"affected":[{"package":{"name":"shapelib","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/shapelib?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0-5ubuntu0.1~esm1"}]}],"versions":["1.3.0-5"],"ecosystem_specific":{"binaries":[{"binary_version":"1.3.0-5ubuntu0.1~esm1","binary_name":"libshp2"},{"binary_name":"shapelib","binary_version":"1.3.0-5ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[{"id":"CVE-2022-0699","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8992-1.json"}},{"package":{"name":"shapelib","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/shapelib?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.1-1ubuntu0.1~esm1"}]}],"versions":["1.4.0-1","1.4.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libshp2","binary_version":"1.4.1-1ubuntu0.1~esm1"},{"binary_name":"shapelib","binary_version":"1.4.1-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"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":"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"}],"id":"CVE-2022-0699"}],"ecosystem":"Ubuntu:Pro:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8992-1.json"}},{"package":{"name":"shapelib","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/shapelib?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-1ubuntu0.1~esm1"}]}],"versions":["1.5.0-1","1.5.0-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.5.0-1ubuntu0.1~esm1","binary_name":"libshp2"},{"binary_version":"1.5.0-1ubuntu0.1~esm1","binary_name":"shapelib"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8992-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"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":"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"}],"id":"CVE-2022-0699"}]}}},{"package":{"name":"shapelib","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/shapelib?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.0-2+deb11u1build0.22.04.1"}]}],"versions":["1.5.0-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.5.0-2+deb11u1build0.22.04.1","binary_name":"libshp2"},{"binary_version":"1.5.0-2+deb11u1build0.22.04.1","binary_name":"shapelib"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8992-1.json","cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[{"id":"CVE-2022-0699","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}]}}}],"schema_version":"1.9.2"}