CVE-2021-45943 json
GDAL 3.3.0 through 3.4.0 has a heap-based buffer overflow in PCIDSK::CPCIDSKFile::ReadFromFile (called from PCIDSK::CPCIDSKSegment::ReadFro…
published 2021-12-31 4 y ago modified 2026-09-08 2 mo ago also BIT-gdal-2021-45943 , EUVD-2022-0111 , PYSEC-2022-43065
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- bitnami gdal 3.4.1
- pypi gdal 3.4.1
- gdal Debian 14, Debian 13, Debian 12 3.4.1+dfsg-1
debian advisories DEBIAN-CVE-2021-45943
- github.com/OSGeo/gdal@1ca6a3e commit
- github.com/OSGeo/gdal#4944 pull request
- bugs.chromium.org/p/oss-fuzz/issues/detail?id=41993 advisory
- oracle.com/security-alerts/cpujul2022.html advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-45943 updated cvss 5.5
gdal: heap-based buffer overflow in PCIDSK::CPCIDSKFile::ReadFromFile
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.54% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/OSGeo/gdal/pull/4944 referenced PoC, tagged "exploit" by a source, unverified
- bugs.chromium.org https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41993 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | gdal | >=3.3.0, <3.4.1 |
3.4.1 |
| pypi | gdal | >=3.3.0, <3.4.1 |
3.4.1 |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/OSGeo/gdal/commit/1ca6a3e5168c200763fa46d8aa7e698d0b757e7e
patch, third-party-advisory, advisory
-
github.com
/OSGeo/gdal/pull/4944
exploit, patch, third-party-advisory, advisory, web
-
bugs.chromium.org
/p/oss-fuzz/issues/detail?id=41993
exploit, issue-tracking, mailing-list, patch, third-party-advisory, advisory, web
-
oracle.com
/security-alerts/cpujul2022.html
patch, third-party-advisory, advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/JBPJGXY7IYY65NVJBLP3RONXE7ZBVCNU/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/P23E4DEHY5FJCR5VJ46I6TO32DT7Y3T4/
vendor-advisory, web
-
debian.org
/security/2022/dsa-5239
vendor-advisory, third-party-advisory, advisory
-
security.gentoo.org
/glsa/202210-15
vendor-advisory, third-party-advisory, advisory
-
github.com
/google/oss-fuzz-vulns/blob/main/vulns/gdal/OSV-2021-1651.yaml
third-party-advisory, advisory, web
-
lists.debian.org
/debian-lts-announce/2022/01/msg00004.html
mailing-list, third-party-advisory, advisory, web
-
lists.debian.org
/debian-lts-announce/2022/09/msg00040.html
mailing-list, third-party-advisory, advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2021-45943
web
Sources
- CVE List CVE-2021-45943
- NVD CVE-2021-45943
- OSV BIT-gdal-2021-45943
- OSV PYSEC-2022-43065
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.