Stack-based Buffer Overflow Affecting gdal package, versions <3.10.3+dfsg-1+e6


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.15% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-GDAL-18021571
  • published20 Jul 2026
  • disclosed27 May 2026

Introduced: 27 May 2026

CVE-2026-49014  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Echo:latest gdal to version 3.10.3+dfsg-1+e6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gdal package and not the gdal package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1