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.
https://gitlab.com/flightgear/simgear/-/merge_requests/442
https://gitlab.com/flightgear/simgear/-/merge_requests/441
https://gitlab.com/flightgear/simgear/-/commit/8e6cc3185e8fe7fc298e0678ebfe83f118e461b4
https://gitlab.com/flightgear/simgear/-/commit/3f5f12d622e308ad12cfd6e4fefaa5faec8a0ca7
https://gitlab.com/flightgear/simgear/-/blob/2024.1.7/simgear/io/sg_binobj.cxx#L147-162
Published: 2026-11-28
Updated: 2026-11-28
Base Score: 5
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P
Severity: Medium
Base Score: 5.5
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Severity: Medium
Base 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
Severity: Medium
EPSS: 0.00187