{"id":"CVE-2026-8212","aliases":["CVE-2026-8212","GHSA-r5m4-5vww-w9f5","BIT-GDAL-2026-8212","PYSEC-2026-4"],"related":[],"kind":"vulnerability","state":"published","title":"OSGeo gdal SWapi.c SWSDfldsrch heap-based overflow","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","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 commit sha is 3e04c0385630e4d42517046d9a4967dfccfeb7fd. The affected component should be upgraded.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"},{"lang":"en","text":"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.","format":"markdown","source":"bitnami"}],"published":"2026-05-09T22:30:12.527Z","modified":"2026-09-10T16:01:31.551Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":4.8,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"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","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"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","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-119","CWE-122","CWE-125"],"affected":[{"ranges":[{"version":"3.13.0dev-4","status":"affected"},{"version":"3.13.0RC1","status":"unaffected"}],"vendor":"OSGeo","product":"gdal","cpe":"cpe:2.3:a:osgeo:gdal:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.13.0RC1"}],"ecosystem":"PyPI","package":"gdal","purl":"pkg:pypi/gdal","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"3.12.4"},{"status":"affected","version":"3.13.0"},{"status":"affected","version":"3.13.0"}],"vendor":"osgeo","product":"gdal","cpe":"cpe:2.3:a:osgeo:gdal:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"ecosystem":"PyPI","package":"gdal","purl":"pkg:pypi/gdal","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.13.0"}],"ecosystem":"Bitnami","package":"gdal","purl":"pkg:bitnami/gdal","source":"bitnami"}],"references":[{"url":"https://vuldb.com/vuln/362429","tags":["advisory","technical-description","third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://vuldb.com/vuln/362429/cti","tags":["permissions-required","report","signature","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://vuldb.com/submit/808127","tags":["advisory","exploit","third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/OSGeo/gdal/issues/14398","tags":["exploit","fix","issue-tracking","mitigation","patch","report","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/biniamf/pocs/tree/main/gdal-swsdfldsrch_oob-read","tags":["advisory","exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/OSGeo/gdal/commit/3e04c0385630e4d42517046d9a4967dfccfeb7fd","tags":["fix","patch","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/OSGeo/gdal/releases/tag/v3.13.0RC1","tags":["fix","patch","release-notes","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/OSGeo/gdal/","tags":["product","web"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8212","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/OSGeo/gdal","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/gdal/PYSEC-2026-4.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-r5m4-5vww-w9f5","tags":["advisory"],"sources":["pysec"]}],"credits":["biniam (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-05-11T14:56:25.255Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-8212","url":"https://www.cve.org/CVERecord?id=CVE-2026-8212","licence":"CVE Terms of Use","modified":"2026-05-11T14:56:32.914Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r5m4-5vww-w9f5","url":"https://github.com/advisories/GHSA-r5m4-5vww-w9f5","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:55.269Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-8212","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8212","licence":"Public domain","modified":"2026-07-24T08:10:00.150Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-4","url":"https://osv.dev/vulnerability/PYSEC-2026-4","licence":"CC-BY-4.0","modified":"2026-06-10T17:01:17.871Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GDAL-2026-8212","url":"https://osv.dev/vulnerability/BIT-GDAL-2026-8212","licence":"Apache-2.0","modified":"2026-09-10T16:01:31.551Z"}],"updatedAt":"2026-11-25T22:59:21.159Z","epss":{"score":0.00205,"percentile":0.11063,"date":"2026-12-01T12:00:22.000Z"}}