CVE-2026-49014
In GDAL 3.1.0 through 3.13.0, scanForGeometryContainers in the netCDF driver allows code execution via a stack-based buffer overflow.
Auswirkung
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.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | gdal | >= 3.1.0, < 3.13.1 | 3.13.1 |
Betroffene Produkte · Osgeo
| Produkt | Betroffene Versionen |
|---|---|
| Gdal | ab 3.1.0 bis einschließlich 3.13.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-wphc-7cm7-8mf7
- https://nvd.nist.gov/vuln/detail/CVE-2026-49014
- https://github.com/OSGeo/gdal/issues/14594
- https://github.com/OSGeo/gdal/pull/14598
- https://github.com/OSGeo/gdal/commit/f5ebabc1042f3c59b24e7c8ad45dda242d127f09
- https://github.com/OSGeo/gdal/blob/v3.13.1/NEWS.md
- https://github.com/pypa/advisory-database/tree/main/vulns/gdal/PYSEC-2026-193.yaml