OSGeo gdal has a heap-based buffer overflow
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | gdal | < 3.13.0RC1 | 3.13.0RC1 |
References
- https://github.com/OSGeo/gdal/
- https://github.com/OSGeo/gdal/releases/tag/v3.13.0RC1
- https://github.com/biniamf/pocs/tree/main/gdal-swsdfldsrch_oob-read
- https://vuldb.com/submit/808127
- https://vuldb.com/vuln/362429
- https://vuldb.com/vuln/362429/cti
- https://github.com/OSGeo/gdal/issues/14398
- https://github.com/OSGeo/gdal/commit/3e04c0385630e4d42517046d9a4967dfccfeb7fd
- https://github.com/advisories/GHSA-r5m4-5vww-w9f5
- https://nvd.nist.gov/vuln/detail/CVE-2026-8212
- https://github.com/OSGeo/gdal
- https://github.com/pypa/advisory-database/tree/main/vulns/gdal/PYSEC-2026-4.yaml
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L- Weakness (CWE)
CWE-119, CWE-125- Platform
- Python (PyPI)
- Package
gdal- Disclosed
- 09.05.2026
- Updated
- 11.10.2026 15:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-4 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-r5m4-5vww-w9f5 - CC BY 4.0
Vulnerability history: gdal
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 11
- First → latest
- 10.2019 05.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 3
- Medium 4
- Low 3
Disclosures per year
- 2019: 1
- 2020: 0
- 2021: 1
- 2022: 1
- 2023: 0
- 2024: 0
- 2025: 1
- 2026: 7
-
OSGeo gdal has a heap-based buffer overflow this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.