CVE-2026-8212OSGeo gdal SWapi.c SWSDfldsrch heap-based overflow
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.
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-8212 |
| Ubuntu 25.10 | gdal | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-8212 | |
| Ubuntu 24.04 | gdal | Fix pending | 3.8.4+dfsg-3ubuntu3+esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-8212 |
| Ubuntu 22.04 | gdal | Fix pending | 3.4.1+dfsg-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-8212 |
| Ubuntu 20.04 | gdal | Fix pending | 3.0.4+dfsg-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-8212 |
| Ubuntu 18.04 | gdal | Fix pending | 2.2.3+dfsg-2ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-8212 |
| Ubuntu 16.04 | gdal | Fix pending | 1.11.3+dfsg-3ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2026-8212 |
| Ubuntu 14.04 | gdal | Fix pending | 1.10.1+dfsg-5ubuntu1+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-8212 |
| Debian 14 | gdal | Fixed | 3.13.0+dfsg-1 | DEBIAN-CVE-2026-8212 |
| Debian 13 | gdal | Fix pending | DEBIAN-CVE-2026-8212 | |
| Debian 12 | gdal | Fix pending | DEBIAN-CVE-2026-8212 | |
| PyPI library | gdal | Fixed | 3.13.0RC1 | GHSA-r5m4-5vww-w9f5 |
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.13.0RC1 not affected
Vendor advisories:
- https://github.com/OSGeo/gdal/commit/3e04c0385630e4d42517046d9a4967dfccfeb7fd (patch)
- https://github.com/OSGeo/gdal/releases/tag/v3.13.0RC1 (patch)
References
- https://vuldb.com/vuln/362429
- https://vuldb.com/vuln/362429/cti
- https://vuldb.com/submit/808127
- https://github.com/OSGeo/gdal/issues/14398
- https://github.com/biniamf/pocs/tree/main/gdal-swsdfldsrch_oob-read
- https://github.com/OSGeo/gdal/commit/3e04c0385630e4d42517046d9a4967dfccfeb7fd
- https://github.com/OSGeo/gdal/releases/tag/v3.13.0RC1
- 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.