Отправить #956556: Konstanty(Konstanty Bialkowski, github.com/Konstanty/libmod) libmodplug 0.8.9.0 CWE-400 Uncontrolled Resource ConsumptionИнформация

НазваниеKonstanty(Konstanty Bialkowski, github.com/Konstanty/libmod) libmodplug 0.8.9.0 CWE-400 Uncontrolled Resource Consumption
Описание libmodplug x.x.x.x (including the x.x.x.x development version) contains a resource consumption vulnerability (CWE-400) in its ABC music format parsing component. The issue resides in the abc_add_gchord() function in src/load_abc.cpp: the loop termination time stime for chord event generation is derived from attacker-controlled input parameters (line 3219, stime = (tracktime - etime) * steps) with no upper bound imposed. On each iteration of the while(rtime < stime) loop at line 3221, an ABCEVENT structure is allocated via abc_add_chordnote()/abc_add_noteoff() -> abc_new_event() -> calloc, with no limit on the total number of allocations and no deallocation within the loop. An attacker can craft a malicious ABC file (minimal PoC: only 463 bytes). When an application loads this file through the public API ModPlug_Load(), process memory grows unboundedly at approximately 860 MB/s (measured: 3.8 MB to 10.3 GB within 12 seconds), eventually exhausting memory, terminating the process, or depleting host resources — resulting in a denial of service. The ABC format is identified by file content rather than file extension. Exploitation requires only that a user or an automated processing pipeline opens the malicious file; no authentication or special privileges are needed. Call chain: ModPlug_Load -> CSoundFile::Create -> CSoundFile::ReadABC -> abc_add_gchord -> abc_add_chordnote/abc_add_noteoff -> abc_new_event -> calloc. Any application that integrates libmodplug and processes untrusted audio files is affected.
Источник⚠️ https://sourceforge.net/projects/modplug-xmms/files/libmodplug/x.x.x.x/
Пользователь
 jenseny20 (UID 100950)
Представление02.09.2026 05:26 (1 месяц назад)
Модерация10.10.2026 17:49 (1 month later)
Статуспринято
Запись VulDB416234 [Konstanty Bialkowski libmodplug до 0.8.9.1 ABC Music Format Parser src/load_abc.cpp abc_add_gchord отказ в обслуживании]
Баллы20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!