Vulnerability · Published May 9, 2026 · Assigned by VulDB
CVE-2026-8212OSGeo gdal SWapi.c SWSDfldsrch heap-based overflow
Medium 5.3
In plain English
A medium-severity heap buffer overflow in gdal from OSGeo. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 is called 3e04c0385630e4d42517046d9a4967dfccfeb7fd. The affected component should be upgraded.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | gdal | no fix listed | DEBIAN-CVE-2026-8212 |
| Debian:13 | gdal | no fix listed | DEBIAN-CVE-2026-8212 |
| Debian:14 | gdal | 3.13.0+dfsg-1 | DEBIAN-CVE-2026-8212 |
| PyPI | gdal | 3.13.0RC1 | GHSA-r5m4-5vww-w9f5 |
| PyPI | gdal | no fix listed | PYSEC-2026-4 |
| Ubuntu:25.10 | gdal | no fix listed | UBUNTU-CVE-2026-8212 |
Affected products (as reported)
Weakness: CWE-122, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
References
- VDB-362429 | OSGeo gdal SWapi.c SWSDfldsrch heap-based overflow vdb-entry, technical-description
- VDB-362429 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #808127 | OSGeo GDAL 3.13.0dev Out-of-Bounds Read third-party-advisory
- https://github.com/OSGeo/gdal/issues/14398 issue-tracking
- https://github.com/biniamf/pocs/tree/main/gdal-swsdfldsrch_oob-read exploit
- https://github.com/OSGeo/gdal/commit/3e04c0385630e4d42517046d9a4967dfccfeb7fd patch
- https://github.com/OSGeo/gdal/releases/tag/v3.13.0RC1 patch
- https://github.com/OSGeo/gdal/ product