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.
References
| Link | Resource |
|---|---|
| https://github.com/OSGeo/gdal/issues/14594 | Issue Tracking Mitigation Vendor Advisory |
| https://github.com/OSGeo/gdal/issues/14594 | Issue Tracking Mitigation Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-05-27 02:16
Updated : 2026-07-24 12:10
NVD link : CVE-2026-49014
Mitre link : CVE-2026-49014
CVE.ORG link : CVE-2026-49014
JSON object : View
Products Affected
osgeo
- gdal
CWE
CWE-121
Stack-based Buffer Overflow
