Home / OSGeo / gdal / CVE-2026-8212
CVE-2026-8212: is it exploited, and which versions of OSGeo gdal are affected and fixed?
CVE-2026-8212 is a heap buffer overflow vulnerability in OSGeo gdal. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: GDAL before 3.13.0RC1 (GitHub advisory GHSA-r5m4-5vww-w9f5). Fixed in 3.13.0RC1 (GitHub advisory GHSA-r5m4-5vww-w9f5). Severity: Medium (4.8, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-8212?
OSGeo gdal SWapi.c SWSDfldsrch heap-based 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 is called 3e04c0385630e4d42517046d9a4967dfccfeb7fd. The affected component should be upgraded.
From the CVE record by VulDB, last updated May 11, 2026, 14:56 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| OSGeo | gdal | 3.13.0dev-4 | 3.13.0RC1 |
As the CVE record by VulDB states it, last updated May 11, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | GDAL | < 3.13.0RC1 | 3.13.0RC1 | GHSA-r5m4-5vww-w9f5 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 29, 2026. Summary: OSGeo gdal has a heap-based buffer overflow.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| osgeo | gdal | through 3.12.4 | application |
| osgeo | gdal | 3.13.0 | application |
NVD analysis (status Analyzed), last modified July 24, 2026, 08:10 UTC.
How severe is CVE-2026-8212?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.8 | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| Medium 5.3 | CVSS 3.1 | 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 | VulDB |
| Medium 5.3 | CVSS 3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | VulDB |
| Medium 4.3 | CVSS 2.0 | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C | VulDB |
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-8212 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, May 11, 2026)
- EPSS
- 0.21% probability of exploitation activity in the next 30 days, percentile 11.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-122 Heap-based Buffer Overflow
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-125 Out-of-bounds Read
Where are the vendor advisories and 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
Who found and reported it?
- biniam (VulDB User) (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- May 9, 2026
- Published
- May 9, 2026, 22:30 UTC
- CVE record updated
- May 11, 2026, 14:56 UTC by VulDB
- NVD
- Analyzed, last modified July 24, 2026, 08:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect gdal?
- May 9, 2026CVE-2026-8213 OSGeo gdal: heap buffer overflow
- May 7, 2026CVE-2026-8088 OSGeo gdal: out-of-bounds read
- May 7, 2026CVE-2026-8087 OSGeo gdal: heap buffer overflow
- May 7, 2026CVE-2026-8086 OSGeo gdal: heap buffer overflow
- May 7, 2026CVE-2026-8084 OSGeo gdal: out-of-bounds read
- Mar 24, 2026CVE-2026-4738 OSGeo gdal: memory corruption (buffer overflow)
- Apr 7, 2025CVE-2025-29480 Osgeo Gdal: buffer overflow disputed
- Dec 31, 2021CVE-2021-45943 Osgeo Gdal: out-of-bounds write (memory corruption)
Questions about CVE-2026-8212
Is CVE-2026-8212 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.21% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of OSGeo gdal are affected by CVE-2026-8212?
GDAL before 3.13.0RC1, per the GitHub advisory GHSA-r5m4-5vww-w9f5. The tables above give every range the sources list.
Which version fixes CVE-2026-8212?
3.13.0RC1, per the GitHub advisory GHSA-r5m4-5vww-w9f5. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-8212?
Medium (4.8, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2026-8212?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.