GHSA-2xjf-686p-8f4fMediumCVSS 5.5
SimGear through 2024.1.7 contains an infinite loop vulnerability in sgSimpleBuffer::resize()...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (8)
- https://nvd.nist.gov/vuln/detail/CVE-2026-138150
- 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
- https://github.com/advisories/GHSA-2xjf-686p-8f4f