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

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2026-05-09T22:30:12.527Z
- Modified: 2026-09-10T16:01:31.551Z
- Also known as: GHSA-r5m4-5vww-w9f5, BIT-GDAL-2026-8212, PYSEC-2026-4
- Weaknesses: CWE-119, CWE-122, CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- OSGeo gdal: 3.13.0dev-4; up to 3.12.4; 3.13.0 (not affected: 3.13.0RC1)
- gdal (PyPI): before 3.13.0RC1
- gdal (Bitnami): before 3.13.0

## Every score

- VulDB: CVSS:4.0 4.8 Medium `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: CVSS:3.1 5.3 Medium `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: CVSS:3.0 5.3 Medium `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: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C`
- GitHub: CVSS:3.1 5.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Low `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`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://vuldb.com/submit/808127> (exploit, advisory, third-party-advisory, vdb-entry, web)
- <https://github.com/OSGeo/gdal/issues/14398> (exploit, fix, issue-tracking, mitigation, patch, report, web)
- <https://github.com/biniamf/pocs/tree/main/gdal-swsdfldsrch_oob-read> (exploit, advisory, third-party-advisory, web)
- <https://vuldb.com/vuln/362429> (advisory, technical-description, third-party-advisory, vdb-entry, web)
- <https://vuldb.com/vuln/362429/cti> (permissions-required, report, signature, vdb-entry, web)
- <https://github.com/OSGeo/gdal/commit/3e04c0385630e4d42517046d9a4967dfccfeb7fd> (fix, patch, web)
- <https://github.com/OSGeo/gdal/releases/tag/v3.13.0RC1> (fix, patch, release-notes, web)
- <https://github.com/OSGeo/gdal/> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-8212> (advisory, web)
- <https://github.com/OSGeo/gdal> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/gdal/PYSEC-2026-4.yaml> (web)
- <https://github.com/advisories/GHSA-r5m4-5vww-w9f5> (advisory)

## Sources

- CVE List: [CVE-2026-8212](https://www.cve.org/CVERecord?id=CVE-2026-8212), CVE Terms of Use, modified 2026-05-11
- GitHub Advisory Database: [GHSA-r5m4-5vww-w9f5](https://github.com/advisories/GHSA-r5m4-5vww-w9f5), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-8212](https://nvd.nist.gov/vuln/detail/CVE-2026-8212), Public domain, modified 2026-07-24
- PyPA Advisory Database: [PYSEC-2026-4](https://osv.dev/vulnerability/PYSEC-2026-4), CC-BY-4.0, modified 2026-06-10
- Bitnami Vulnerability Database: [BIT-GDAL-2026-8212](https://osv.dev/vulnerability/BIT-GDAL-2026-8212), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-8212 · Whole record: https://cve.day/CVE-2026-8212.json · Rebuilt by cve.day 2026-11-25T22:59:21.159Z
