CVE-2026-138215
Deferred Deferred - Pending Action

Out-of-Bounds Write in OSGeo libgeotiff

Vulnerability report for CVE-2026-138215, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-29

Last updated on: 2026-11-29

Assigner: VulDB

Description

A vulnerability was detected in OSGeo libgeotiff up to 1.7.4. Affected by this issue is the function GTIFProj4ToLatLong of the file geotiff_proj4.c of the component listgeo. Performing a manipulation of the argument SemiMajor/SemiMinor results in out-of-bounds write. The attack may be initiated remotely. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-29
Last Modified
2026-11-29
Generated
2026-11-29
AI Q&A
2026-11-29
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 5 associated CPEs

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.
CWE-119 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.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-138215 is a stack buffer overflow in the libgeotiff library's GTIFProj4ToLatLong function. It occurs when processing crafted GeoTIFF files via the listgeo utility. The issue stems from an unbounded sprintf() call in GTIFProj4AppendEllipsoid(), which appends attacker-controlled ellipsoid parameters into a fixed 256-byte stack buffer. This leads to a stack-buffer-overflow write, potentially crashing the process or enabling code execution.

Detection Guidance

To detect this vulnerability, compile libgeotiff with AddressSanitizer and use the listgeo tool on GeoTIFF files. Run: ./listgeo crafted_file.tif. If a stack buffer overflow occurs, AddressSanitizer will report an out-of-bounds write in GTIFProj4ToLatLong.

Impact Analysis

This vulnerability can be exploited remotely by tricking a user into processing a malformed GeoTIFF file with listgeo. It may cause denial of service by crashing the application or, in some cases, allow arbitrary code execution. Systems processing untrusted GeoTIFF files automatically are particularly at risk.

Compliance Impact

The vulnerability (CVE-2026-138215) involves a stack buffer overflow in libgeotiff's GTIFProj4ToLatLong function, triggered by crafted GeoTIFF files. This could lead to denial of service or code execution in systems processing untrusted input. For compliance, such vulnerabilities may violate data integrity and security requirements under GDPR (e.g., Article 32) and HIPAA (e.g., Security Rule), as they enable unauthorized access or disruption of systems handling geospatial data.

Mitigation Strategies

Immediately update libgeotiff to a patched version replacing unbounded sprintf() with snprintf() or dynamic string handling. Validate numeric expansions in GeoTIFF files. Avoid processing untrusted GeoTIFF files until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-138215. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...