SimGear through 2024.1.7 Infinite Loop DoS via sgSimpleBuffer::resize()
- State
- Published
- Severity
- 6.8 Medium
- Published
- Nov 28, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 28, 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.
| Product | Versions |
|---|---|
| SimGear FlightGear | 2024.1.7 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.8 Medium | VulnCheck | |
| 3.1 | 5.5 Medium | VulnCheck |
Weaknesses
- CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
References
- SimGear next commit 8e6cc31Patch
- SimGear release/2024.1 commit 3f5f12dPatch
- SimGear MR !441Issue Tracker
- SimGear MR !442Issue Tracker
- https://gitlab.com/flightgear/simgear/-/blob/2024.1.7/simgear/io/sg_binobj.cxx#L147-162Technical Details
- VulnCheck Advisory: SimGear through 2024.1.7 Infinite Loop DoS via sgSimpleBuffer::resize()Third-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.