# CVE-2026-8212: OSGeo gdal SWapi.c SWSDfldsrch heap-based overflow

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-09 · Modified: 2026-05-11
- Aliases: GHSA-r5m4-5vww-w9f5, BIT-gdal-2026-8212, PYSEC-2026-4, UBUNTU-CVE-2026-8212, DEBIAN-CVE-2026-8212, CGA-2j38-6gv5-mc2p, CGA-8g98-hw3r-6f49, CGA-crx7-j25w-vjfq, CGA-ghg4-xf2m-gqq3, CGA-gwr6-hm2w-vw65, CGA-jr85-mc2q-wj2j, CGA-mg9f-59cf-j8hc, CGA-rhqv-9cc2-96m9, CGA-vrf5-v2mv-3cjf, CGA-xp9q-gxxm-p3q4, CGA-3gv2-834q-724w, CGA-3px2-44pj-596m, CGA-4xp3-8xmv-f42j, CGA-5wv8-5j3q-9628, CGA-h65q-554w-ff9v, CGA-h7vq-h72x-vxv7, CGA-j498-xqr7-76j7, CGA-v58q-6mvx-gc22
- Record: https://cvemate.com/vulnerability/CVE-2026-8212 · JSON: https://cvemate.com/vulnerability/CVE-2026-8212/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.205%, percentile 11.032%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 3 (github, reference)

## Affected

- chainguard py3-gdal (Chainguard): All versions (No fix recorded)
- chainguard py3.10-gdal (Chainguard): \< 3.13.0-r0 \| \< 3.13.1-r0
- chainguard py3.10-gdal-3.8 (Chainguard): \< 3.8.5-r16
- chainguard py3.11-gdal (Chainguard): \< 3.13.1-r0
- chainguard py3.11-gdal-3.8 (Chainguard): \< 3.8.5-r16
- chainguard py3.12-gdal (Chainguard): \< 3.13.0-r0 \| \< 3.13.1-r0
- chainguard py3.12-gdal-3.8 (Chainguard): \< 3.8.5-r16
- chainguard py3.13-gdal (Chainguard): \< 3.13.1-r0
- chainguard py3.13-gdal-3.8 (Chainguard): \< 3.8.5-r16
- wolfi py3-gdal (Wolfi): All versions (No fix recorded)
- wolfi py3.10-gdal (Wolfi): \< 3.13.0-r0 \| \< 3.13.1-r0
- wolfi py3.11-gdal (Wolfi): \< 3.13.1-r0
- wolfi py3.12-gdal (Wolfi): \< 3.13.0-r0 \| \< 3.13.1-r0
- wolfi py3.13-gdal (Wolfi): \< 3.13.1-r0
- debian gdal (Debian): All versions (No fix recorded) \| \< 3.13.0+dfsg-1
- ubuntu gdal (Ubuntu): \< 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
- osgeo gdal: 3.13.0dev-4 \| ≤ 3.12.4 \| 3.13.0:beta1 \| 3.13.0:beta2
- PyPI gdal (PyPI): \< 3.13.0RC1

## References

- <https://vuldb.com/vuln/362429>
- <https://vuldb.com/vuln/362429/cti>
- <https://vuldb.com/submit/808127>
- <https://github.com/OSGeo/gdal/issues/14398>
- <https://github.com/biniamf/pocs/tree/main/gdal-swsdfldsrch_oob-read>
- <https://github.com/OSGeo/gdal/commit/3e04c0385630e4d42517046d9a4967dfccfeb7fd>
- <https://github.com/OSGeo/gdal/releases/tag/v3.13.0RC1>
- <https://github.com/OSGeo/gdal/>
- <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>
- <https://github.com/advisories/GHSA-r5m4-5vww-w9f5>
- <https://ubuntu.com/security/CVE-2026-8212>
- <https://www.cve.org/CVERecord?id=CVE-2026-8212>
- <https://ubuntu.com/security/notices/USN-8812-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-8212>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8212.json>

---

Data as of 2026-12-05T03:52:13.356Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
