{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-75904","published":"2026-08-18T16:18:22.540000Z","last_modified":"2026-10-22T22:10:00.250000Z","status":"Deferred","cvss":{"version":"4.0","score":4.8,"severity":"MEDIUM","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"disclosure@vulncheck.com","primary":false},"auth":true,"cwes":["CWE-125"],"cpes":[],"cpes_truncated":false,"vendors":["konstanty-bialkowski"],"products":["konstanty-bialkowski/libmodplug"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":29,"links":{"html_es":"/es/cve/CVE-2026-75904/","html_en":"/en/cve/CVE-2026-75904/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-75904","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-75904"},"untrusted":{"vendor_name":"Konstanty Bialkowski","product_name":"libmodplug","desc_en":"libmodplug through 0.8.9.1 contains an out-of-bounds read in pat_smplooped in src/load_pat.cpp. The function validates only the upper bound of its sample index against MAXSMP and then subtracts one before indexing the 191-byte static array pat_loops, so an index of zero reads pat_loops[-1], one byte before the array. The index is the smpno field of a parsed MIDI event, which is initialised to zero and only later overwritten from a program-change parameter, so an event reaching the note test before an instrument is assigned carries zero. A 32-byte MIDI file supplied to the library's public ModPlug_Load entry point drives the path through CSoundFile::Create, CSoundFile::ReadMID, and MID_ReadPatterns to the read. The byte read out of bounds determines whether a note event is treated as looping, so adjacent static storage influences playback state.","affected":[{"untrusted_vendor":"Konstanty Bialkowski","untrusted_product":"libmodplug","versions":[]}],"references":[{"url":"https://github.com/Konstanty/libmodplug","tags":[]},{"url":"https://github.com/Konstanty/libmodplug/blob/d1b97ed0020bc620a059d3675d1854b40bd2608d/src/load_mid.cpp#L829","tags":[]},{"url":"https://github.com/Konstanty/libmodplug/blob/d1b97ed0020bc620a059d3675d1854b40bd2608d/src/load_pat.cpp#L213-L217","tags":[]},{"url":"https://github.com/Konstanty/libmodplug/issues/103","tags":[]},{"url":"https://www.vulncheck.com/advisories/libmodplug-out-of-bounds-read-in-pat-smplooped-via-crafted-midi-file","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:22165-1","url":"https://www.suse.com/support/update/","published":"2026-10-23T20:13:09+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Security update for libmodplug"}},{"source":"suse","id":"openSUSE-SU-2026:12215-1","url":"https://www.suse.com/support/update/","published":"2026-10-21T00:00:00+00:00","severity":"medium","exploited":false,"untrusted":{"title":"libmodplug-devel-0.8.9.0+git20170610.f6dd59a-4.1 on GA media"}}]}