---
id: CVE-2026-8213
aliases:
  - PYSEC-2026-2157
  - BIT-gdal-2026-8213
title: >-
  A vulnerability has been found in OSGeo gdal up to 3.13.0dev-4. Affected by
  this issue is the function GDSDfldsrch of the file frmts/hdf4…
summary: >-
  A vulnerability has been found in OSGeo gdal up to 3.13.0dev-4. Affected by
  this issue is the function GDSDfldsrch of the file frmts/hdf4/hdf-eos/GDapi.c
  of the component Grid File Handler. The manipulation leads to heap-based
  buffer ove…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
vendor: gdal
product: gdal
ecosystem: pip
affected:
  - gdal < 3.13.0
patched:
  - gdal 3.13.0
published: '2026-05-09'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/PYSEC-2026-2157'
references:
  - url: 'https://github.com/OSGeo/gdal/'
  - url: 'https://vuldb.com/vuln/362430'
  - url: 'https://vuldb.com/vuln/362430/cti'
  - url: >-
      https://github.com/OSGeo/gdal/commit/3e04c0385630e4d42517046d9a4967dfccfeb7fd
  - url: 'https://github.com/OSGeo/gdal/issues/14399'
  - url: 'https://github.com/OSGeo/gdal/releases/tag/v3.13.0RC1'
  - url: 'https://github.com/biniamf/pocs/tree/main/gdal-gdsdfldsrch_oob-read'
  - url: 'https://vuldb.com/submit/808128'
tags:
  - osv
  - pip
epss: 0.00231
epssPercentile: 0.12435
ingestedAt: '2026-07-13T18:58:07.665Z'
---

## Overview

A vulnerability has been found in OSGeo gdal up to 3.13.0dev-4. Affected by this issue is the function GDSDfldsrch of the file frmts/hdf4/hdf-eos/GDapi.c of the component Grid File Handler. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. Upgrading to version 3.13.0RC1 can resolve this issue. The identifier of the patch is 3e04c0385630e4d42517046d9a4967dfccfeb7fd. It is suggested to upgrade the affected component.

## Affected packages

- `gdal < 3.13.0`

## Remediation

Upgrade to a patched release:

- `gdal 3.13.0`
