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.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| FlightGear | SimGear | <= 2024.1.7 |
References
- 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
Timeline
- Published
- Nov 28, 2026
- Last modified
- Dec 4, 2026
- NVD status
- Deferred