OSGeo GDAL HDF-EOS Library Out-of-Bounds Read Vulnerability in GDfieldinfo Function

Vulnerability

A vulnerability allowing for an out-of-bounds read has been identified in OSGeo GDAL versions through 3.13.0dev-4. The issue arises in the HDF4-EOS handling, specifically within the GDfieldinfo function of the GDapi.c file. The vulnerability is triggered by a size_t underflow when the function processes the DimList metadata, leading to a read operation that exceeds the allocated buffer. This flaw can be exploited locally, causing a segmentation fault and a denial-of-service condition.

Impact

Exploitation of this vulnerability causes a heap-buffer-overflow, leading to a segmentation fault and a denial-of-service condition.

Reproduction

The vulnerability can be reproduced using the 'gdalmdiminfo' command-line tool with a crafted HDF-EOS grid file that exploits the DimList parsing. The file 'poc_gdfinfo_dimlist_oob-read.he4' serves as a proof of concept, demonstrating the out-of-bounds read by causing the application to crash.

Remediation

Users are advised to upgrade to GDAL version 3.13.0RC1, where this vulnerability has been fixed.

Added: May 7, 2026, 8:24 PM
Updated: May 7, 2026, 8:24 PM

Vulnerability Rating

Custom Algorithm
spread
6.6
impact
1.3
exploitability
4.2
remediation
7.7
relevance
7.7
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.