JLSEC-2026-766
7.8high
GDAL: scanForGeometryContainers in the netCDF driver allows code execution via a stack-based buffer overflow
- Severity
- 7.8high CVSS:3.1 by Julia Security Advisories
- Published
- Last changed
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GDAL_jll (Julia) | from 3.2.0+0 before 305.1300.100+0 | Julia Security Advisories |
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| Julia Security Advisories | JLSEC-2026-766 changed 2026-07-25 | CC-BY-4.0 |