CVE-2026-138150

SimGear through 2024.1.7 Infinite Loop DoS via sgSimpleBuffer::resize()

Published Nov 28, 2026 CVSS 4.0 · 6.8 Medium EPSS n/a KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

SimGear versions up to 2024.1.7 contain an infinite loop in sgSimpleBuffer::resize(). An unsigned 32-bit wraparound in the size‑doubling loop leaves the buffer size at zero, causing the driver to loop forever. An attacker can craft a .btg scenery file with an oversized byte count exceeding 2^31; when FlightGear loads the file the process hangs indefinitely, freezing the simulation.

Affected Systems

All installations of FlightGear that use SimGear 2024.1.7 or earlier are affected. The vulnerability resides in the sgSimpleBuffer::resize() function, which is invoked during the parsing of .btg scenery files.

Risk and Exploitability

The CVSS score of 6.8 indicates moderate severity. No EPSS value is available, so the current probability of exploitation is unknown, and the vulnerability is not listed in the CISA KEV catalog. An exploit requires a crafted .btg file to be loaded by FlightGear; once triggered it results in a denial of service by freezing the loading process, affecting availability only.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SimGear to a later release that includes the sgSimpleBuffer::resize() fix (consult vendor advisories for the specific corrected version).
  • Disallow or tightly verify any .btg scenery file whose declared byte count exceeds 2^31 before loading it into FlightGear.
  • If upgrading is not immediately possible, block or reject loading of oversized .btg files to prevent the infinite loop from occurring.

Generated by OpenCVE AI on November 28, 2026 at 02:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description 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.
Title SimGear through 2024.1.7 Infinite Loop DoS via sgSimpleBuffer::resize()
First Time appeared Flightgear
Flightgear simgear
Weaknesses CWE-835
CPEs cpe:2.3:a:flightgear:simgear:*:*:*:*:*:*:*:*
Vendors & Products Flightgear
Flightgear simgear
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 28, 2026, 1:43 AM
Reserved
Nov 28, 2026, 1:18 AM
Status
Received
Published
Nov 28, 2026, 2:17 AM
Modified
Nov 28, 2026, 2:17 AM