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 witho
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | gdal | >= 3.1.0, < 3.13.1 | 3.13.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-49014
- https://github.com/OSGeo/gdal/issues/14594
- https://github.com/OSGeo/gdal/pull/14598
- https://github.com/OSGeo/gdal/commit/f5ebabc1042f3c59b24e7c8ad45dda242d127f09
- https://github.com/OSGeo/gdal
- https://github.com/OSGeo/gdal/blob/v3.13.1/NEWS.md
- https://github.com/pypa/advisory-database/tree/main/vulns/gdal/PYSEC-2026-193.yaml
- https://github.com/advisories/GHSA-wphc-7cm7-8mf7
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-121- Platform
- Python (PyPI)
- Package
gdal- Disclosed
- 27.05.2026
- Updated
- 11.10.2026 14:18
Sources and licenses
OSV / GitHub Advisory Database - GHSA-wphc-7cm7-8mf7 - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-193 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: gdal
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 11
- First → latest
- 10.2019 05.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 3
- Medium 4
- Low 3
Disclosures per year
- 2019: 1
- 2020: 0
- 2021: 1
- 2022: 1
- 2023: 0
- 2024: 0
- 2025: 1
- 2026: 7
-
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 witho this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.