Live threats

All CVEs / Osgeo

CVE-2019-25050Osgeo Gdal

High 7.8

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

Original NVD text.

What to do

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

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
osgeogdal≥ 2.4.2 ≤ 3.0.4

Official sources

References

Links published by the sources. Open them with care.