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.
References
History

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: 2026-05-27T01:39:18.976Z

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 : Received

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

Modified: 2026-05-27T14:17:33.440

Link: CVE-2026-49014

cve-icon Redhat

No data.