{"id":"CVE-2026-138150","summary":"SimGear through 2024.1.7 Infinite Loop DoS via sgSimpleBuffer::resize()","details":"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.","modified":"2026-11-28T03:00:12.287010903Z","published":"2026-11-28T01:43:00.164Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138150.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-835"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138150.json"},{"type":"PACKAGE","url":"https://gitlab.com/flightgear/simgear"},{"type":"ARTICLE","url":"https://gitlab.com/flightgear/simgear/-/blob/2024.1.7/simgear/io/sg_binobj.cxx#L147-162"},{"type":"FIX","url":"https://gitlab.com/flightgear/simgear/-/commit/3f5f12d622e308ad12cfd6e4fefaa5faec8a0ca7"},{"type":"FIX","url":"https://gitlab.com/flightgear/simgear/-/commit/8e6cc3185e8fe7fc298e0678ebfe83f118e461b4"},{"type":"REPORT","url":"https://gitlab.com/flightgear/simgear/-/merge_requests/441"},{"type":"REPORT","url":"https://gitlab.com/flightgear/simgear/-/merge_requests/442"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138150"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/simgear-through-2024.1.7-infinite-loop-dos-via-sgsimplebuffer-resize"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/flightgear/simgear","events":[{"introduced":"0"},{"last_affected":"c903a7b790473f14e196fbec91d5ecd828f7d386"},{"fixed":"8e6cc3185e8fe7fc298e0678ebfe83f118e461b4"},{"fixed":"3f5f12d622e308ad12cfd6e4fefaa5faec8a0ca7"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"2024.1.7"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"8e6cc3185e8fe7fc298e0678ebfe83f118e461b4"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"3f5f12d622e308ad12cfd6e4fefaa5faec8a0ca7"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["2024.1.7-rc4","2024.1.7-rc3","2024.1.7-rc2","2024.1.7-rc1","2024.1.7","2024.1.6-rc2","2024.1.6-rc1","2024.1.6","2024.1.5-rc3","2024.1.5-rc2","2024.1.5-rc1","2024.1.5","2024.1.4-rc3","2024.1.4","2024.1.4-rc2","2024.1.4-rc1","2024.1.3-rc3","2024.1.3","2024.1.3-rc2","2024.1.3-rc1","2024.1.2-rc9","2024.1.2-rc10","2024.1.2","2024.1.2-rc8","2024.1.2-rc7","2024.1.2-rc6","2024.1.2-rc5","2024.1.2-rc4","2024.1.2-rc3","2024.1.2-rc2","2024.1.2-rc1","v2024.1.1","v2024.1.1-rc4","v2024.1.1-rc3","v2024.1.1-rc2","version/2017.3.0","version/2017.2.1","version/2017.1.1","version/2017.2.0","version/2016.3.1","version/2016.4.1","version/2017.1.0","version/2016.4.0","version/2016.2.1","version/2016.3.0","version/2016.1.1","version/2016.2.0","version/3.6.0","version/3.7.0","version/3.4.0","version/3.5.0","version/3.2.0","version/3.3.0","version/3.1.0","version/3.0.0","version/2.12.0","version/2.10.0-final","version/2.11.0","version/2.10.0","version/2.9.0","version/2.8.0","version/2.6.0","version/2.7.0","2.2.0-rc1","last-cvs","v2.0.0","v2.0.0-rc4","v2.0.0-rc3","master-20100125","v2.0.0-rc2","master-20100117","v2.0.0-rc1","SIMGEAR_1_9_0","Release-1999_05_01","AFTER_OPENAL_DOPPLER_WORKAROUND","BEFORE_OPENAL_DOPPLER_WORKAROUND","sm-lastmain","PRE_OSG_PLIB_BPOINT","RELEASE_0_3_10","RELEASE_0_3_9","RELEASE_0_3_8","RELEASE_0_3_7","RELEASE_0_3_6","RELEASE_0_3_5","RELEASE_0_3_5_pre2","RELEASE_0_3_5_pre1","RELEASE_0_3_4","RELEASE_0_3_4_pre1","RELEASE_0_3_3","RELEASE_0_3_2","RELEASE_0_3_1","RELEASE_0_3_0","RELEASE_0_2_0","RELEASE_0_0_19pre2","RELEASE_0_0_19pre1","RELEASE_0_0_18","RELEASE_0_0_17","RELEASE_0_0_16","RELEASE_0_0_15","RELEASE_0_0_14","RELEASE_0_0_13","RELEASE_0_0_12","RELEASE_0_0_11","RELEASE_0_7_3","RELEASE_0_0_7","RELEASE_0_0_6","RELEASE_0_7_2","RELEASE_0_6_2","RELEASE_0_6_1","RELEASE_0_6_0","RELEASE_0_59","RELEASE_0_58","RELEASE_0_57"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138150.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}