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).
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gdal | 3.4.1+dfsg-1 | — |
| Debian 13 | gdal | 3.4.1+dfsg-1 | — |
| Debian 12 | gdal | 3.4.1+dfsg-1 | — |
| Debian 11 | gdal | 3.2.2+dfsg-2+deb11u2 | DSA-5239-1 |
| Debian 10 | gdal | 2.4.0+dfsg-1+deb10u1 | DLA-3129-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 9 | gdal | 2.1.2+dfsg-5+deb9u1 | DLA-2877-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | gdal | No fix yet | — |
| Ubuntu Pro 18.04 LTS | gdal | No fix yet | — |
| Ubuntu Pro 16.04 LTS | gdal | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | gdal | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | gdal | >= 3.3.0, < 3.4.1 | 3.4.1 | PYSEC-2022-43065 |
Advisories 3
- DSA-5239-1 gdal - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2877-1 gdal - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3129-1 gdal - security update Debian Security (DSA / DLA) · Mar 9, 2026
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
- [debian-lts-announce] 20220112 [SECURITY] [DLA 2877-1] gdal security update mailing-list
- FEDORA-2022-e85e37206b vendor-advisory
- FEDORA-2022-cffca5dbf4 vendor-advisory
- https://www.oracle.com/security-alerts/cpujul2022.html
- DSA-5239 vendor-advisory
- [debian-lts-announce] 20220930 [SECURITY] [DLA 3129-1] gdal security update mailing-list
- GLSA-202210-15 vendor-advisory