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.
Metrics
Affected Vendors & Products
References
| Link | Providers |
|---|---|
| https://github.com/OSGeo/gdal/issues/14594 |
|
History
Wed, 27 May 2026 14:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Wed, 27 May 2026 03:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Stack-Based Buffer Overflow in GDAL NetCDF Driver Allows Arbitrary Code Execution |
Wed, 27 May 2026 02:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| First Time appeared |
Gdal
Gdal gdal |
|
| Weaknesses | CWE-121 | |
| CPEs | cpe:2.3:a:gdal:gdal:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Gdal
Gdal gdal |
|
| References |
| |
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: mitre
Published: 2026-05-27T01:39:18.976Z
Updated: 2026-05-27T13:52:05.905Z
Reserved: 2026-05-27T01:39:18.239Z
Link: CVE-2026-49014
Updated: 2026-05-27T13:52:00.723Z
Status : Received
Published: 2026-05-27T02:16:34.180
Modified: 2026-05-27T14:17:33.440
Link: CVE-2026-49014
No data.
ReportizFlow