إرسال #1092112: vgmstream r2117 Out-of-bounds Writeالمعلومات

عنوانvgmstream r2117 Out-of-bounds Write
الوصفvgmstream r2117 contains a CWE-787 vulnerability in decode_key() in src/util/m2_psb.c. The function decodes an attacker-controlled PSB key chain into a caller-provided buffer. If the chain does not terminate within str_len iterations, the loop exits with i equal to str_len, but the function then writes a NUL byte to str[i]. The current caller supplies char key[256] and passes sizeof(key), so a non-terminating chain can cause a one-byte write immediately past the end of the stack buffer. A crafted PSB file can therefore corrupt adjacent stack data and terminate the host process. More extensive exploitation has not been demonstrated. Affected component / root cause: psb:decode-key-terminator-written-at-one-past-buffer-end The issue was corrected after r2117 by upstream commit 7eb768e134d23d74e65e69b07103da2ce5f62d99 (2026-07-26), which changes the key-decoding bounds and termination handling: https://github.com/vgmstream/vgmstream/commit/7eb768e134d23d74e65e69b07103da2ce5f62d99 CWE: CWE-787 CVSS v3.1 draft: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
المصدر⚠️ https://github.com/vgmstream/vgmstream/issues/1992
المستخدم
 ni-liao (UID 98297)
ارسال12/11/2026 11:09 AM (22 أيام منذ)
الاعتدال04/12/2026 12:29 PM (22 days later)
الحالةتمت الموافقة
إدخال VulDB449698 [vgmstream حتى r2117 PSB File src/util/m2_psb.c decode_key تلف الذاكرة]
النقاط20

Might our Artificial Intelligence support you?

Check our Alexa App!