CVE-2026-138150
Severity CVSS v4.0:
MEDIUM
Type:
Unavailable / Other
Publication date:
28/11/2026
Last modified:
28/11/2026
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.
Impact
Base Score 4.0
6.80
Severity 4.0
MEDIUM
Base Score 3.x
5.50
Severity 3.x
MEDIUM
References to Advisories, Solutions, and Tools
- https://gitlab.com/flightgear/simgear/-/blob/2024.1.7/simgear/io/sg_binobj.cxx#L147-162
- https://gitlab.com/flightgear/simgear/-/commit/3f5f12d622e308ad12cfd6e4fefaa5faec8a0ca7
- https://gitlab.com/flightgear/simgear/-/commit/8e6cc3185e8fe7fc298e0678ebfe83f118e461b4
- https://gitlab.com/flightgear/simgear/-/merge_requests/441
- https://gitlab.com/flightgear/simgear/-/merge_requests/442
- https://www.vulncheck.com/advisories/simgear-through-2024.1.7-infinite-loop-dos-via-sgsimplebuffer-resize


