Stack-based buffer overflow in GDAL
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-121 and the CVSS impact.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| GDAL | GDAL | 3.1.0 – 3.13.0 | — | No fix listed | CNA |
| — | gdal (PyPI) | 3.1.0 to before 3.13.1 | 3.13.1 | Patch available | GHSA-wphc-7cm7-8mf7 |
- GDAL VendorGDAL Affected 3.1.0 – 3.13.0 Fixed in — No fix listed CNA
- gdal (PyPI) Vendor— Affected 3.1.0 to before 3.13.1 Fixed in 3.13.1 Patch available GHSA-wphc-7cm7-8mf7
Remediation
- Fix · GHSA-wphc-7cm7-8mf7 gdal (PyPI) Fixed in 3.13.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-49014
- 2026-10-03 Alias added: GHSA-wphc-7cm7-8mf7
References
More GDAL vulnerabilities
- TI-2005-03399 GDAL before 1.3.0-r1 allows local users in the portage group to increase privileges via a… CVSS 2.0HIGH 7.2
Sources
- CVE-2026-49014 · CVE Program
- CVE-2026-49014 · NVD
- FIRST EPSS
- GHSA-wphc-7cm7-8mf7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences