{"id":"JLSEC-2026-766","aliases":["JLSEC-2026-766"],"related":["CVE-2026-49014","GHSA-wphc-7cm7-8mf7","EUVD-2026-32039","PYSEC-2026-193"],"kind":"vulnerability","state":"published","title":"GDAL: scanForGeometryContainers in the netCDF driver allows code execution via a stack-based buffer overflow","summary":"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`.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"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`.","format":"markdown","source":"jlsec"}],"published":"2026-07-15T21:25:44.755Z","modified":"2026-07-25T18:24:52.936Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"3.2.0+0","status":"affected","fixed":"305.1300.100+0"}],"ecosystem":"Julia","package":"GDAL_jll","purl":"pkg:julia/GDAL_jll?uuid=a7073274-a066-55f0-b90d-d619367d196c","source":"jlsec"}],"references":[{"url":"https://github.com/OSGeo/gdal/blob/v3.13.1/NEWS.md","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/OSGeo/gdal/commit/f5ebabc1042f3c59b24e7c8ad45dda242d127f09","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/OSGeo/gdal/issues/14594","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/OSGeo/gdal/pull/14598","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/advisories/GHSA-wphc-7cm7-8mf7","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/gdal/PYSEC-2026-193.yaml","tags":["web"],"sources":["jlsec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49014","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-766","url":"https://osv.dev/vulnerability/JLSEC-2026-766","licence":"CC-BY-4.0","modified":"2026-07-25T18:24:52.936Z"}],"updatedAt":"2026-11-25T22:56:26.230Z"}