CVE-2017-9258
Medium · 5.5CVSS
5.5
EPSS
4.4%
Published
Jul 27, 2017
CISA due date
—
Cloudanix analysis
A bug in audio software lets attackers freeze programs by feeding them a specially made sound file, halting normal work until the program is restarted.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The TDStretch::processSamples function enters an infinite loop when processing samples from a crafted WAV file, leading to sustained high CPU consumption without terminating.
Why it matters to the business
Applications handling audio files can become unresponsive, interrupting operations and consuming resources until manual intervention; low ecosystem prevalence limits widespread exposure but still requires attention for dependent packages.
How an attack unfolds
An attacker crafts a malicious WAV file designed to trigger the flawed sample processing logic and supplies it to any application using the vulnerable SoundTouch library, causing the target process to hang in an infinite loop.
How to fix it
Upgrade affected packages to the listed fixed versions (falcoctl (Chainguard) fixed in 0, falcoctl (Wolfi) fixed in 0) or apply vendor patches; implement strict validation or sandboxing for untrusted audio files as a defense-in-depth measure.
How to confirm the fix worked
Confirm the installed version of SoundTouch or dependent components matches or exceeds the fixed releases; test audio processing workflows with both benign and known malformed WAV samples to verify loop termination.
Typical attack path
- Create a specially crafted WAV file that exploits the TDStretch::processSamples logic
- Deliver the file to the target application via local file access or user-supplied input
- Trigger audio processing of the file
- Observe the resulting infinite loop and CPU exhaustion
How to detect it
Review process logs and system monitors for prolonged high CPU usage during WAV file handling; inspect application error or debug logs for repeated calls within audio sample processing routines.
What your security team should do
- Apply available updates to all instances of affected packages immediately
- Restrict processing of untrusted WAV files until patches are deployed
- Monitor CPU utilization on systems performing audio handling for anomalous spikes
The record
The TDStretch::processSamples function in source/SoundTouch/TDStretch.cpp in SoundTouch 1.9.2 allows remote attackers to cause a denial of service (infinite loop and CPU consumption) via a crafted wav file.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | soundtouch | 0 | 1.9.2-3 |
| Debian:11 | soundtouch | 0 | 1.9.2-3 |
| Debian:12 | soundtouch | 0 | 1.9.2-3 |
| Debian:13 | soundtouch | 0 | 1.9.2-3 |
| Mageia:6 | soundtouch | 0 | 1.9.2-2.1.mga6 |
| Mageia:7 | dolphin-emu | 0 | 5.0.11824-1.mga7.tainted |
| Ubuntu:16.04:LTS | soundtouch | 0 | 1.9.2-2+deb9u1build0.16.04.1 |
| Ubuntu:18.04:LTS | soundtouch | 0 | 1.9.2-3 |
| Ubuntu:Pro:14.04:LTS | soundtouch | 0 | 1.7.1-5ubuntu0.1~esm1 |
| Ubuntu:Pro:16.04:LTS | soundtouch | 0 | 1.9.2-2+deb9u1ubuntu0.1~esm1 |
| Ubuntu:Pro:18.04:LTS | soundtouch | 0 | 1.9.2-3ubuntu0.1~esm1 |
Related vulnerabilities
- CVE-2026-110354 HAProxy 3 before 3.4.6 allows a remote unauthenticated attacker to cause a denial of… CWE-835
- CVE-2026-113794 pypdf is a free and open-source pure-python PDF library. CWE-835
- CVE-2026-113792 pypdf is a free and open-source pure-python PDF library. CWE-835
- CVE-2026-113793 pypdf is a free and open-source pure-python PDF library. CWE-835
- CVE-2026-112406 Pillow is a Python imaging library. CWE-835
- CVE-2026-112391 Pillow is a Python imaging library. CWE-835
- CVE-2026-112390 Pillow is a Python imaging library. CWE-835
- CVE-2026-101895 Angular is a development platform for building mobile and desktop web applications using… CWE-835