{"schemaVersion":3,"id":"CVE-2021-45943","aliases":["MGASA-2022-0137","PYSEC-2022-43065","BIT-gdal-2021-45943","UBUNTU-CVE-2021-45943","DEBIAN-CVE-2021-45943","DSA-5239-1"],"status":"published","duplicateOf":null,"title":null,"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).","dates":{"published":"2021-12-31T00:00:00.000Z","modified":"2024-08-04T04:54:31.026Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01491,"percentile":0.73752,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01491},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01491,"percentile":0.73752}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01491,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01491,"percentile":0.73752}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_OSGEO_GDAL","name":"Gdal","source":"github","url":"https://github.com/OSGeo/gdal/pull/4944","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_C1F9FF7EBBCF3B2E","name":"Exploit Reference (bugs.chromium.org)","source":"reference","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41993","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"debian","product":"gdal","name":"gdal","label":"gdal","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/gdal","purlType":"deb","versions":[{"text":"< 3.4.1+dfsg-1","noFixRecorded":false,"fixedIn":null},{"text":"< 3.2.2+dfsg-2+deb11u2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.4.1+dfsg-1 | < 3.2.2+dfsg-2+deb11u2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"gdal","name":"gdal","label":"gdal","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/gdal","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null},{"text":"10.0","noFixRecorded":false,"fixedIn":null},{"text":"11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0 | 10.0 | 11.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"34","noFixRecorded":false,"fixedIn":null},{"text":"35","noFixRecorded":false,"fixedIn":null}],"versionsText":"34 | 35","eol":{"isEol":true,"eolDate":"2022-06-07T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"34","label":"34","eolFrom":"2022-06-07T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"mageia","product":"gdal","name":"gdal","label":"gdal","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/gdal","purlType":"rpm","versions":[{"text":"< 3.1.3-7.2.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.1.3-7.2.mga8","eol":null,"hubHref":null},{"vendor":"oracle","product":"spatial_and_graph","name":"spatial and graph","label":"spatial_and_graph","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"19c","noFixRecorded":false,"fixedIn":null},{"text":"21c","noFixRecorded":false,"fixedIn":null}],"versionsText":"19c | 21c","eol":null,"hubHref":"/vendor/oracle/spatial_and_graph"},{"vendor":"osgeo","product":"gdal","name":"gdal","label":"gdal","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.3.0, ≤ 3.4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.3.0, ≤ 3.4.0","eol":null,"hubHref":"/vendor/osgeo/gdal"},{"vendor":"PyPI","product":"gdal","name":"gdal","label":"gdal","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/gdal","purlType":"pypi","versions":[{"text":"< 1ca6a3e5168c200763fa46d8aa7e698d0b757e7e","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.3.0, < 3.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1ca6a3e5168c200763fa46d8aa7e698d0b757e7e | ≥ 3.3.0, < 3.4.1","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/gdal/OSV-2021-1651.yaml","label":"github.com/google/oss-fuzz-vulns/blob/main/vulns/gdal/OSV-2021-1651.yaml","hostname":"github.com","tags":["WEB","REPORT","Third Party Advisory"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41993","label":"bugs.chromium.org/p/oss-fuzz/issues/detail?id=41993","hostname":"bugs.chromium.org","tags":["WEB","REPORT","Exploit","Issue Tracking","Mailing List","Patch","Third Party Advisory"]},{"url":"https://github.com/OSGeo/gdal/commit/1ca6a3e5168c200763fa46d8aa7e698d0b757e7e","label":"github.com/OSGeo/gdal/commit/1ca6a3e5168c200763fa46d8aa7e698d0b757e7e","hostname":"github.com","tags":["FIX","REPORT","Patch","Third Party Advisory"]},{"url":"https://github.com/OSGeo/gdal/pull/4944","label":"github.com/OSGeo/gdal/pull/4944","hostname":"github.com","tags":["WEB","REPORT","Exploit","Patch","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/01/msg00004.html","label":"lists.debian.org/debian-lts-announce/2022/01/msg00004.html","hostname":"lists.debian.org","tags":["Mailing List","WEB","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JBPJGXY7IYY65NVJBLP3RONXE7ZBVCNU/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","WEB"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P23E4DEHY5FJCR5VJ46I6TO32DT7Y3T4/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","WEB"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","label":"www.oracle.com/security-alerts/cpujul2022.html","hostname":"www.oracle.com","tags":["WEB","Patch","Third Party Advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5239","label":"www.debian.org/security/2022/dsa-5239","hostname":"www.debian.org","tags":["Vendor Advisory","Advisory","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00040.html","label":"lists.debian.org/debian-lts-announce/2022/09/msg00040.html","hostname":"lists.debian.org","tags":["Mailing List","WEB","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202210-15","label":"security.gentoo.org/glsa/202210-15","hostname":"security.gentoo.org","tags":["Vendor Advisory","Advisory","Third Party Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0137.html","label":"advisories.mageia.org/MGASA-2022-0137.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=30256","label":"bugs.mageia.org/show_bug.cgi?id=30256","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/P23E4DEHY5FJCR5VJ46I6TO32DT7Y3T4/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2021-45943","label":"ubuntu.com/security/CVE-2021-45943","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/OSGeo/gdal/commit/93913a849dc1d217a40dbf9d6e6a3a23c42b61a6","label":"github.com/OSGeo/gdal/commit/93913a849dc1d217a40dbf9d6e6a3a23c42b61a6","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/OSGeo/gdal/commit/9b2bcbc47d1649adc0ab65b801f96f56156cf017","label":"github.com/OSGeo/gdal/commit/9b2bcbc47d1649adc0ab65b801f96f56156cf017","hostname":"github.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-45943","label":"www.cve.org/CVERecord?id=CVE-2021-45943","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-45943","label":"security-tracker.debian.org/tracker/CVE-2021-45943","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-2877-1","DLA-3129-1"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-12-31T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T04:54:31.026Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T21:02:15.355Z","stale":false,"partial":false}}