7.4High

CVE-2026-49014

GDAL GDAL Published: (5 months ago)

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.

Weakness (CWE): CWE-121

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
GDAL GDAL 3.1.0 – ≤ 3.13.0
osgeo gdal 3.1.0 – ≤ 3.13.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:osgeo:gdal:*:*:*:*:*:*:*:* ≥ 3.1.0 ≤ 3.13.0