CVE-2026-8212: OSGeo gdal SWapi.c SWSDfldsrch heap-based overflow
Vulnerability summary
CVE-2026-8212 is a medium (CVSS 5.5) vulnerability in osgeo gdal. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 11% of scored vulnerabilities. 3 public exploits are recorded.
Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 2Timeline
- 09-05-2026PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
13 scores · 7 sources · 4 versions- OSV · UbuntuEcosystem advisory · calculated4.8MediumCVSS: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
- OSV · WolfiEcosystem advisory · calculated4.8MediumCVSS: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
- OSV · ChainguardEcosystem advisory · calculated4.8MediumCVSS: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
- NVDNIST1.9LowCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XDiffers
- CVE.orgCNA5.3MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:CDiffers
- OSV · PypiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST4.3MediumAV:L/AC:L/Au:S/C:P/I:P/A:P
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.21% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
3 foundPocs
Maturity: poc
Gdal
Maturity: poc
Exploit Reference (vuldb.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferThe product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary.
- CWE-122Heap-based Buffer OverflowThe product writes past the end of a buffer that was allocated on the heap.
- CWE-125Out-of-bounds ReadThe product reads data past the end, or before the beginning, of the intended buffer.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard9 products
- py3-gdalAll versions (No fix recorded)
- py3.10-gdal< 3.13.0-r0 | < 3.13.1-r0
- py3.10-gdal-3.8< 3.8.5-r16
- py3.11-gdal< 3.13.1-r0
- py3.11-gdal-3.8< 3.8.5-r16
Wolfi5 products
- py3-gdalAll versions (No fix recorded)
- py3.10-gdal< 3.13.0-r0 | < 3.13.1-r0
- py3.11-gdal< 3.13.1-r0
- py3.12-gdal< 3.13.0-r0 | < 3.13.1-r0
- py3.13-gdal< 3.13.1-r0
Debian1 product
- gdalAll versions (No fix recorded) | < 3.13.0+dfsg-1
Osgeo1 product
- gdal3.13.0dev-4 | ≤ 3.12.4 | 3.13.0:beta1 | 3.13.0:beta2
PyPI1 product
- gdal< 3.13.0RC1
Ubuntu1 product
- gdal< 1.10.1+dfsg-5ubuntu1+esm3 | < 1.11.3+dfsg-3ubuntu0.1~esm2 | < 2.2.3+dfsg-2ubuntu0.1~esm1 | < 3.0.4+dfsg-1ubuntu0.1~esm1 | < 3.4.1+dfsg-1ubuntu0.1~esm1 | < 3.8.4+dfsg-3ubuntu3+esm1 | All versions (No fix recorded) | < 3.12.2+dfsg-1ubuntu0.1~esm1
6 vendors · 18 products
References
17 links- github.com/biniamf/pocs/tree/main/gdal-swsdfldsrch_oob-readExploitWEBREPORTEVIDENCEThird Party Advisory
- github.com/OSGeo/gdalPACKAGE