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


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-DEBIANUNSTABLE-GDAL-17089146
  • published29 May 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 Debian:unstable gdal to version 3.13.1+dfsg-1 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 Debian. See How to fix? for Debian:unstable 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