HIGH7.8
PYSEC-2026-2154
Quick fix
PYSEC-2026-2154 — gdal: upgrade to the fixed version with the command below.
pip install --upgrade 'gdal>=3.13.0'Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/OSGeo/gdal/[WEB]
- https://github.com/OSGeo/gdal/releases/tag/v3.12.4RC1[ADVISORY]
- https://vuldb.com/vuln/361839[ADVISORY]
- https://vuldb.com/vuln/361839/cti[REPORT]
- https://github.com/OSGeo/gdal/commit/9491e794f1757f08063ea2f7a274ad2994afa636[FIX]
- https://github.com/OSGeo/gdal/issues/14356[FIX]
- https://github.com/OSGeo/gdal/pull/14361[FIX]
- https://github.com/biniamf/pocs/tree/main/gdal-swinqdims_bof[EVIDENCE]
- https://vuldb.com/submit/808038[EVIDENCE]