~ / search / GHSA-wphc-7cm7-8mf7

GHSA-wphc-7cm7-8mf7

GDAL: scanForGeometryContainers in the netCDF driver allows code execution via a stack-based buffer overflow

Source: GitHub Advisory Database (reviewed) High CVE-2026-49014

Packages

EcosystemPackageAffectedFixed in
PyPI gdal >= 3.1.0, < 3.13.1 3.13.1

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.