{"id":"CVE-2026-8087","published":"2026-05-07T19:00:15Z","modified":"2026-05-08T14:18:03Z","title":"OSGeo gdal GDapi.c GDnentries heap-based overflow","vendor":"OSGeo","product":"gdal","tier":"tail","description":{"text":"A security flaw has been discovered in OSGeo gdal up to 3.13.0dev-4. Impacted is the function GDnentries of the file frmts/hdf4/hdf-eos/GDapi.c. Performing a manipulation of the argument DataFieldName results in heap-based buffer overflow. The attack must be initiated from a local position. The exploit has been released to the public and may be used for attacks. Upgrading to version 3.13.0RC1 is recommended to address this issue. The patch is named 184f77dbcc74118c062c05e464c88161d3c37b9b. You should upgrade the affected component.","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.00223,"percentile":0.13159,"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/361840","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/361840/cti","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/submit/808039","tags":["third-party-advisory"]},{"url":"https://github.com/OSGeo/gdal/issues/14363","tags":["issue-tracking"]},{"url":"https://github.com/biniamf/pocs/tree/main/gdal-gdinqfields_bof","tags":["exploit"]},{"url":"https://github.com/OSGeo/gdal/commit/184f77dbcc74118c062c05e464c88161d3c37b9b","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":11.3,"factors":[{"name":"EPSS percentile","points":2.63},{"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-08T14:17:56.094820Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"GDAL","vulnerableRanges":["<3.13.0"],"patched":["3.13.0"],"from":["GHSA-h9rh-5ffh-h669","PYSEC-2026-2155"],"provenance":"source"}],"summary":{"text":"A heap-based buffer overflow exists in the GDnentries function of frmts/hdf4/hdf-eos/GDapi.c in the OSGeo gdal geospatial library, affecting versions up to 3.13.0dev-4. An attacker who can reach the system locally, with low privileges and no user interaction, can supply a crafted DataFieldName argument to corrupt heap memory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:52Z"},"euvd":{"id":"EUVD-2026-28435","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/biniamf/pocs/tree/main/gdal-gdinqfields_bof"],"lineage":{"familyId":"fam-osgeo-gdal-cve-2026-8087","parents":[{"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"}]}],"children":[{"from":"CVE-2026-8087","to":"CVE-2026-8213","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"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}],"package":"PyPI:GDAL"}}