Heap-based Buffer Overflow Affecting gdal package, versions [,3.12.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-GDAL-15762222
  • published24 Mar 2026
  • disclosed24 Mar 2026
  • creditPhuc-Thanh Nguyen

Introduced: 24 Mar 2026

NewCVE-2026-4738  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade gdal to version 3.12.0 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow due to improper restriction of operations within the bounds of a memory buffer in the inftree9.c endpoint. An attacker can achieve heap corruption or execute arbitrary code by supplying specially crafted input data.

Note: This issue is related to CVE-2016-9840 in zlib. The vulnerable logic in inftree9.c is derived from the same codebase and reflects the same underlying flaw.

CVSS Base Scores

version 4.0
version 3.1