CVE-2026-8088: GDAL OSGeo GDAL Vulnerable To Out-of-bounds Vulnerability

LOW
Advisory Identifier: GHSA-j3f5-rw74-g4rv
CVSS 3.3
CWE-119
Published
Advisory Summary

CVE-2026-8088 is a LOW (CVSS 3.3) osgeo gdal vulnerable to out-of-bounds vulnerability (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) affecting GDAL libraries in the PyPI ecosystem. The issue involves osgeo gdal vulnerable to out-of-bounds read. Remediation is available by upgrading affected packages to version 3.13.0.

CVE-2026-8088 at a Glance

CVE Identifier CVE-2026-8088
GHSA Identifier GHSA-j3f5-rw74-g4rv
Severity LOW
CVSS v3.1 Base Score 3.3
CWE Classification CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Affected Product GDAL
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 3.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability Low (A:L)

How to Fix CVE-2026-8088

To remediate this vulnerability, upgrade all affected GDAL dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

GDAL fixed: 3.13.0
pip install GDAL>=3.13.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show GDAL

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-8088, inspect your installed packages using pip:

pip show GDAL

Analyze the terminal output to locate any version of GDAL in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.13.0), your application is affected.

Note: The pip show GDAL command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, where the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. In GDAL, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A weakness has been identified in OSGeo gdal up to 3.13.0dev-4. The affected element is the function GDfieldinfo of the file frmts/hdf4/hdf-eos/GDapi.c. Executing a manipulation can lead to out-of-bounds read. The attack needs to be launched locally. The exploit has been made available to the public and could be used for attacks. Upgrading to version 3.13.0RC1 is sufficient to fix this issue. This patch is called a791f70f8eaec540974ec989ca6fb00266b7646c. The affected component should be upgraded.

CVE-2026-8088 Affected GDAL Versions

1 component(s)
Fixed Versions:
3.13.0
Product / Package Ecosystem Affected Versions Fixed Version
GDAL
PyPI
< 3.13.0
3.13.0

References

Frequently Asked Questions

What is CVE-2026-8088?
CVE-2026-8088 is a security vulnerability in GDAL involving OSGeo GDAL vulnerable to out-of-bounds read under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer.
Which GDAL versions are affected?
Affected versions include releases prior to 3.13.0 across affected packages: GDAL.
What version fixes CVE-2026-8088?
Upgrading to 3.13.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is GDAL affected?
Yes, GDAL is affected in releases prior to 3.13.0. Upgrade your dependency to 3.13.0 or later.
What is the CVSS score of CVE-2026-8088?
CVE-2026-8088 has a CVSS v3.1 base score of 3.3 (LOW) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2026-8088?
CVE-2026-8088 is classified under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer (The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.).
How can I check PyPI dependencies for CVE-2026-8088?
Run the dependency tree command: 'pip show GDAL'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-j3f5-rw74-g4rv",
  "modified" : "2026-05-12T16:29:27Z",
  "published" : "2026-05-07T21:30:30Z",
  "aliases" : [ "CVE-2026-8088" ],
  "summary" : "OSGeo GDAL vulnerable to out-of-bounds read",
  "details" : "A weakness has been identified in OSGeo gdal up to 3.13.0dev-4. The affected element is the function GDfieldinfo of the file frmts/hdf4/hdf-eos/GDapi.c. Executing a manipulation can lead to out-of-bounds read. The attack needs to be launched locally. The exploit has been made available to the public and could be used for attacks. Upgrading to version 3.13.0RC1 is sufficient to fix this issue. This patch is called a791f70f8eaec540974ec989ca6fb00266b7646c. The affected component should be upgraded.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "GDAL"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.13.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-8088"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/OSGeo/gdal/issues/14379"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/OSGeo/gdal/commit/a791f70f8eaec540974ec989ca6fb00266b7646c"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/OSGeo/gdal"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/OSGeo/gdal/releases/tag/v3.13.0RC1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/biniamf/pocs/tree/main/gdal-gdapi-gdfinfo-dimlist-oob-read"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/submit/808040"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/361841"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/361841/cti"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-119" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-12T16:29:27Z",
    "nvd_published_at" : "2026-05-07T20:16:45Z"
  }
}