Security mailing lists by PureSourceCode

CVE-2026-49014

HIGH 7.8CVSS 3.1

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.

Published
27 May 2026
Last modified
24 Jul 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-121
Also known as
BIT-gdal-2026-49014GHSA-wphc-7cm7-8mf7PYSEC-2026-193
Sources
NVDJSONOSV GHSA-wphc-7cm7-8mf7JSONOSV PYSEC-2026-193JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD cve@mitre.org (Secondary) CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD osgeo gdal
cpe:2.3:a:osgeo:gdal:*:*:*:*:*:*:*:*
>= 3.1.0, <= 3.13.0
OSV PyPI gdal >= 3.1.0, < 3.13.1 3.13.1

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 27 May 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 May 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.