Live threats

All CVEs / Osgeo

CVE-2021-45943Osgeo Gdal

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
1.5%
probability of exploitation in 30 days · percentile 75
Auth required
Yes
Published
Jan 1, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Gdal.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI gdal ≥ 3.3.0 < 3.4.1 3.4.1 pip install "gdal>=3.4.1"

Per OSV / GitHub Advisories (PYSEC-2022-43065). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
osgeogdal≥ 3.3.0 ≤ 3.4.0
debiandebian_linux9.0
debiandebian_linux10.0
debiandebian_linux11.0
fedoraprojectfedora34
fedoraprojectfedora35
oraclespatial_and_graph19c
oraclespatial_and_graph21c

Official sources

References

Links published by the sources. Open them with care.