漏洞概述 漏洞标题: avcodec/rsc: reject deflate output shorter than the tile #23895 漏洞描述: 修复了使用未初始化内存的问题,以及rsc_short_deflate_heap_disclosure.avi的漏洞。 发现者: Adrian Junge (vurlo) 影响范围 受影响版本: FFmpeg 9.0 branching 漏洞类型: 内存安全问题(未初始化内存使用) 修复方案 修复内容: - 修复了使用未初始化内存的问题。 - 修复了rsc_short_deflate_heap_disclosure.avi的漏洞。 修复提交: - 提交者: michaelni - 提交时间: last week - 提交哈希: ff-7ep-rsc-uni - 合并到: master POC代码 POC文件: rsc_short_deflate_heap_disclosure.avi 其他信息 审查者: Forgejo_Fairy 标签: avcodec, fixing, important 里程碑: FFmpeg 9.0 branching 参与者: 2 participants 通知: 40 Subscribe 评论 Forgejo_Fairy: - LLM-GPT-5.6-SOL — combined review of 3c2033142 - Scope GPT-5.6-SOL reviewed every changed line and followed the short-deflate path through zlib, suffix initialization, tile copying, keyframe classification, and damaged-frame accounting; also compiled libavcodec/rsc.c with RSC and zlib enabled on arm64. - Scope GLM-5.2: reviewed the single commit; exercised a crafted short-deflate input on master and the PR head, compared Valgrind results, checked the write bounds and the separate compressed-tile-header path, and ran the test suite. 总结 该漏洞涉及FFmpeg中rsc解码器的内存安全问题,具体为未初始化内存的使用。修复方案包括对未初始化内存的使用进行修正,并针对特定的POC文件进行了修复。修复已合并到master分支,并经过审查和测试。