Advisory

GHSA-r5m4-5vww-w9f5

Also known as: BIT-gdal-2026-8212, CVE-2026-8212, PYSEC-2026-4

Summary

OSGeo gdal has a heap-based buffer overflow

Details

A flaw has been found in OSGeo gdal up to 3.13.0dev-4. Affected by this vulnerability is the function SWSDfldsrch of the file frmts/hdf4/hdf-eos/SWapi.c. Executing a manipulation can lead to heap-based buffer overflow. The attack requires local access. The exploit has been published and may be used. Upgrading to version 3.13.0RC1 addresses this issue. This patch commit sha is 3e04c0385630e4d42517046d9a4967dfccfeb7fd. The affected component should be upgraded.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-05-10 00:33 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

gdal

PyPI · All systems

Affected

  • introduced 0, fixed 3.13.0RC1 (ecosystem)

Fixed versions

3.13.0RC1

Fix

  • Fixed version 3.13.0RC1
    pip install --upgrade gdal==3.13.0RC1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences