CVE-2026-49014
GDAL: scanForGeometryContainers in the netCDF driver allows code execution via a stack-based buffer overflow
CVE-2026-49014 is a high vulnerability (CVSS 7.4) in Gdal, published May 27, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.10%, the 0th percentile. Fixed in gdal 3.13.1.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.4
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.
- Record
CVE-2026-49014- 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 - Weakness
- CWE-121
- Updated
- 2026-11-02
EUVDEUVD-2026-32039
7.4
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.
- Record
EUVD-2026-32039- 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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-wphc-7cm7-8mf7
7.4
GDAL: scanForGeometryContainers in the netCDF driver allows code execution via a stack-based buffer overflow
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.
- Record
GHSA-wphc-7cm7-8mf7- 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 - Weakness
- CWE-121
- Updated
- 2026-11-02
NVD
7.4
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.
- Record
CVE-2026-49014- 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 - 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 - Weakness
- CWE-121
- Updated
- 2026-11-02
OSV
7.4
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.
- Record
CVE-2026-49014- 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 - Weakness
- CWE-121
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-49014
7.8
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.
- Record
DEBIAN-CVE-2026-49014- 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 - Updated
- 2026-11-02
Show 7 moreShow less
OSVGHSA-wphc-7cm7-8mf7
7.4
GDAL: scanForGeometryContainers in the netCDF driver allows code execution via a stack-based buffer overflow
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.
- Record
GHSA-wphc-7cm7-8mf7- 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 - Weakness
- CWE-121
- Updated
- 2026-11-02
OSVJLSEC-2026-766
7.8
GDAL: scanForGeometryContainers in the netCDF driver allows code execution via a stack-based buffer overflow
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.
- Record
JLSEC-2026-766- 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 - Updated
- 2026-11-02
OSVPYSEC-2026-193
7.8
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.
- Record
PYSEC-2026-193- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-49014
7.4
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.
- Record
UBUNTU-CVE-2026-49014- 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 - 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 - Updated
- 2026-11-02
OSVAZL-88380 No score
CVE-2026-49014 affecting package gdal 3.6.3-2
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.
- Record
AZL-88380- Updated
- 2026-11-02
OSVBIT-gdal-2026-49014 No score
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.
- Record
BIT-gdal-2026-49014- Updated
- 2026-11-02
OSVUSN-8812-1 No score
gdal vulnerabilities
It was discovered that GDAL incorrectly handled certain netCDF files. An attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-49014)
It was discovered that GDAL incorrectly handled certain HDF-EOS files. An attacker could possibly use this issue to cause a crash or execute arbitrary code. (CVE-2026-8086, CVE-2026-8087, CVE-2026-8212, CVE-2026-8213)
It was discovered that GDAL incorrectly handled certain HDF-EOS file metadata. An attacker could possibly use this issue to cause GDAL to crash, resulting in a denial of service. (CVE-2026-8084, CVE-2026-8088)
- Record
USN-8812-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gdalPyPI |
3.1.0 up to 3.13.1 | 3.13.1 |
gdalAzure Linux:3 |
through 3.6.3-2 | None known |
gdalBitnami |
3.1.0 up to 3.13.1 | 3.13.1 |
gdalDebian:12 |
All versions, plus listed versions 3.10.0+dfsg-13.10.0+dfsg-1~exp13.10.0~beta1+dfsg-1~exp13.10.0~rc1+dfsg-1~exp13.10.0~rc2+dfsg-1~exp1 Show 45 moreShow less3.10.0~rc3+dfsg-1~exp13.10.1+dfsg-13.10.1~rc1+dfsg-1~exp13.10.1~rc2+dfsg-1~exp13.10.2+dfsg-13.10.2~rc1+dfsg-1~exp13.10.3+dfsg-13.10.3+dfsg-23.10.3~rc1+dfsg-1~exp13.11.0+dfsg-1~exp13.11.0~beta1+dfsg-1~exp13.11.0~beta1+dfsg-1~exp23.11.0~rc1+dfsg-1~exp13.11.0~rc1+dfsg-1~exp23.11.0~rc2+dfsg-1~exp13.11.1+dfsg-1~exp13.11.1~rc1+dfsg-1~exp13.11.1~rc2+dfsg-1~exp13.11.2+dfsg-1~exp13.11.2~rc1+dfsg-1~exp13.11.2~rc2+dfsg-1~exp13.11.3+dfsg-13.11.3+dfsg-1~exp13.11.3+dfsg-1~exp23.11.4+dfsg-13.11.4~rc1+dfsg-1~exp13.12.0+dfsg-13.12.0+dfsg-1~exp13.12.0~beta1+dfsg-1~exp13.12.0~rc1+dfsg-1~exp13.12.1+dfsg-13.12.1~rc1+dfsg-1~exp13.12.2+dfsg-13.12.2~rc1+dfsg-1~exp13.12.3+dfsg-13.12.3~rc1+dfsg-1~exp13.12.3~rc2+dfsg-1~exp13.13.0+dfsg-13.13.0+dfsg-1~exp13.13.0~beta1+dfsg-1~exp13.13.0~beta2+dfsg-1~exp13.13.0~rc1+dfsg-1~exp13.13.0~rc2+dfsg-1~exp13.13.1+dfsg-13.13.1~rc1+dfsg-1~exp1 |
None known |
gdalDebian:13 |
All versions, plus listed versions 3.10.3+dfsg-13.10.3+dfsg-23.11.0+dfsg-1~exp13.11.0~beta1+dfsg-1~exp13.11.0~beta1+dfsg-1~exp2 Show 38 moreShow less3.11.0~rc1+dfsg-1~exp13.11.0~rc1+dfsg-1~exp23.11.0~rc2+dfsg-1~exp13.11.1+dfsg-1~exp13.11.1~rc1+dfsg-1~exp13.11.1~rc2+dfsg-1~exp13.11.2+dfsg-1~exp13.11.2~rc1+dfsg-1~exp13.11.2~rc2+dfsg-1~exp13.11.3+dfsg-13.11.3+dfsg-1~exp13.11.3+dfsg-1~exp23.11.4+dfsg-13.11.4~rc1+dfsg-1~exp13.12.0+dfsg-13.12.0+dfsg-1~exp13.12.0~beta1+dfsg-1~exp13.12.0~rc1+dfsg-1~exp13.12.1+dfsg-13.12.1~rc1+dfsg-1~exp13.12.2+dfsg-13.12.2~rc1+dfsg-1~exp13.12.3+dfsg-13.12.3~rc1+dfsg-1~exp13.12.3~rc2+dfsg-1~exp13.13.0+dfsg-13.13.0+dfsg-1~exp13.13.0~beta1+dfsg-1~exp13.13.0~beta2+dfsg-1~exp13.13.0~rc1+dfsg-1~exp13.13.0~rc2+dfsg-1~exp13.13.1+dfsg-13.13.1~rc1+dfsg-1~exp13.13.2+dfsg-13.13.2~rc1+dfsg-1~exp13.13.3+dfsg-13.13.3+dfsg-23.13.3~rc1+dfsg-1~exp1 |
None known |
gdalDebian:14 |
before 3.13.1+dfsg-1, plus listed versions 3.10.3+dfsg-13.10.3+dfsg-23.11.0+dfsg-1~exp13.11.0~beta1+dfsg-1~exp13.11.0~beta1+dfsg-1~exp2 Show 32 moreShow less3.11.0~rc1+dfsg-1~exp13.11.0~rc1+dfsg-1~exp23.11.0~rc2+dfsg-1~exp13.11.1+dfsg-1~exp13.11.1~rc1+dfsg-1~exp13.11.1~rc2+dfsg-1~exp13.11.2+dfsg-1~exp13.11.2~rc1+dfsg-1~exp13.11.2~rc2+dfsg-1~exp13.11.3+dfsg-13.11.3+dfsg-1~exp13.11.3+dfsg-1~exp23.11.4+dfsg-13.11.4~rc1+dfsg-1~exp13.12.0+dfsg-13.12.0+dfsg-1~exp13.12.0~beta1+dfsg-1~exp13.12.0~rc1+dfsg-1~exp13.12.1+dfsg-13.12.1~rc1+dfsg-1~exp13.12.2+dfsg-13.12.2~rc1+dfsg-1~exp13.12.3+dfsg-13.12.3~rc1+dfsg-1~exp13.12.3~rc2+dfsg-1~exp13.13.0+dfsg-13.13.0+dfsg-1~exp13.13.0~beta1+dfsg-1~exp13.13.0~beta2+dfsg-1~exp13.13.0~rc1+dfsg-1~exp13.13.0~rc2+dfsg-1~exp13.13.1~rc1+dfsg-1~exp1 |
3.13.1+dfsg-1 |
gdalPyPI |
3.1.0 up to 3.13.1, plus listed versions 3.1.13.1.23.1.33.1.43.10.0 Show 45 moreShow less3.10.13.10.23.10.33.11.03.11.13.11.23.11.33.11.43.11.53.12.0.post13.12.13.12.23.12.33.12.43.13.03.2.03.2.13.2.23.2.2.13.2.33.3.03.3.13.3.23.3.33.4.03.4.13.4.23.4.33.5.03.5.0.33.5.13.5.23.5.33.6.03.6.0.13.6.13.6.23.6.33.6.43.7.03.7.13.7.1.13.7.23.7.33.8.0 |
3.13.1 |
GDAL_jllJulia |
3.2.0+0 up to 305.1300.100+0 | 305.1300.100+0 |
gdalUbuntu:Pro:22.04:LTS |
before 3.4.1+dfsg-1ubuntu0.1~esm1, plus listed versions 3.2.2+dfsg-3ubuntu23.4.0+dfsg-13.4.1+dfsg-13.4.1+dfsg-1build13.4.1+dfsg-1build33.4.1+dfsg-1build4 |
3.4.1+dfsg-1ubuntu0.1~esm1 |
gdalUbuntu:Pro:24.04:LTS |
before 3.8.4+dfsg-3ubuntu3+esm1, plus listed versions 3.7.1+dfsg-1build13.8.0+dfsg-13.8.1+dfsg-1build13.8.2+dfsg-13.8.3+dfsg-13.8.4+dfsg-13.8.4+dfsg-3ubuntu23.8.4+dfsg-3ubuntu3 |
3.8.4+dfsg-3ubuntu3+esm1 |
Show 6 moreShow less
| Package | Affected | Fixed |
|---|---|---|
gdalUbuntu:25.10 |
All versions, plus listed versions 3.10.2+dfsg-1build33.10.3+dfsg-13.10.3+dfsg-1build13.10.3+dfsg-1build2 |
None known |
gdalUbuntu:Pro:26.04:LTS |
before 3.12.2+dfsg-1ubuntu0.1~esm1, plus listed versions 3.10.3+dfsg-1build23.10.3+dfsg-1build33.11.4+dfsg-13.12.0+dfsg-13.12.1+dfsg-13.12.2+dfsg-13.12.2+dfsg-1build13.12.2+dfsg-1build2 |
3.12.2+dfsg-1ubuntu0.1~esm1 |
gdalUbuntu:Pro:14.04:LTS |
before 1.10.1+dfsg-5ubuntu1+esm3, plus listed versions 1.9.0-3.1ubuntu41.9.0-3.1ubuntu61.10.1+dfsg-21.10.1+dfsg-2build11.10.1+dfsg-3 Show 7 moreShow less1.10.1+dfsg-3build11.10.1+dfsg-3build21.10.1+dfsg-3ubuntu11.10.1+dfsg-3ubuntu21.10.1+dfsg-5ubuntu11.10.1+dfsg-5ubuntu1+esm11.10.1+dfsg-5ubuntu1+esm2 |
1.10.1+dfsg-5ubuntu1+esm3 |
gdalUbuntu:Pro:16.04:LTS |
before 1.11.3+dfsg-3ubuntu0.1~esm2, plus listed versions 1.11.2+dfsg-3ubuntu31.11.2+dfsg-3ubuntu41.11.3+dfsg-2build11.11.3+dfsg-2build21.11.3+dfsg-2build3 Show 4 moreShow less1.11.3+dfsg-31.11.3+dfsg-3build11.11.3+dfsg-3build21.11.3+dfsg-3ubuntu0.1~esm1 |
1.11.3+dfsg-3ubuntu0.1~esm2 |
gdalUbuntu:Pro:18.04:LTS |
before 2.2.3+dfsg-2ubuntu0.1~esm1, plus listed versions 2.2.1+dfsg-2build32.2.1+dfsg-2build52.2.2+dfsg-2build12.2.3+dfsg-12.2.3+dfsg-2 |
2.2.3+dfsg-2ubuntu0.1~esm1 |
gdalUbuntu:Pro:20.04:LTS |
before 3.0.4+dfsg-1ubuntu0.1~esm1, plus listed versions 2.4.2+dfsg-1build22.4.2+dfsg-1build42.4.2+dfsg-22.4.3+dfsg-13.0.4+dfsg-13.0.4+dfsg-1build13.0.4+dfsg-1build23.0.4+dfsg-1build3 |
3.0.4+dfsg-1ubuntu0.1~esm1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-02 | affected, aliases, published, references | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
github.com/OSGeo/gdal/issues/14594
nvd.nist.gov/vuln/detail/CVE-2026-49014
github.com/OSGeo/gdal/pull/14598
github.com/OSGeo/gdal/commit/f5ebabc1042f3c59b24e7c8ad45dda242d127f09
github.com/OSGeo/gdal/blob/v3.13.1/NEWS.md
github.com/pypa/advisory-database/tree/main/vulns/gdal/PYSEC-2026-193.yaml
Show 13 moreShow less
github.com/advisories/GHSA-wphc-7cm7-8mf7
github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49014.json
security-tracker.debian.org/tracker/CVE-2026-49014
github.com/OSGeo/gdal
ubuntu.com/security/CVE-2026-49014
cve.org/CVERecord?id=CVE-2026-49014
ubuntu.com/security/notices/USN-8812-1
ubuntu.com/security/CVE-2026-8084
ubuntu.com/security/CVE-2026-8086
ubuntu.com/security/CVE-2026-8087
ubuntu.com/security/CVE-2026-8088
ubuntu.com/security/CVE-2026-8212
ubuntu.com/security/CVE-2026-8213
Left out here: 68 versions. The JSON record has them.