提交 #976279: vgmstream r2117 Use After Free信息

标题vgmstream r2117 Use After Free
描述vgmstream contains a CWE-416 vulnerability in make_group_random() in src/meta/txtp_process.c. The function can move the selected stream into the shared list with update_vgmstream_list(), then call make_group_segment() on that stream. If segment creation fails, the selected object may already have been freed by the callee, but the caller still reaches the shared fail path and closes the stale local pointer again. A crafted TXTP file can therefore trigger a use-after-free during random-group failure cleanup, causing process termination and potentially enabling further memory corruption. I re-verified this issue against the latest upstream HEAD commit 79bc65b52cddc61b859679c1c47dc57092872ae1 on 2026-08-21 and confirmed that the vulnerable logic is still present there. Affected component / root cause: txtp:random-group-failed-segment-transfer-double-closes-selected-stream CWE: CWE-416 CVSS v3.1 draft: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
来源⚠️ https://github.com/vgmstream/vgmstream/issues/1998
用户
 ni-liao (UID 98297)
提交2026-09-13 16時31分 (22 日前)
管理2026-10-04 19時37分 (21 days later)
状态已接受
VulDB条目413456 [vgmstream 直到 r2117 TXTP File src/meta/txtp_process.c make_group_random 内存损坏]
积分20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!