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.
Published: 2026-05-27
Score: 7.4 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Thu, 04 Jun 2026 16:15:00 +0000

Type Values Removed Values Added
First Time appeared Osgeo
Osgeo gdal
CPEs cpe:2.3:a:osgeo:gdal:*:*:*:*:*:*:*:*
Vendors & Products Osgeo
Osgeo gdal

Wed, 27 May 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


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

{'score': 7.4, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-05-27T13:52:05.905Z

Reserved: 2026-05-27T01:39:18.239Z

Link: CVE-2026-49014

cve-icon Vulnrichment

Updated: 2026-05-27T13:52:00.723Z

cve-icon NVD

Status : Analyzed

Published: 2026-05-27T02:16:34.180

Modified: 2026-06-17T10:55:27.107

Link: CVE-2026-49014

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-27T03:30:06Z

Weaknesses