# CVE-2021-45943

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-12-31 · Modified: 2024-08-04
- Aliases: MGASA-2022-0137, PYSEC-2022-43065, BIT-gdal-2021-45943, UBUNTU-CVE-2021-45943, DEBIAN-CVE-2021-45943, DSA-5239-1
- Record: https://cvemate.com/vulnerability/CVE-2021-45943 · JSON: https://cvemate.com/vulnerability/CVE-2021-45943/json

## Description

```text
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).
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 1.54%, percentile 75.774%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (github, reference)

## Affected

- debian gdal (Debian): \< 3.4.1+dfsg-1 \| \< 3.2.2+dfsg-2+deb11u2
- ubuntu gdal (Ubuntu): All versions (No fix recorded)
- debian debian\_linux: 9.0 \| 10.0 \| 11.0
- fedoraproject fedora: 34 \| 35
- mageia gdal (Mageia): \< 3.1.3-7.2.mga8
- oracle spatial\_and\_graph: 19c \| 21c
- osgeo gdal: ≥ 3.3.0, ≤ 3.4.0
- PyPI gdal (PyPI): \< 1ca6a3e5168c200763fa46d8aa7e698d0b757e7e \| ≥ 3.3.0, \< 3.4.1

## References

- <https://github.com/google/oss-fuzz-vulns/blob/main/vulns/gdal/OSV-2021-1651.yaml>
- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41993>
- <https://github.com/OSGeo/gdal/commit/1ca6a3e5168c200763fa46d8aa7e698d0b757e7e>
- <https://github.com/OSGeo/gdal/pull/4944>
- <https://lists.debian.org/debian-lts-announce/2022/01/msg00004.html>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JBPJGXY7IYY65NVJBLP3RONXE7ZBVCNU/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P23E4DEHY5FJCR5VJ46I6TO32DT7Y3T4/>
- <https://www.oracle.com/security-alerts/cpujul2022.html>
- <https://www.debian.org/security/2022/dsa-5239>
- <https://lists.debian.org/debian-lts-announce/2022/09/msg00040.html>
- <https://security.gentoo.org/glsa/202210-15>
- <https://advisories.mageia.org/MGASA-2022-0137.html>
- <https://bugs.mageia.org/show_bug.cgi?id=30256>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/P23E4DEHY5FJCR5VJ46I6TO32DT7Y3T4/>
- <https://ubuntu.com/security/CVE-2021-45943>
- <https://github.com/OSGeo/gdal/commit/93913a849dc1d217a40dbf9d6e6a3a23c42b61a6>
- <https://github.com/OSGeo/gdal/commit/9b2bcbc47d1649adc0ab65b801f96f56156cf017>
- <https://www.cve.org/CVERecord?id=CVE-2021-45943>
- <https://security-tracker.debian.org/tracker/CVE-2021-45943>

---

Data as of 2026-12-05T09:39:40.637Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
