Skip to main content

SimGear EUVDEUVD-2026-137526

| CVE-2026-138150 MEDIUM
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-11-28 VulnCheck GHSA-2xjf-686p-8f4f
6.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft .btg scenery file with byte count > 2^31
  2. Delivery
    Distribute file to victim via scenery pack/download
  3. Exploit
    Victim loads scenery in FlightGear
  4. Execution
    32-bit wraparound zeroes resize() target size
  5. Impact
    Infinite loop hangs loading process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a victim to load a crafted .btg (binary terrain/scenery) file whose declared byte count exceeds 2^31, triggering the unsigned 32-bit wraparound in sgSimpleBuffer::resize(). This is NOT remote or unauthenticated in effect: the CVSS vector is AV:L with UI:P, so the attacker must get the malicious scenery file in front of a user who then loads it in FlightGear (e.g., via a downloaded scenery/aircraft pack or shared file). Limiting factors that reduce real-world risk: required user interaction to open the file, local file-delivery dependency, and impact restricted to a hang/denial of service of the loading process - there is no code execution, no privilege gain, and no confidentiality or integrity impact. Affected versions are SimGear through 2024.1.7; updating to the patched build removes the flaw.

Impact

This is a medium-severity, availability-only denial-of-service issue, and the aggregate signals point to limited real-world urgency rather than an emergency. The input CVSS 4.0 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, score 6.8) describes a LOCAL attack vector that requires passive user interaction (UI:P) - the victim must load an attacker-supplied .btg scenery file - with no privileges needed and impact confined to availability (VA:H; VC/VI = N). There is no code execution, data disclosure, or integrity impact: the worst outcome is the FlightGear loading process hanging in an infinite loop (CWE-835). No EPSS score, no KEV listing, and no confirmed public exploit code were provided in the input; exploitation status is therefore 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_month' (not act_now/emergency), which is consistent with a vendor-patched, local-vector DoS. The main divergence to note is that the vector is LOCAL/interaction-dependent while the description frames it as attacker-supplied scenery content - meaning exploitation is realistic only through social-engineering a user into opening a malicious or shared scenery/aircraft package. A patch is confirmed available (two GitLab commits plus merge requests 441/442), so remediation is straightforward and this ranks below network-facing or code-execution flaws.

Exploit ScenarioDerived

An attacker distributes a malicious .btg scenery file (for example through a third-party scenery pack, forum download, or shared aircraft/model) whose binary object header declares a byte count exceeding 2^31. When a victim loads that scenery in FlightGear, the unsigned 32-bit size-doubling loop in sgSimpleBuffer::resize() wraps around to zero and never reaches the requested size, hanging the loader. No public exploit code was identified at time of analysis, though VulnCheck has published an advisory describing the flaw and the vulnerable code path is public.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 28, 2026

Loading a crafted .btg scenery file can hang FlightGear because SimGear through 2024.1.7 mishandles oversized byte counts in sgSimpleBuffer::resize(). The defect is an availability-only denial of service (CWE-835): an unsigned 32-bit wraparound in the size-doubling loop leaves the buffer size at zero, so the loading process does not complete. The assessed vector requires local file delivery and user interaction-the victim must open the malicious scenery file-and there is no code execution, privilege gain, confidentiality impact, or integrity impact; no public exploit was identified at time of analysis, and the vendor has published patch commits and merge requests.

RemediationAI

Patch status: upstream fix available via SimGear merge requests 441/442 (https://gitlab.com/flightgear/simgear/-/merge_requests/441, https://gitlab.com/flightgear/simgear/-/merge_requests/442) and commits 8e6cc3185e8fe7fc298e0678ebfe83f118e461b4 and 3f5f12d622e308ad12cfd6e4fefaa5faec8a0ca7; a released patched version is not independently confirmed in the provided data, so confirm the fixed package with the vendor. Updating to a build containing those changes removes the flaw. Until the patched build is deployed, avoid loading untrusted .btg scenery files, because exploitation requires the victim to open the crafted file. Advisory reference: https://www.vulncheck.com/advisories/simgear-through-2024.1.7-infinite-loop-dos-via-sgsimplebuffer-resize.

Affected VersionsENISA

SimGear 0 ≤2024.1.7

Affected Packages

euvd simgear no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SimGear is the support library used by FlightGear for scenery, terrain, and related binary data handling; .btg files are binary scenery/terrain files consumed during simulator loading. In the affected code path, sgSimpleBuffer::resize() grows a buffer using a size-doubling loop backed by an unsigned 32-bit size value. When a .btg file declares a byte count larger than 2^31, that arithmetic can wrap, the doubling loop fails to advance as expected, and the size remains zero, producing an infinite loop (CWE-835) that hangs the loading process. The CPE cpe:2.3:a:flightgear:simgear:*:*:*:*:*:*:*:* identifies the SimGear package; the flaw affects versions through 2024.1.7. The trigger is specifically a crafted .btg file with an oversized declared byte count, and the assessed CVSS 3.1 vector is AV:L/AC:L/PR:N/UI:R with only availability impact (A:H).

Know when Simgear gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.8 MEDIUM
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
vuln.today AI 5.5 MEDIUM

Flaw is triggered by loading a local attacker-supplied scenery file (AV:L, UI:R), needs no privileges (PR:N), and causes only a process hang, so C:N/I:N/A:H.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
niche open-source desktop flight simulator, hobby/enthusiast footprint, no enterprise deployment
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

Debian

simgear
Release Status Fixed Version Urgency
bookworm vulnerable 1:2020.3.16+dfsg-1+deb12u1 -
trixie vulnerable 1:2020.3.19+dfsg-1 -
forky, sid vulnerable 1:2024.1.5+dfsg-1 -
(unstable) fixed (unfixed) -

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy