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

- Severity: High 7.4 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 0% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-27T01:39:18.976Z
- Modified: 2026-09-10T16:01:31.589Z
- Also known as: GHSA-wphc-7cm7-8mf7, BIT-GDAL-2026-49014, PYSEC-2026-193
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- GDAL GDAL: from 3.1.0 up to 3.13.0
- gdal (PyPI): from 3.1.0 before 3.13.1
- osgeo gdal: from 3.1.0 up to 3.13.0
- gdal (Bitnami): from 3.1.0 before 3.13.1

## Every score

- mitre: CVSS:3.1 7.4 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/OSGeo/gdal/issues/14594> (exploit, advisory, issue-tracking, mitigation, report, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-49014> (advisory, web)
- <https://github.com/OSGeo/gdal/pull/14598> (web)
- <https://github.com/OSGeo/gdal/commit/f5ebabc1042f3c59b24e7c8ad45dda242d127f09> (web)
- <https://github.com/OSGeo/gdal> (package)
- <https://github.com/OSGeo/gdal/blob/v3.13.1/NEWS.md> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/gdal/PYSEC-2026-193.yaml> (web)
- <https://github.com/advisories/GHSA-wphc-7cm7-8mf7> (advisory)

## Sources

- CVE List: [CVE-2026-49014](https://www.cve.org/CVERecord?id=CVE-2026-49014), CVE Terms of Use, modified 2026-05-27
- GitHub Advisory Database: [GHSA-wphc-7cm7-8mf7](https://github.com/advisories/GHSA-wphc-7cm7-8mf7), CC-BY-4.0, modified 2026-07-01
- NVD: [CVE-2026-49014](https://nvd.nist.gov/vuln/detail/CVE-2026-49014), Public domain, modified 2026-07-24
- PyPA Advisory Database: [PYSEC-2026-193](https://osv.dev/vulnerability/PYSEC-2026-193), CC-BY-4.0, modified 2026-07-13
- Bitnami Vulnerability Database: [BIT-GDAL-2026-49014](https://osv.dev/vulnerability/BIT-GDAL-2026-49014), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-49014 · Whole record: https://cve.day/CVE-2026-49014.json · Rebuilt by cve.day 2026-11-25T22:59:22.406Z
