CVE-2026-75904

libmodplug: libmodplug through 0.8.9.1 contains an out-of-bounds read in pat_smplooped in src/load_pat.cpp

CVE-2026-75904 is fixed in libmodplug on 1 platform, first by DEBIAN-CVE-2026-75904, released September 3, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
3.3
low
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0019
8th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
libmodplug · Debian 14 1:0.8.9.0-4 DEBIAN-CVE-2026-75904 Sep 3, 2026
libmodplug · opensuse-leap 16.0 0.8.9.0+git20170610.f6dd59a-bp160.2.1 OPENSUSE-SU-2026:22165-1 Nov 7, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.