Stack-based Buffer Overflow Affecting gdal package, versions *


Severity

Recommended
low

Based on Debian security rating.

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-DEBIAN12-GDAL-17089148
  • 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?

There is no fixed version for Debian:12 gdal.

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:12 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