CVE-2026-8086OSGeo gdal SWapi.c SWnentries heap-based overflow
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
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | gdal | Fix pending | 3.12.2+dfsg-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-8086 |
| Ubuntu 25.10 | gdal | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-8086 | |
| Ubuntu 24.04 | gdal | Fix pending | 3.8.4+dfsg-3ubuntu3+esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-8086 |
| Ubuntu 22.04 | gdal | Fix pending | 3.4.1+dfsg-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-8086 |
| Ubuntu 20.04 | gdal | Fix pending | 3.0.4+dfsg-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-8086 |
| Ubuntu 18.04 | gdal | Fix pending | 2.2.3+dfsg-2ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-8086 |
| Ubuntu 16.04 | gdal | Fix pending | 1.11.3+dfsg-3ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2026-8086 |
| Ubuntu 14.04 | gdal | Fix pending | 1.10.1+dfsg-5ubuntu1+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-8086 |
| Debian 14 | gdal | Fixed | 3.13.0+dfsg-1 | DEBIAN-CVE-2026-8086 |
| Debian 13 | gdal | Fix pending | DEBIAN-CVE-2026-8086 | |
| Debian 12 | gdal | Fix pending | DEBIAN-CVE-2026-8086 | |
| PyPI library | gdal | Fixed | 3.13.0 | PYSEC-2026-2154 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OSGeo gdal: affected: 3.13.0dev-4, 3.12.4RC1 not affected
Vendor advisories:
- https://github.com/OSGeo/gdal/pull/14361 (patch)
- https://github.com/OSGeo/gdal/commit/9491e794f1757f08063ea2f7a274ad2994afa636 (patch)
- https://github.com/OSGeo/gdal/releases/tag/v3.12.4RC1 (patch)
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/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.