Every CVE Search/ Get API key

CVE-2026-49014

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

7.4 HighFix available

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

0.10%Up 0.1 points since May 27, 2026
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1
7.8 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1
7.8 HighCVSS: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

Affected packages
PackageAffectedFixed
gdal
PyPI
3.1.0 up to 3.13.1
3.13.1
gdal
Azure Linux:3
through 3.6.3-2 None known
gdal
Bitnami
3.1.0 up to 3.13.1
3.13.1
gdal
Debian: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 less
3.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
gdal
Debian: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 less
3.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
gdal
Debian: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 less
3.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
gdal
PyPI
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 less
3.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_jll
Julia
3.2.0+0 up to 305.1300.100+0
305.1300.100+0
gdal
Ubuntu: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
gdal
Ubuntu: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
Affected packages
PackageAffectedFixed
gdal
Ubuntu: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
gdal
Ubuntu: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
gdal
Ubuntu: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 less
1.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
gdal
Ubuntu: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 less
1.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
gdal
Ubuntu: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
gdal
Ubuntu: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

History
WhenChangedSources
2026-11-02affected, aliases, published, referencesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 13 moreShow less
This page doesn't list everything

Left out here: 68 versions. The JSON record has them.

MoveEnter Open