Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-75904: Out-of-bounds Read in Konstanty Bialkowski libmodplug

0
Medium
VulnerabilityCVE-2026-75904cvecve-2026-75904
Published: 08/18/2026 (08/18/2026, 15:21:58 UTC)
Source: CVE Database V5
Vendor/Project: Konstanty Bialkowski
Product: libmodplug

Description

CVE-2026-75904 is an out-of-bounds read vulnerability in libmodplug up to version 0.8.9.1. The flaw occurs in the pat_smplooped function in src/load_pat.cpp, where an index of zero leads to reading one byte before a static array. This index is derived from a MIDI event field that can be zero before instrument assignment. A crafted 32-byte MIDI file can trigger this condition during playback, affecting note event looping behavior.

CVSS v4.0

Score 4.8medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →cve
libmodplug
pkg:github/libmodplug
Affected versions
<=0.8.9.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/18/2026, 15:51:09 UTC

Technical Analysis

libmodplug versions up to 0.8.9.1 contain an out-of-bounds read in the pat_smplooped function within src/load_pat.cpp. The function checks only the upper bound of a sample index against MAXSMP but then subtracts one before indexing a 191-byte static array pat_loops. If the index is zero, the code reads pat_loops[-1], accessing memory before the array. This index comes from the smpno field of a parsed MIDI event, which is initialized to zero and only later overwritten. A specially crafted 32-byte MIDI file passed to the ModPlug_Load entry point can cause this out-of-bounds read during the processing of MIDI patterns, influencing playback state by determining whether a note event is treated as looping.

Potential Impact

The out-of-bounds read may lead to reading memory adjacent to the pat_loops array, potentially causing incorrect playback behavior by influencing note looping state. The CVSS score of 4.8 (medium severity) reflects limited impact, with no known privilege escalation or code execution. There are no known exploits in the wild. The vulnerability requires local access and user interaction (loading a crafted MIDI file).

Mitigation Recommendations

No official patch or remediation level is currently available for this vulnerability. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is released, avoid processing untrusted or crafted MIDI files with libmodplug versions up to 0.8.9.1.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-08-18T14:53:24.138Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a847b9ec6e8be03326654c7

Added to database: 08/18/2026, 15:34:54 UTC

Last enriched: 08/18/2026, 15:51:09 UTC

Last updated: 08/18/2026, 16:03:39 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses