CVE-2019-25050Osgeo Gdal
High 7.8
Follow: this CVE · Osgeo · Osgeo Gdal We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 31
- Auth required
- Yes
- Published
- Jul 20, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-787
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
netCDF in GDAL 2.4.2 through 3.0.4 has a stack-based buffer overflow in nc4_get_att (called from nc4_get_att_tc and nc_get_att_text) and in uffd_cleanup (called from netCDFDataset::~netCDFDataset and netCDFDataset::~netCDFDataset).
What to do
- Apply the vendor's security update for Gdal.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | gdal |
≥ 2.4.2 < 3.1.0 |
3.1.0 |
pip install "gdal>=3.1.0" |
Per OSV / GitHub Advisories (PYSEC-2021-888). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| osgeo | gdal | ≥ 2.4.2 ≤ 3.0.4 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.chromium.org Patch Third Party Advisory
- bugs.chromium.org Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory