Ubuntu CVE Tracker
UBUNTU-CVE-2026-49014
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:22.04:LTS | gdal | All versions before 3.4.1+dfsg-1ubuntu0.1~esm1 (fixed in 3.4.1+dfsg-1ubuntu0.1~esm1) |
| Ubuntu:Pro:24.04:LTS | gdal | All versions before 3.8.4+dfsg-3ubuntu3+esm1 (fixed in 3.8.4+dfsg-3ubuntu3+esm1) |
| Ubuntu:25.10 | gdal | All versions, no fix listed |
| Ubuntu:Pro:26.04:LTS | gdal | All versions before 3.12.2+dfsg-1ubuntu0.1~esm1 (fixed in 3.12.2+dfsg-1ubuntu0.1~esm1) |