CVE-2026-49014Osgeo Gdal
High 7.8
Follow: this CVE · Osgeo · Osgeo Gdal We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- —
- Auth required
- Yes
- Published
- May 27, 2026
- Updated
- Jul 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-121
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Gdal.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | gdal |
≥ 3.1.0 < 3.13.1 |
3.13.1 |
pip install "gdal>=3.13.1" |
| PyPI | gdal |
≥ 3.1.0 < 3.13.1 |
3.13.1 |
pip install "gdal>=3.13.1" |
Per OSV / GitHub Advisories (GHSA-wphc-7cm7-8mf7, PYSEC-2026-193). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| osgeo | gdal | ≥ 3.1.0 ≤ 3.13.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Mitigation Vendor Advisory