Medium
Security advisory
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).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-45943
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:02 UTC · Revision 1
Source evidence
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).
osv:CVE-2021-45943
Complete source record
{
"id": "2c3543f60e9f61548c5d493373bcc6309204b40f6b4349b0b93a83017a3e693a",
"url": "https://osv.dev/vulnerability/CVE-2021-45943",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-45943",
"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).",
"evidence": "osv:CVE-2021-45943",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-45943",
"aliases": [
"BIT-gdal-2021-45943",
"CVE-2021-45943",
"PYSEC-2022-43065"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/osgeo/gdal",
"type": "GIT",
"events": [
{
"introduced": "eeeffe624996518655f231125712582551222932"
},
{
"last_affected": "d699b38a744301368070ef780f797340da4a9c3c"
},
{
"fixed": "1ca6a3e5168c200763fa46d8aa7e698d0b757e7e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:osgeo:gdal:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.3.0"
},
{
"last_affected": "3.4.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "1ca6a3e5168c200763fa46d8aa7e698d0b757e7e"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v3.4.0RC3",
"v3.4.0",
"v3.4.0RC2",
"v3.4.0RC1",
"v3.3.0RC1",
"v3.3.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45943.json"
}
}
],
"modified": "2026-10-20T10:55:08.904509162Z",
"provider": "osv",
"references": [
"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://github.com/google/oss-fuzz-vulns/blob/main/vulns/gdal/OSV-2021-1651.yaml",
"https://lists.debian.org/debian-lts-announce/2022/01/msg00004.html",
"https://lists.debian.org/debian-lts-announce/2022/09/msg00040.html",
"https://security.gentoo.org/glsa/202210-15",
"https://www.debian.org/security/2022/dsa-5239",
"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://www.oracle.com/security-alerts/cpujul2022.html"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
},
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
},
{
"introduced": "11.0"
},
{
"last_affected": "11.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "34"
},
{
"last_affected": "34"
},
{
"introduced": "35"
},
{
"last_affected": "35"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:spatial_and_graph:19c:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:spatial_and_graph:21c:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:spatial_and_graph",
"extracted_events": [
{
"range": [
{
"introduced": "19c"
},
{
"last_affected": "19c"
},
{
"introduced": "21c"
},
{
"last_affected": "21c"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-45943",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386950,
"published_at": "2022-01-01T01:15:09.1+00:00"
}