Godot Engine through 4.7.2 has a heap out-of-bounds write exists in the binary resource loader ...
🔗 CVE IDs covered (1)
📋 Description
Godot Engine through 4.7.2 has a heap out-of-bounds write exists in the binary resource loader (core/io/resource_format_binary.cpp, ResourceLoaderBinary::get_unicode_string). A string length is read from the resource file into a signed 32-bit integer and compared against the destination buffer size with a signed comparison, which conditionally resizes the buffer. A negative length value skips the resize; the same value is then passed to the copy routine as an unsigned byte count, where it sign-extends to a huge value, copying file-controlled data far past the undersized heap allocation. The defect is reached when the product or an exported game loads a crafted binary resource file (.res). NOTE: the Supplier's position is that the research has identified "no security issues" because the required attacker access is outside of the current Godot Engine threat model.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-110735
- https://github.com/godotengine/godot/issues/123608
- https://axeghost.offprint.app/a/3mvs6zo4blo23-three-memory-safety-bugs-in-godots-untrusted-file-parsers
- http://www.openwall.com/lists/oss-security/2026/10/15/3
- https://github.com/advisories/GHSA-qpjh-gxxf-v482