Nixpkgs security tracker

Login with GitHub

Details of issue NIXPKGS-2026-1761

NIXPKGS-2026-1761
published 2 weeks, 2 days ago
Permalink CVE-2026-49014
7.4 HIGH
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Local (L)
  • Attack Complexity (AC): High (H)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): None (N)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): High (H)
  • Integrity (I): High (H)
  • Availability (A): High (H)
  • Modified Attack Vector (MAV): Local (L)
  • Modified Attack Complexity (MAC): High (H)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): None (N)
  • Modified Confidentiality (MC): High (H)
  • Modified Scope (MS): Unchanged (U)
  • Modified Integrity (MI): High (H)
  • Modified Availability (MA): High (H)
updated 2 weeks, 2 days ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse ignored
    3 packages
    • ocamlPackages.gdal
    • haskellPackages.hgdal
    • ocamlPackages_latest.gdal
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
In GDAL 3.1.0 through 3.13.0, scanForGeometryContainers in the netCDF driver …

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.

Affected products

GDAL
  • =<3.13.0

Matching in nixpkgs

pkgs.gdal

Translator library for raster geospatial data formats

pkgs.gdalMinimal

Translator library for raster geospatial data formats

Ignored packages (3)

Package maintainers

Patch: https://github.com/OSGeo/gdal/commit/c49254dc6380af2f02ff43ca79e3cf7c1bc82f01 (master)
Patch: https://github.com/OSGeo/gdal/commit/50eea7456d83c9586f112ef96b43249372839dea (3.13)