CVE-2026-49014
HIGH 7.8CVSS 3.1GDAL: scanForGeometryContainers in the netCDF driver allows code execution via a stack-based buffer overflow
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.
- Published
- 27 May 2026
- Last modified
- 24 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-121
- Also known as
- BIT-gdal-2026-49014GHSA-wphc-7cm7-8mf7PYSEC-2026-193
- Sources
- NVDJSONOSV GHSA-wphc-7cm7-8mf7JSONOSV PYSEC-2026-193JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | osgeo | gdalcpe:2.3:a:osgeo:gdal:*:*:*:*:*:*:*:* |
>= 3.1.0, <= 3.13.0 | |
| OSV | PyPI | gdal | >= 3.1.0, < 3.13.1 | 3.13.1 |
References
- https://github.com/OSGeo/gdal/issues/14594 · Issue Tracking, Mitigation, Vendor Advisory, WEB, REPORT
- https://nvd.nist.gov/vuln/detail/CVE-2026-49014 · ADVISORY
- https://github.com/OSGeo/gdal/pull/14598 · WEB
- https://github.com/OSGeo/gdal/commit/f5ebabc1042f3c59b24e7c8ad45dda242d127f09 · WEB
- https://github.com/OSGeo/gdal · PACKAGE
- https://github.com/OSGeo/gdal/blob/v3.13.1/NEWS.md · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/gdal/PYSEC-2026-193.yaml · WEB
- https://github.com/advisories/GHSA-wphc-7cm7-8mf7 · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 27 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 May 2026)