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.