Infinite Loop Vulnerability in SimGear Flight Simulator by FlightGear
CVE-2026-138150
6.8MEDIUM
What is CVE-2026-138150?
An infinite loop vulnerability exists in SimGear's sgSimpleBuffer::resize() function, where an unsigned 32-bit wraparound can lead to a size of zero during the size-doubling process. This issue can be exploited by attackers who provide a specially crafted .btg scenery file that exceeds the 2^31 byte limit, causing the loading process in FlightGear to hang indefinitely. Users are advised to apply the latest patches to mitigate this vulnerability.
Affected Version(s)
SimGear 0 <= 2024.1.7
