CVE-2026-8212
JSON

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 packageVersionsReported by
OSGeo gdal3.13.0dev-4, up to 3.12.4, 3.13.0
Not affected: 3.13.0RC1
CVE List, NVD
gdal (PyPI)before 3.13.0RC1GitHub Advisory Database, PyPA Advisory Database
gdal (Bitnami)before 3.13.0Bitnami Vulnerability Database

All scores

VulDB4.8medium CVSS:4.0CVSS: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
VulDB5.3medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
VulDB5.3medium CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
VulDB4.3medium CVSS:2.0AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C
GitHub5.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
GitHublow CVSS:4.0CVSS: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
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
PyPA Advisory Database5.3medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Bitnami Vulnerability Databasemedium rating

Classification

CWE-119CWE-122CWE-125

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

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/362429advisory, technical-description, third-party-advisory, vdb-entry, web
https://vuldb.com/vuln/362429/ctipermissions-required, report, signature, vdb-entry, web
https://vuldb.com/submit/808127advisory, exploit, third-party-advisory, vdb-entry, web
https://github.com/OSGeo/gdal/issues/14398exploit, fix, issue-tracking, mitigation, patch, report, web
https://github.com/biniamf/pocs/tree/main/gdal-swsdfldsrch_oob-readadvisory, exploit, third-party-advisory, web
https://github.com/OSGeo/gdal/commit/3e04c0385630e4d42517046d9a4967dfccfeb7fdfix, patch, web
https://github.com/OSGeo/gdal/releases/tag/v3.13.0RC1fix, patch, release-notes, web
https://github.com/OSGeo/gdal/product, web
https://nvd.nist.gov/vuln/detail/CVE-2026-8212advisory, web
https://github.com/OSGeo/gdalpackage
https://github.com/pypa/advisory-database/tree/main/vulns/gdal/PYSEC-2026-4.yamlweb
https://github.com/advisories/GHSA-r5m4-5vww-w9f5advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-8212 changed 2026-05-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-r5m4-5vww-w9f5 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-8212 changed 2026-07-24Public domain
PyPA Advisory DatabasePYSEC-2026-4 changed 2026-06-10CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-GDAL-2026-8212 changed 2026-09-10Apache-2.0