---
title: "CVE-2026-138150"
canonical_url: "https://pkgseek.com/security/CVE-2026-138150"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-138150

SimGear through 2024.1.7 contains an infinite loop vulnerability in sgSimpleBuffer::resize() where an unsigned 32-bit wraparound in the size-doubling loop leaves the size at zero. Attackers can supply a crafted .btg scenery file with an oversized byte count exceeding 2^31 to hang the loading process in FlightGear.

CVE-2026-138150 is rated MEDIUM (5.5), with 1 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (5.5)
- **Affected builds**: 1
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | libsimgear-dev | 1:2020.3.19+dfsg-1 | — |
