CVE-2026-49014
Description
In GDAL 3.1.0 through 3.13.0, scanForGeometryContainers in the netCDF driver allows code execution via a stack-based buffer overflow. It reads a geometry attribute into a fixed-size stack buffer without validating the attribute length. The attacker embeds the exploit as an oversized geometry attribute in a crafted NetCDF file. This achieves arbitrary code execution on the server running GDAL. This is in frmts/netcdf/netcdfsg.cpp.
How to fix
- gdal3.13.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| osgeo gdal | 3.1.0 ≤ v ≤ 3.13.0 | — |
| gdalPyPI | 3.1.0 ≤ v < 3.13.1 | 3.13.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.