Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. GDAL
  4. ›
  5. CVE-2026-49014

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

May 27, 2026 (updated July 1, 2026)

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.

References

  • github.com/OSGeo/gdal/blob/v3.13.1/NEWS.md
  • github.com/OSGeo/gdal/commit/f5ebabc1042f3c59b24e7c8ad45dda242d127f09
  • github.com/OSGeo/gdal/issues/14594
  • github.com/OSGeo/gdal/pull/14598
  • github.com/advisories/GHSA-wphc-7cm7-8mf7
  • github.com/pypa/advisory-database/tree/main/vulns/gdal/PYSEC-2026-193.yaml
  • nvd.nist.gov/vuln/detail/CVE-2026-49014

Code Behaviors & Features

Detect and mitigate CVE-2026-49014 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.1.0 before 3.13.1

Fixed versions

  • 3.13.1

Solution

Upgrade to version 3.13.1 or above.

Impact 7.4 HIGH

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-121: Stack-based Buffer Overflow

Source file

pypi/GDAL/CVE-2026-49014.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:51 +0000.