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.
{
"cna_assigner": "mitre",
"cwe_ids": [
"CWE-121"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49014.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "3.1.0"
},
{
"last_affected": "3.13.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"cpe": "cpe:2.3:a:osgeo:gdal:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.1.0"
},
{
"last_affected": "3.13.0"
}
],
"source": "CPE_RANGE"
}
]
}