CVE-2026-49014
JSON

7.4high

GDAL: scanForGeometryContainers in the netCDF driver allows code execution via a stack-based buffer overflow

Severity
7.4high CVSS:3.1 by mitre
Exploit likelihood
0.10% (higher than 0% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-wphc-7cm7-8mf7BIT-GDAL-2026-49014PYSEC-2026-193

Description

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

Product or packageVersionsReported by
GDAL GDALfrom 3.1.0 up to 3.13.0CVE List
gdal (PyPI)from 3.1.0 before 3.13.1GitHub Advisory Database, PyPA Advisory Database
osgeo gdalfrom 3.1.0 up to 3.13.0NVD
gdal (Bitnami)from 3.1.0 before 3.13.1Bitnami Vulnerability Database

All scores

mitre7.4high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub7.4high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
PyPA Advisory Database7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-121

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

En GDAL 3.1.0 hasta 3.13.0, scanForGeometryContainers en el controlador netCDF permite la ejecución de código mediante un desbordamiento de búfer basado en pila. Lee un atributo de geometría en un búfer de pila de tamaño fijo sin validar la longitud del atributo. El atacante incrusta el exploit como un atributo de geometría de tamaño excesivo en un archivo NetCDF manipulado. Esto logra la ejecución de código arbitrario en el servidor que ejecuta GDAL. Esto se encuentra en frmts/netcdf/netcdfsg.cpp.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-49014 changed 2026-05-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-wphc-7cm7-8mf7 changed 2026-07-01CC-BY-4.0
NVDCVE-2026-49014 changed 2026-07-24Public domain
PyPA Advisory DatabasePYSEC-2026-193 changed 2026-07-13CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-GDAL-2026-49014 changed 2026-09-10Apache-2.0