{"id":"UBUNTU-CVE-2021-45943","details":"GDAL 3.3.0 through 3.4.0 has a heap-based buffer overflow in PCIDSK::CPCIDSKFile::ReadFromFile (called from PCIDSK::CPCIDSKSegment::ReadFromFile and PCIDSK::CPCIDSKBinarySegment::CPCIDSKBinarySegment).","modified":"2026-05-29T10:45:10.216398949Z","published":"2022-01-01T01:15:00Z","upstream":["CVE-2021-45943"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-45943"},{"type":"REPORT","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41993"},{"type":"REPORT","url":"https://github.com/OSGeo/gdal/pull/4944"},{"type":"REPORT","url":"https://github.com/OSGeo/gdal/commit/93913a849dc1d217a40dbf9d6e6a3a23c42b61a6"},{"type":"REPORT","url":"https://github.com/OSGeo/gdal/commit/9b2bcbc47d1649adc0ab65b801f96f56156cf017"},{"type":"REPORT","url":"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/gdal/OSV-2021-1651.yaml"},{"type":"REPORT","url":"https://github.com/OSGeo/gdal/commit/1ca6a3e5168c200763fa46d8aa7e698d0b757e7e"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-45943"}],"affected":[{"package":{"name":"gdal","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/gdal?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.0-3.1ubuntu4","1.9.0-3.1ubuntu6","1.10.1+dfsg-2","1.10.1+dfsg-2build1","1.10.1+dfsg-3","1.10.1+dfsg-3build1","1.10.1+dfsg-3build2","1.10.1+dfsg-3ubuntu1","1.10.1+dfsg-3ubuntu2","1.10.1+dfsg-5ubuntu1","1.10.1+dfsg-5ubuntu1+esm1","1.10.1+dfsg-5ubuntu1+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"gdal-bin","binary_version":"1.10.1+dfsg-5ubuntu1+esm2"},{"binary_name":"libgdal-java","binary_version":"1.10.1+dfsg-5ubuntu1+esm2"},{"binary_name":"libgdal-perl","binary_version":"1.10.1+dfsg-5ubuntu1+esm2"},{"binary_name":"libgdal1h","binary_version":"1.10.1+dfsg-5ubuntu1+esm2"},{"binary_name":"python-gdal","binary_version":"1.10.1+dfsg-5ubuntu1+esm2"},{"binary_version":"1.10.1+dfsg-5ubuntu1+esm2","binary_name":"python3-gdal"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45943.json"}},{"package":{"name":"gdal","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/gdal?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.2+dfsg-3ubuntu3","1.11.2+dfsg-3ubuntu4","1.11.3+dfsg-2build1","1.11.3+dfsg-2build2","1.11.3+dfsg-2build3","1.11.3+dfsg-3","1.11.3+dfsg-3build1","1.11.3+dfsg-3build2","1.11.3+dfsg-3ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"gdal-bin","binary_version":"1.11.3+dfsg-3ubuntu0.1~esm1"},{"binary_name":"libgdal-java","binary_version":"1.11.3+dfsg-3ubuntu0.1~esm1"},{"binary_name":"libgdal-perl","binary_version":"1.11.3+dfsg-3ubuntu0.1~esm1"},{"binary_name":"libgdal1i","binary_version":"1.11.3+dfsg-3ubuntu0.1~esm1"},{"binary_version":"1.11.3+dfsg-3ubuntu0.1~esm1","binary_name":"python-gdal"},{"binary_name":"python3-gdal","binary_version":"1.11.3+dfsg-3ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45943.json"}},{"package":{"name":"gdal","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/gdal?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1+dfsg-2build3","2.2.1+dfsg-2build5","2.2.2+dfsg-2build1","2.2.3+dfsg-1","2.2.3+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.2.3+dfsg-2","binary_name":"gdal-bin"},{"binary_name":"gdal-data","binary_version":"2.2.3+dfsg-2"},{"binary_name":"libgdal-java","binary_version":"2.2.3+dfsg-2"},{"binary_version":"2.2.3+dfsg-2","binary_name":"libgdal-perl"},{"binary_name":"libgdal20","binary_version":"2.2.3+dfsg-2"},{"binary_name":"python-gdal","binary_version":"2.2.3+dfsg-2"},{"binary_version":"2.2.3+dfsg-2","binary_name":"python3-gdal"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45943.json"}},{"package":{"name":"gdal","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/gdal?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.2+dfsg-1build2","2.4.2+dfsg-1build4","2.4.2+dfsg-2","2.4.3+dfsg-1","3.0.4+dfsg-1","3.0.4+dfsg-1build1","3.0.4+dfsg-1build2","3.0.4+dfsg-1build3"],"ecosystem_specific":{"binaries":[{"binary_name":"gdal-bin","binary_version":"3.0.4+dfsg-1build3"},{"binary_name":"gdal-data","binary_version":"3.0.4+dfsg-1build3"},{"binary_version":"3.0.4+dfsg-1build3","binary_name":"libgdal-java"},{"binary_name":"libgdal-perl","binary_version":"3.0.4+dfsg-1build3"},{"binary_name":"libgdal26","binary_version":"3.0.4+dfsg-1build3"},{"binary_version":"3.0.4+dfsg-1build3","binary_name":"python3-gdal"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45943.json"}}],"schema_version":"1.7.5","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":"medium"}]}