Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconPlace malicious HDF4 file locally
-
DeliveryGDAL process opens HDF4 file
-
ExploitGDnentries called with crafted DataFieldName
-
InstallIncorrect buffer size calculated
-
C2Heap buffer overflow on string write
-
ExecuteMemory corruption occurs
-
ImpactPotential information disclosure or code execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three specific conditions: (1) GDAL compiled and linked with HDF4 support enabled (non-default in some distributions); (2) Local file system access or ability to place/influence HDF4 files processed by GDAL; (3) An authenticated local user context (PR:L per CVSS vector) - the application processing the HDF4 file must execute with at least local user privileges. The vulnerability is triggered when GDAL processes HDF4 files with malformed DataFieldName entries, specifically those lacking proper quote delimiters that trigger the incorrect string length subtraction. The attack does not require user interaction (UI:N) beyond normal file processing. Non-default configurations (HDF4 driver disabled) and systems that do not process HDF4 files are not vulnerable. |
| Impact | CVSS score of 5.3 with vector AV:L/AC:L/PR:L indicates local-only access with low attack complexity and low privilege requirements, resulting in moderate impact (confidentiality, integrity, availability). However, the E:P (Exploit code Proof-of-Concept) rating and publicly available exploit code significantly elevate real-world risk. The EPSS score data is not provided, limiting probabilistic exploitation assessment, but the combination of accessible exploit code and straightforward attack prerequisites (local file opening with crafted HDF4 data) suggests reasonable exploitability in environments where GDAL processes untrusted HDF4 files. The primary limiting factor is the requirement for local access and authenticated context (PR:L), which restricts this to scenarios where attackers can either place malicious files on the system or interact with a GDAL processing pipeline. In server-side or automated geospatial data processing scenarios where GDAL processes user-supplied HDF4 files, this becomes a higher-impact issue despite the moderate CVSS score. |
| Exploit ScenarioDerived | An attacker with local system access creates a malicious HDF4 file (issue_14363.he4) with a specially crafted DataFieldName parameter that lacks proper quote delimiters. When a GDAL application or script processes this file by calling GDnentries or opening the file with gdal.Open(), the vulnerable string length calculation allocates insufficient heap buffer space. Subsequent string operations write beyond the allocated buffer, corrupting heap metadata. With local code execution privileges and careful heap manipulation, this could potentially lead to information disclosure or privilege escalation, though arbitrary code execution is not guaranteed due to modern heap protections. Publicly available proof-of-concept code exists at https://github.com/biniamf/pocs/tree/main/gdal-gdinqfields_bof. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 07, 2026
Heap-based buffer overflow in OSGeo GDAL up to version 3.13.0dev-4 allows local authenticated attackers to corrupt memory and potentially execute arbitrary code via a specially crafted DataFieldName argument passed to the GDnentries function in the HDF-EOS module. The vulnerability affects string length calculation when processing quoted field names, publicly available exploit code exists, and vendor patch is available in version 3.13.0RC1.
RemediationAI
Upgrade to OSGeo GDAL version 3.13.0RC1 or later, which includes the fix implemented in commit 184f77dbcc74118c062c05e464c88161d3c37b9b. The patch corrects the string length calculation by adding a conditional check to verify that a string is actually quoted before subtracting 2 bytes from its length. For systems unable to immediately upgrade, restrict local file system access to HDF4 files to only trusted sources, disable HDF4 driver support if not actively required (compile GDAL without HDF4 support), and implement file format validation to reject malformed HDF4 files before processing. Monitor GDAL process execution and implement sandboxing for automated HDF4 processing pipelines. Patch availability confirmed via GitHub releases at https://github.com/OSGeo/gdal/releases/tag/v3.13.0RC1.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the GDapi.c file within the HDF-EOS (Hierarchical Data Format - Earth Observing System) module of GDAL, a geospatial data abstraction library. The GDnentries function calculates buffer sizes for HDF4 grid field entries by parsing DataFieldName parameters. The root cause (CWE-122: Heap-based Buffer Overflow) stems from incorrect string length calculation: when processing quoted field names, the code unconditionally subtracts 2 bytes (to account for surrounding quotes) from the string length calculation without first verifying that the string is actually quoted. This causes the allocated buffer size to be undersized relative to the actual string data written, enabling heap corruption when unquoted or malformed field names are processed.
Know when Gdal gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A security flaw has been discovered in OSGeo gdal up to 3.13.0dev-4. Impacted is the function GDnentries of the file frmts/hdf4/hdf-eos/GDapi.c. Performing a manipulation of the argument DataFieldName results in heap-based buffer overflow. The attack must be initiated from a local position. The exploit has been released to the public and may be used for attacks. Upgrading to version 3.13.0RC1 is recommended to address this issue. The patch is named 184f77dbcc74118c062c05e464c88161d3c37b9b. You should upgrade the affected component.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
GDAL through 3.0.1 has a poolDestroy double free in OGRExpatRealloc in ogr/ogr_expat.cpp when the 10MB threshold is exce
Buffer Overflow vulnerability in gdal 3.10.2 allows a local attacker to cause a denial of service via the OGRSpatialRefe
A buffer overflow vulnerability in GDAL versions before 3.11.0 within the zlib infback9 module allows remote attackers t
tif_getimage.c in LibTIFF through 4.0.10, as used in GDAL through 3.0.1 and other products, has an integer overflow that
Arbitrary code execution in GDAL 3.1.0 through 3.13.0 arises from a stack-based buffer overflow in the netCDF driver's s
Out-of-bounds read in OSGeo GDAL up to version 3.13.0dev-4 occurs in the HDF-EOS Grid File Handler when parsing malforme
Heap-based buffer overflow in OSGeo GDAL's Grid File Handler (GDSDfldsrch function in frmts/hdf4/hdf-eos/GDapi.c) affect
Heap-based buffer overflow in GDAL's HDF4-EOS SWSDfldsrch function (frmts/hdf4/hdf-eos/SWapi.c) allows local authenticat
Heap-based buffer overflow in OSGeo GDAL up to 3.13.0dev-4 within the SWnentries function of the HDF4-EOS module allows
Out-of-bounds read in OSGeo GDAL up to version 3.13.0dev-4 affects the GDfieldinfo function in HDF-EOS module when proce
EUVD-2026-28435
GHSA-h9rh-5ffh-h669
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB