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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OSGeo | gdal | 3.13.0dev-4 | 3.12.4RC1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gdal | 3.13.0+dfsg-1 | — |
| Debian 13 | gdal | No fix yet | — |
| Debian 12 | gdal | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | gdal | No fix yet | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | gdal | 3.12.2+dfsg-1ubuntu0.1~esm1 | USN-8812-1 |
| Ubuntu Pro 24.04 LTS | gdal | 3.8.4+dfsg-3ubuntu3+esm1 | USN-8812-1 |
| Ubuntu Pro 22.04 LTS | gdal | 3.4.1+dfsg-1ubuntu0.1~esm1 | USN-8812-1 |
| Ubuntu Pro 20.04 LTS | gdal | 3.0.4+dfsg-1ubuntu0.1~esm1 | USN-8812-1 |
| Ubuntu Pro 18.04 LTS | gdal | 2.2.3+dfsg-2ubuntu0.1~esm1 | USN-8812-1 |
| Ubuntu Pro 16.04 LTS | gdal | 1.11.3+dfsg-3ubuntu0.1~esm2 | USN-8812-1 |
| Ubuntu Pro 14.04 LTS | gdal | 1.10.1+dfsg-5ubuntu1+esm3 | USN-8812-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | gdal | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | gdal | < 3.13.0 | 3.13.0 | PYSEC-2026-2154 |
Advisories 1
- USN-8812-1 gdal vulnerabilities Ubuntu Security Notices (USN) · Sep 25, 2026
References
- VDB-361839 | OSGeo gdal SWapi.c SWnentries heap-based overflow vdb-entry technical-description
- VDB-361839 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #808038 | OSGeo GDAL 3.13.0dev Heap-based Buffer Overflow third-party-advisory
- https://github.com/OSGeo/gdal/issues/14356 issue-tracking
- https://github.com/OSGeo/gdal/pull/14361 issue-tracking patch
- https://github.com/biniamf/pocs/tree/main/gdal-swinqdims_bof exploit
- https://github.com/OSGeo/gdal/commit/9491e794f1757f08063ea2f7a274ad2994afa636 patch
- https://github.com/OSGeo/gdal/releases/tag/v3.12.4RC1 patch
- https://github.com/OSGeo/gdal/ product