{"id":"CVE-2026-8212","published":"2026-05-09T22:30:12Z","modified":"2026-05-11T14:56:32Z","title":"OSGeo gdal SWapi.c SWSDfldsrch heap-based overflow","vendor":"OSGeo","product":"gdal","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00205,"percentile":0.1067,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"references":[{"url":"https://vuldb.com/vuln/362429","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/362429/cti","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/submit/808127","tags":["third-party-advisory"]},{"url":"https://github.com/OSGeo/gdal/issues/14398","tags":["issue-tracking"]},{"url":"https://github.com/biniamf/pocs/tree/main/gdal-swsdfldsrch_oob-read","tags":["exploit"]},{"url":"https://github.com/OSGeo/gdal/commit/3e04c0385630e4d42517046d9a4967dfccfeb7fd","tags":["patch"]},{"url":"https://github.com/OSGeo/gdal/releases/tag/v3.13.0RC1","tags":["patch"]},{"url":"https://github.com/OSGeo/gdal/","tags":["product"]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":2.13},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"osgeo","affectedVersions":[{"vendor":"OSGeo","product":"gdal","versions":["3.13.0dev-4"]}],"fixedVersions":[{"vendor":"OSGeo","product":"gdal","versions":["3.13.0RC1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-11T14:56:25.255773Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"GDAL","vulnerableRanges":["<3.13.0RC1"],"patched":["3.13.0RC1"],"from":["GHSA-r5m4-5vww-w9f5","PYSEC-2026-4"],"provenance":"source"}],"summary":{"text":"A heap-based buffer overflow in the SWSDfldsrch function of frmts/hdf4/hdf-eos/SWapi.c in OSGeo GDAL, affecting versions up to 3.13.0dev-4. An attacker with local access and low privileges, and no user interaction, can trigger the overflow by manipulating input to the affected function, which can compromise confidentiality, integrity and availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:37Z"},"euvd":{"id":"EUVD-2026-28948","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/biniamf/pocs/tree/main/gdal-swsdfldsrch_oob-read"],"lineage":{"familyId":"fam-osgeo-gdal-cve-2026-8087","children":[{"from":"CVE-2026-8212","to":"CVE-2026-8087","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:GDAL","fromFixed":"3.13.0RC1","toFixed":"3.13.0","daysApart":-2},{"kind":"same-code","provenance":"machine","files":["autotest/gcore/hdf4_read.py","autotest/gcore/hdf4multidim.py","frmts/hdf4/hdf-eos/GDapi.c"],"commits":["https://github.com/OSGeo/gdal/commit/184f77dbcc74118c062c05e464c88161d3c37b9b","https://github.com/OSGeo/gdal/commit/3e04c0385630e4d42517046d9a4967dfccfeb7fd"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-8212","published":"2026-05-09","fixed":"3.13.0RC1","kev":false},{"cve":"CVE-2026-8087","published":"2026-05-07","fixed":"3.13.0","kev":false},{"cve":"CVE-2026-8088","published":"2026-05-07","fixed":"3.13.0","kev":false,"link":{"from":"CVE-2026-8212","to":"CVE-2026-8088","relation":"successor","confidence":"high","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:GDAL","fromFixed":"3.13.0RC1","toFixed":"3.13.0","daysApart":-2},{"kind":"same-code","provenance":"machine","files":["autotest/gcore/hdf4_read.py","frmts/hdf4/hdf-eos/GDapi.c","frmts/hdf4/hdf-eos/SWapi.c"],"commits":["https://github.com/OSGeo/gdal/commit/a791f70f8eaec540974ec989ca6fb00266b7646c","https://github.com/OSGeo/gdal/commit/3e04c0385630e4d42517046d9a4967dfccfeb7fd"],"basis":"shared file"}]}}],"package":"PyPI:GDAL"}}