Godot 4.x 修复二进制资源加载器堆溢出漏洞
Re: Godot 4.x: heap out-of-bounds write via negative string length in binary resource loader
Godot 开发者请注意:此安全修复涉及核心资源加载逻辑,存在可利用的堆溢出风险。建议尽快升级至包含 PR #124699 的最新版本以消除隐患。
Posted by Tomasz Kaye on Oct 23
由 Tomasz Kaye 发布于 10 月 23 日
Follow-up: the fix for this issue has been merged upstream.
后续:此问题的修复已合并至上游。
PR #124699, "Fix heap overflow with invalid string length in binary
PR #124699,“修复二进制文件中无效字符串长度的堆溢出
resources", merged to master on 2026-10-20 (merge commit d9f4c99f0a):
资源”,于 2026-10-20 合并至 master(合并提交 d9f4c99f0a):
https://github.com/godotengine/godot/pull/124699
The patch rejects negative lengths, and lengths beyond the remaining
该补丁拒绝负长度以及超出剩余
file size, in ResourceLoaderBinary::get_unicode_string and
文件大小,在 ResourceLoaderBinary::get_unicode_string 和
get_ustring, and returns early on a zero length in get_ustring....
get_ustring 中,并在 get_ustring 遇到零长度时提前返回....
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力