4.8medium
OSGeo gdal SWapi.c SWSDfldsrch heap-based overflow
- Severity
- 4.8medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-r5m4-5vww-w9f5BIT-GDAL-2026-8212PYSEC-2026-4
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
| Product or package | Versions | Reported by |
|---|---|---|
| OSGeo gdal | 3.13.0dev-4, up to 3.12.4, 3.13.0 Not affected: 3.13.0RC1 | CVE List, NVD |
| gdal (PyPI) | before 3.13.0RC1 | GitHub Advisory Database, PyPA Advisory Database |
| gdal (Bitnami) | before 3.13.0 | Bitnami Vulnerability Database |
All scores
| VulDB | 4.8medium 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 | 5.3medium 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 | 5.3medium 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 | 4.3medium CVSS:2.0 | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C |
| GitHub | 5.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| GitHub | low 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 |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | 5.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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 commit sha is 3e04c0385630e4d42517046d9a4967dfccfeb7fd. The affected component should be upgraded.
NVD (es)
Se ha encontrado un defecto en OSGeo gdal hasta la versión 3.13.0dev-4. Afectada por esta vulnerabilidad es la función SWSDfldsrch del archivo frmts/hdf4/hdf-eos/SWapi.c. La ejecución de una manipulación puede llevar a un desbordamiento de búfer basado en montículo. El ataque requiere acceso local. El exploit ha sido publicado y puede ser utilizado. La actualización a la versión 3.13.0RC1 soluciona este problema. Este parche se llama 3e04c0385630e4d42517046d9a4967dfccfeb7fd. El componente afectado debería ser actualizado.
Bitnami Vulnerability Database
A flaw has been found in OSGeo gdal up to 3.13.0. 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.0 addresses this issue. This patch is called 3e04c0385630e4d42517046d9a4967dfccfeb7fd. The affected component should be upgraded.
References
| 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://vuldb.com/submit/808127 | advisory, exploit, 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 | advisory, exploit, third-party-advisory, 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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-8212 changed 2026-05-11 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r5m4-5vww-w9f5 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-8212 changed 2026-07-24 | Public domain |
| PyPA Advisory Database | PYSEC-2026-4 changed 2026-06-10 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-GDAL-2026-8212 changed 2026-09-10 | Apache-2.0 |