Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-96854.json
JSON Data
https://api.osv.dev/v1/vulns/AZL-96854
Upstream
  • CVE-2026-75904
Published
2026-08-18T16:18:22Z
Modified
2026-09-02T05:29:58Z
Summary
CVE-2026-75904 affecting package libmodplug 0.8.9.0-12
Details

libmodplug through 0.8.9.1 contains an out-of-bounds read in patsmplooped in src/loadpat.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 patloops, so an index of zero reads patloops[-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 ModPlugLoad entry point drives the path through CSoundFile::Create, CSoundFile::ReadMID, and MIDReadPatterns 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.

References

Affected packages

Azure Linux:3 / libmodplug

Package

Name
libmodplug
Purl
pkg:rpm/azure-linux/libmodplug

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.8.9.0-12

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-96854.json"