{"id":"CVE-2026-49014","details":"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.","aliases":["BIT-gdal-2026-49014","GHSA-wphc-7cm7-8mf7","PYSEC-2026-193"],"modified":"2026-07-15T01:48:58.151545577Z","published":"2026-05-27T01:39:18.976Z","database_specific":{"cna_assigner":"mitre","cwe_ids":["CWE-121"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49014.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49014.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49014"},{"type":"REPORT","url":"https://github.com/OSGeo/gdal/issues/14594"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/osgeo/gdal","events":[{"introduced":"2b949f190c7669d6c831fe0c945611712ebed6a0"},{"last_affected":"130cb4675a0b42bd32acad56e57022cca44fc008"}],"database_specific":{"extracted_events":[{"introduced":"3.1.0"},{"last_affected":"3.13.0"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:osgeo:gdal:*:*:*:*:*:*:*:*"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49014.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}