---
id: CVE-2026-8086
aliases:
  - PYSEC-2026-2154
  - BIT-gdal-2026-8086
title: >-
  A vulnerability was identified in OSGeo gdal up to 3.13.0dev-4. This issue
  affects the function SWnentries of the file frmts/hdf4/hdf-eos…
summary: >-
  A vulnerability was identified in OSGeo gdal up to 3.13.0dev-4. This issue
  affects the function SWnentries of the file frmts/hdf4/hdf-eos/SWapi.c. Such
  manipulation of the argument DimensionName leads to heap-based buffer
  overflow. The a…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
vendor: gdal
product: gdal
ecosystem: pip
affected:
  - gdal < 3.13.0
patched:
  - gdal 3.13.0
published: '2026-05-07'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/PYSEC-2026-2154'
references:
  - url: 'https://github.com/OSGeo/gdal/'
  - url: 'https://github.com/OSGeo/gdal/releases/tag/v3.12.4RC1'
  - url: 'https://vuldb.com/vuln/361839'
  - url: 'https://vuldb.com/vuln/361839/cti'
  - url: >-
      https://github.com/OSGeo/gdal/commit/9491e794f1757f08063ea2f7a274ad2994afa636
  - url: 'https://github.com/OSGeo/gdal/issues/14356'
  - url: 'https://github.com/OSGeo/gdal/pull/14361'
  - url: 'https://github.com/biniamf/pocs/tree/main/gdal-swinqdims_bof'
  - url: 'https://vuldb.com/submit/808038'
tags:
  - osv
  - pip
epss: 0.00237
epssPercentile: 0.15062
ingestedAt: '2026-07-13T18:58:07.620Z'
---

## Overview

A vulnerability was identified in OSGeo gdal up to 3.13.0dev-4. This issue affects the function SWnentries of the file frmts/hdf4/hdf-eos/SWapi.c. Such manipulation of the argument DimensionName leads to heap-based buffer overflow. The attack must be carried out locally. The exploit is publicly available and might be used. Upgrading to version 3.12.4RC1 is capable of addressing this issue. The name of the patch is 9491e794f1757f08063ea2f7a274ad2994afa636. It is advisable to upgrade the affected component.

## Affected packages

- `gdal < 3.13.0`

## Remediation

Upgrade to a patched release:

- `gdal 3.13.0`
