إرسال #1092111: vgmstream r2117 Buffer Overflowالمعلومات

عنوانvgmstream r2117 Buffer Overflow
الوصفvgmstream r2117 contains a CWE-120 vulnerability in sead_cat() in src/meta/sqex_sead.c. The helper appends names parsed from Square Enix SEAD input to the fixed sead->readable_name buffer. Its capacity check incorrectly calculates src_len with strlen(dst) instead of strlen(src), so the check can underestimate the actual append size before calling strcat(). A crafted SAB or MAB input containing long or repeated names can therefore overflow the destination buffer, corrupt adjacent memory, and terminate the host process. Code execution has not been demonstrated. Affected component / root cause: sqex-sead:sead-cat-destination-length-reused-as-source-length The issue was corrected after r2117 by upstream commit 538441fb73a0e4a13cbefe3a45395833f3e7c836 (2026-08-02), which removes the faulty local append helper in favor of bounded string handling: https://github.com/vgmstream/vgmstream/commit/538441fb73a0e4a13cbefe3a45395833f3e7c836 CWE: CWE-120 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/1990
المستخدم
 ni-liao (UID 98297)
ارسال12/11/2026 11:07 AM (22 أيام منذ)
الاعتدال04/12/2026 12:29 PM (22 days later)
الحالةتمت الموافقة
إدخال VulDB449697 [vgmstream حتى r2117 src/meta/sqex_sead.c build_readable_sab_name تلف الذاكرة]
النقاط20

Do you want to use VulDB in your project?

Use the official API to access entries easily!