{"id":"CVE-2021-45943","aliases":["BIT-gdal-2021-45943","DEBIAN-CVE-2021-45943","DLA-2877-1","DLA-3129-1","DSA-5239-1","EUVD-2022-0111","GHSA-x54c-x29c-rpr5","MGASA-2022-0137","PYSEC-2022-43065","UBUNTU-CVE-2021-45943"],"status":"published","title":"GDAL 3.3.0 through 3.4.0 has a heap-based buffer overflow in PCIDSK::CPCIDSKFile::ReadFromFile ...","description":"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).","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.0154,"percentile":0.75116,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2021-12-31T00:00:00Z","modified":"2026-10-23T18:04:17Z","fixes":[{"ecosystem":"Bitnami","package":"gdal","fixed_in":["3.4.1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"gdal","fixed_in":["3.4.1+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"gdal","fixed_in":["3.4.1+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"gdal","fixed_in":["3.4.1+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:11","package":"gdal","fixed_in":["3.2.2+dfsg-2+deb11u2"],"sources":["osv"]},{"ecosystem":"Mageia:8","package":"gdal","fixed_in":["3.1.3-7.2.mga8"],"sources":["osv"]},{"ecosystem":"PyPI","package":"gdal","fixed_in":["3.4.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"gdal","ranges":[{"type":"SEMVER","events":[{"introduced":"3.3.0"},{"fixed":"3.4.1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"gdal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.1+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"gdal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.1+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"gdal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.1+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"gdal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.2+dfsg-5+deb9u1"}]}],"versions":["2.1.2+dfsg-5"],"bundled":2},{"source":"osv","ecosystem":"Debian:10","package":"gdal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.0+dfsg-1+deb10u1"}]}],"versions":["2.4.0+dfsg-1"],"bundled":2},{"source":"osv","ecosystem":"Debian:11","package":"gdal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.2+dfsg-2+deb11u2"}]}],"versions":["3.2.2+dfsg-2","3.2.2+dfsg-2+deb11u1"]},{"source":"osv","ecosystem":"Mageia:8","package":"gdal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.3-7.2.mga8"}]}]},{"source":"osv","ecosystem":"PyPI","package":"gdal","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"1ca6a3e5168c200763fa46d8aa7e698d0b757e7e"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.3.0"},{"fixed":"3.4.1"}]}],"versions":["3.3.0","3.3.1","3.3.2","3.3.3","3.4.0"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"gdal","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","1.10.1+dfsg-5ubuntu1+esm3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"gdal","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","1.11.3+dfsg-3ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"gdal","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","2.2.3+dfsg-2ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"gdal","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","3.0.4+dfsg-1ubuntu0.1~esm1"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"oracle","product":"spatial_and_graph"},{"vendor":"osgeo","product":"gdal"}],"references":[{"url":"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/gdal/OSV-2021-1651.yaml","tags":["x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41993","tags":["x_transferred","Exploit","Issue Tracking","Mailing List","Patch","Third Party Advisory","advisory","fix","web","report"]},{"url":"https://github.com/OSGeo/gdal/commit/1ca6a3e5168c200763fa46d8aa7e698d0b757e7e","tags":["x_transferred","Patch","Third Party Advisory","advisory","fix","report"]},{"url":"https://github.com/OSGeo/gdal/pull/4944","tags":["x_transferred","Exploit","Patch","Third Party Advisory","advisory","fix","web","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/01/msg00004.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JBPJGXY7IYY65NVJBLP3RONXE7ZBVCNU/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P23E4DEHY5FJCR5VJ46I6TO32DT7Y3T4/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_transferred","Patch","Third Party Advisory","advisory","fix","web"]},{"url":"https://www.debian.org/security/2022/dsa-5239","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00040.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://security.gentoo.org/glsa/202210-15","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45943","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JBPJGXY7IYY65NVJBLP3RONXE7ZBVCNU/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P23E4DEHY5FJCR5VJ46I6TO32DT7Y3T4/"},{"url":"https://github.com/advisories/GHSA-x54c-x29c-rpr5"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-45943","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0137.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=30256","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/P23E4DEHY5FJCR5VJ46I6TO32DT7Y3T4/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2021-45943","tags":["report"]},{"url":"https://github.com/OSGeo/gdal/commit/93913a849dc1d217a40dbf9d6e6a3a23c42b61a6","tags":["report"]},{"url":"https://github.com/OSGeo/gdal/commit/9b2bcbc47d1649adc0ab65b801f96f56156cf017","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-45943","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-45943","description":"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).","status":"published","published":"2021-12-31T00:00:00Z","modified":"2024-08-04T04:54:31.026Z","updated_at":"2026-11-02T14:33:02.20241Z"}],"euvd":[{"id":"EUVD-2022-0111","description":"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).","status":"published","published":"2021-12-31T00:00:00Z","modified":"2024-08-04T04:54:31Z","updated_at":"2026-11-03T03:08:24.682864Z"}],"ghsa":[{"id":"GHSA-x54c-x29c-rpr5","title":"GDAL 3.3.0 through 3.4.0 has a heap-based buffer overflow in PCIDSK::CPCIDSKFile::ReadFromFile ...","description":"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).","status":"published","published":"2022-01-02T00:00:47Z","modified":"2023-01-29T05:06:52Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:46:06.412268Z"}],"nvd":[{"id":"CVE-2021-45943","description":"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).","status":"published","published":"2022-01-01T01:15:09.1Z","modified":"2026-06-17T04:14:17.707Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:07:02.977492Z"}],"osv":[{"id":"CVE-2021-45943","description":"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).","status":"published","published":"2022-01-01T01:15:09.1Z","modified":"2026-10-20T10:55:08.904509162Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:22.18434Z"},{"id":"DEBIAN-CVE-2021-45943","description":"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).","status":"published","published":"2022-01-01T01:15:09.1Z","modified":"2026-10-23T18:04:17.904341253Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:35.799676Z"},{"id":"PYSEC-2022-43065","description":"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).","status":"published","published":"2022-01-01T01:15:00Z","modified":"2023-12-06T01:01:44.534858Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:52:53.449407Z"},{"id":"UBUNTU-CVE-2021-45943","description":"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).","status":"published","published":"2022-01-01T01:15:00Z","modified":"2026-09-24T18:27:23.451185924Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:30.277322Z"},{"id":"BIT-gdal-2021-45943","description":"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).","status":"published","published":"2024-03-06T10:52:03.078Z","modified":"2026-09-08T08:47:17.554549077Z","updated_at":"2026-11-02T15:28:29.999658Z"},{"id":"DLA-2877-1","title":"gdal - security update","status":"published","published":"2022-01-12T00:00:00Z","modified":"2026-03-09T01:23:31.24172Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"DLA-3129-1","title":"gdal - security update","status":"published","published":"2022-10-01T00:00:00Z","modified":"2026-03-09T01:22:57.316374Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"DSA-5239-1","title":"gdal - security update","status":"published","published":"2022-09-27T00:00:00Z","modified":"2026-03-09T02:11:44.150854Z","updated_at":"2026-11-02T15:46:17.543497Z"},{"id":"MGASA-2022-0137","title":"Updated gdal packages fix security vulnerability","description":"GDAL 3.3.0 through 3.4.0 has a heap-based buffer overflow in\nPCIDSK::CPCIDSKFile::ReadFromFile (called from\nPCIDSK::CPCIDSKSegment::ReadFromFile and\nPCIDSK::CPCIDSKBinarySegment::CPCIDSKBinarySegment). (CVE-2021-45943)\n","status":"published","published":"2022-04-09T21:20:39Z","modified":"2026-04-16T04:40:50.224951768Z","updated_at":"2026-11-02T15:49:41.849028Z"}]}}
