gdal
Affected
- introduced
3.1.0, fixed3.13.1(ecosystem)
Fixed versions
3.13.1
Fix
- Fixed version
3.13.1pip install --upgrade gdal==3.13.1
Advisory
Also known as: BIT-gdal-2026-49014, CVE-2026-49014, GHSA-wphc-7cm7-8mf7
The record has no 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.
High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1.0, fixed 3.13.1 (ecosystem)3.13.1
3.13.1pip install --upgrade gdal==3.13.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0