cve.bz

CVE-2026-75904 konstanty bialkowski libmodplug: Out-of-bounds Read

4.8 mediumEPSS 0.2%

Medium (4.8) in konstanty bialkowski libmodplug. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

4.8 medium
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

CVSS 3.1

3.3 low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 8th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-08-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-75904 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-75904?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-75904?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-75904 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Konstanty Bialkowski libmodplugthrough 0.8.9.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13libmodplugno fix listedDEBIAN-CVE-2026-75904
Debian14libmodplug1:0.8.9.0-4DEBIAN-CVE-2026-75904
Ubuntu14.04:LTS, 16.04:LTS, 18.04:LTS and 5 morelibmodplugno fix listedUBUNTU-CVE-2026-75904
UbuntuPro:14.04:LTSgst-plugins-bad0.10no fix listedUBUNTU-CVE-2026-75904
openSUSELeap 16.0libmodplug0.8.9.0+git20170610.f6dd59a-bp160.2.1openSUSE-SU-2026:22165-1
openSUSETumbleweedlibmodplug0.8.9.0+git20170610.f6dd59a-4.1openSUSE-SU-2026:12215-1
Azure Linux3libmodplugno fix listedAZL-96854

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON