CVE-2017-7697
Medium · 5.5CVSS
5.5
EPSS
0.9%
Published
Apr 11, 2017
CISA due date
—
Cloudanix analysis
A problem in certain audio-handling software can make programs using it stop working when they open specially made sound files.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Buffer over-read in calc_output_single within src_sinc.c of libsamplerate < 0.1.9 when processing a crafted audio file, resulting in application crash (denial of service).
Why it matters to the business
Applications and services that depend on vulnerable libsamplerate (including 61 downstream packages) may experience unexpected crashes during audio file handling, leading to service disruption; the issue has been publicly known for years with stable low exploitation probability and no ransomware usage.
How an attack unfolds
An attacker crafts a malicious audio file that triggers the buffer over-read when processed by any application linking against the vulnerable library version; no named threat actors or campaigns are associated with exploitation of this flaw.
How to fix it
Upgrade libsamplerate to version 0.1.9 or newer; for the affected mongodb (Bitnami) package, upgrade to version 5.0.2 or later.
How to confirm the fix worked
Verify the installed libsamplerate version is 0.1.9 or newer; test audio processing paths with known-good files after the upgrade to confirm stability.
Typical attack path
- Obtain or generate a crafted audio file designed to trigger the over-read in calc_output_single
- Cause the target application to process the file through libsamplerate
- Induce a crash that results in denial of service
How to detect it
Review application and system logs for crashes or segmentation faults occurring during audio file processing; correlate with timestamps of file ingestion in services that use libsamplerate.
What your security team should do
- Prioritize upgrade of all instances of affected packages to the stated fixed versions
- Scan dependency trees for any remaining copies of libsamplerate < 0.1.9
- Monitor application logs for unexpected crashes during audio file handling until remediation is complete
The record
In libsamplerate before 0.1.9, a buffer over-read occurs in the calc_output_single function in src_sinc.c via a crafted audio file.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Alpine:v3.2 | libsamplerate | 0 | 0.1.9-r0 |
| Alpine:v3.3 | libsamplerate | 0 | 0.1.9-r0 |
| Alpine:v3.4 | libsamplerate | 0 | 0.1.9-r0 |
| Debian:11 | libsamplerate | 0 | 0.1.9-1 |
| Debian:12 | libsamplerate | 0 | 0.1.9-1 |
| Debian:13 | libsamplerate | 0 | 0.1.9-1 |
| Debian:9 | libsamplerate | 0 | 0.1.8-8+deb9u1 |
| Mageia:5 | libsamplerate | 0 | 0.1.9-1.mga5 |
| SUSE:Linux Enterprise Server 11 SP4 | libsamplerate | 0 | 0.1.4-3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | libsamplerate | 0 | 0.1.4-3.1 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | libsamplerate | 0 | 0.1.4-3.1 |
| Ubuntu:14.04:LTS | libsamplerate | 0 | No fix |
| Ubuntu:18.04:LTS | libsamplerate | 0 | 0.1.9-1 |
| Ubuntu:Pro:14.04:LTS | libsamplerate | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | libsamplerate | 0 | 0.1.8-8ubuntu0.1~esm1 |
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