CVE-2017-11661
High · 7.5CVSS
7.5
EPSS
10.8%
Published
Aug 17, 2017
CISA due date
—
Cloudanix analysis
A bug in code that reads music files can make programs using it suddenly stop working when they receive a specially made file.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw permits an unauthenticated remote attacker to trigger an invalid memory read inside the MIDI event parser, causing the application process to crash and produce a denial of service.
Why it matters to the business
Applications that process untrusted MIDI files can be forced offline, interrupting any service that relies on the affected library and requiring manual restarts or failover actions.
How an attack unfolds
An attacker crafts a malicious MIDI file that reaches the vulnerable _WM_SetupMidiEvent routine; when the file is opened or parsed, the invalid memory access occurs and the process terminates. Public exploit code has been available since shortly after disclosure.
How to fix it
Upgrade affected packages to the versions listed as fixed (minio and minio-bitnami-2024-compat on both Chainguard and Wolfi). If the library is vendored, rebuild with a patched WildMIDI release that eliminates the invalid read.
How to confirm the fix worked
Confirm the running binary or package reports a version string beyond the vulnerable 0.4.2 release; re-test with known crashing MIDI samples in an isolated environment to verify absence of the crash.
Typical attack path
- Identify a network-accessible service or application that accepts or processes MIDI files using the vulnerable library
- Generate or obtain a specially crafted .mid file that triggers the memory-safety flaw
- Deliver the file to the target via upload, download, or message attachment
- Observe service crash and confirm denial-of-service condition
How to detect it
Review application and system logs for unexpected crashes or segmentation faults that occur immediately after MIDI file ingestion; correlate with file-upload or attachment-processing timestamps.
What your security team should do
- Prioritize patching or replacing any deployments that still ship WildMIDI 0.4.2 or earlier
- Add MIDI file upload or processing paths to the list of untrusted-input surfaces that require sandboxing or resource limits
- Monitor EPSS and exploit-availability feeds for similar memory-safety issues in media libraries
The record
The _WM_SetupMidiEvent function in internal_midi.c:2318 in WildMIDI 0.4.2 can cause a denial of service (invalid memory read and application crash) via a crafted mid file.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | wildmidi | 0 | 0.4.2-1 |
| Debian:11 | wildmidi | 0 | 0.4.2-1 |
| Debian:12 | wildmidi | 0 | 0.4.2-1 |
| Debian:13 | wildmidi | 0 | 0.4.2-1 |
| Mageia:6 | wildmidi | 0 | 0.4.2-1.mga6 |
| Ubuntu:14.04:LTS | wildmidi | 0 | No fix |
| Ubuntu:18.04:LTS | wildmidi | 0 | 0.4.2-1 |
| Ubuntu:Pro:14.04:LTS | wildmidi | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | wildmidi | 0 | 0.3.8-2ubuntu0.1~esm1 |
| openSUSE:Tumbleweed | wildmidi | 0 | 0.4.4-1.3 |
Related vulnerabilities
- CVE-2026-92824 A flaw was found in libmodulemd. CWE-125
- CVE-2026-114038 A flaw was found in device-mapper-multipath. CWE-125
- CVE-2026-112896 Pillow is a Python imaging library. CWE-125
- CVE-2026-112278 rdesktop through 1.9.0 contains a heap out-of-bounds read vulnerability in… CWE-125
- CVE-2026-112273 libtins through 4.6 contains a heap out-of-bounds read vulnerability in DNS::compose_name… CWE-125
- CVE-2026-112073 A vulnerability was identified in Tencent ncnn up to 44b02dabdcf97499281a4692ebd65bad73dc… CWE-125
- CVE-2026-112020 LodePNG through 20261006 contains a heap out-of-bounds read vulnerability in… CWE-125
- CVE-2026-88842 A flaw was found in BusyBox dpkg. CWE-125