Skip to main content
← All vulnerabilities
CVE-2026-49014GHSA-WPHC-7CM7-8MF7BIT-GDAL-2026-49014PYSEC-2026-193

In GDAL 3.1.0 through 3.13.0, scanForGeometryContainers in the netCDF driver allows code execution via a stack-based buffer overflow.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.13.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • GDAL GDAL

    From 3.1.0 · through 3.13.0

  • gdalPyPI

    From 3.1.0 · fixed in 3.13.1

References 1

GitHub · OSGeo/gdal