CVE-2017-7585
In libsndfile before 1.0.28, an error in the "flac_buffer_copy()" function (flac.c) can be...
In libsndfile before 1.0.28, an error in the "flac_buffer_copy()" function (flac.c) can be exploited to cause a stack-based buffer overflow via a specially crafted FLAC file.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
In libsndfile before 1.0.28, an error in the "flac_buffer_copy()" function (flac.c) can be exploited to cause a stack-based buffer overflow via a specially crafted FLAC file.
- Record
CVE-2017-7585- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
In libsndfile before 1.0.28, an error in the "flac_buffer_copy()" function (flac.c) can be exploited to cause a stack-based buffer overflow via a specially crafted FLAC file.
- Record
CVE-2017-7585- Updated
- 2026-11-02
EUVDEUVD-2017-16590 No score
In libsndfile before 1.0.28, an error in the "flac_buffer_copy()" function (flac.c) can be exploited to cause a stack-based buffer overflow via a specially crafted FLAC file.
- Record
EUVD-2017-16590- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-w427-j9xg-4f6g
5.5
In libsndfile before 1.0.28, an error in the "flac_buffer_copy()" function (flac.c) can be...
In libsndfile before 1.0.28, an error in the "flac_buffer_copy()" function (flac.c) can be exploited to cause a stack-based buffer overflow via a specially crafted FLAC file.
- Record
GHSA-w427-j9xg-4f6g- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-7585
5.5
In libsndfile before 1.0.28, an error in the "flac_buffer_copy()" function (flac.c) can be exploited to cause a stack-based buffer overflow via a specially crafted FLAC file.
- Record
ALPINE-CVE-2017-7585- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2017-7585
5.5
CVE-2017-7585 does not affect BellSoft software
- Record
BELL-CVE-2017-7585- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 10 moreShow less
OSV
5.5
In libsndfile before 1.0.28, an error in the "flac_buffer_copy()" function (flac.c) can be exploited to cause a stack-based buffer overflow via a specially crafted FLAC file.
- Record
CVE-2017-7585- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-7585
5.5
In libsndfile before 1.0.28, an error in the "flac_buffer_copy()" function (flac.c) can be exploited to cause a stack-based buffer overflow via a specially crafted FLAC file.
- Record
DEBIAN-CVE-2017-7585- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-7585
5.5
In libsndfile before 1.0.28, an error in the "flac_buffer_copy()" function (flac.c) can be exploited to cause a stack-based buffer overflow via a specially crafted FLAC file.
- Record
UBUNTU-CVE-2017-7585- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0168 No score
Updated libsndfile packages fix security vulnerabilities
A stack-based buffer overflow via a specially crafted FLAC file due to an error in the header_read() function (CVE-2017-7586).
Several stack-based buffer overflows via a specially crafted FLAC file due to an error in the flac_buffer_copy() function (CVE-2017-7585, CVE-2017-7741, CVE-2017-7742).
Global buffer overflow in flac_buffer_copy() (CVE-2017-8361).
Invalid memory read in flac_buffer_copy() (CVE-2017-8362).
Heap-based buffer overflow in flac_buffer_copy() (CVE-2017-8363).
The i2les_array function in pcm.c in libsndfile 1.0.28 allows remote attackers to cause a denial of service (buffer over-read and application crash) via a crafted audio file (CVE-2017-8365).
- Record
MGASA-2017-0168- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10992-1 No score
libsndfile-devel-1.0.31-2.2 on GA media
These are all security issues fixed in the libsndfile-devel-1.0.31-2.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10992-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:1030-1 No score
Security update for libsndfile
This update for libsndfile fixes the following issues:
- CVE-2017-7585,CVE-2017-7741,CVE-2017-7742: Some stack-based buffer overflows via a specially crafted FLAC file were fixed (error in the 'flac_buffer_copy()' function) (bsc#1033054, bsc#1033914, bsc#1033915).
- Record
SUSE-SU-2017:1030-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:1040-1 No score
Security update for libsndfile
This update for libsndfile fixes the following security issues:
- CVE-2017-7586: A stack-based buffer overflow via a specially crafted FLAC file was fixed (error in the 'header_read()' function) (bsc#1033053)
- CVE-2017-7585,CVE-2017-7741, CVE-2017-7742: Several stack-based buffer overflows via a specially crafted FLAC file (error in the 'flac_buffer_copy()' function) were fixed (bsc#1033054,bsc#1033915,bsc#1033914).
- Record
SUSE-SU-2017:1040-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:1236-1 No score
Security update for libsndfile
This update for libsndfile fixes the following issues:
- CVE-2017-8362: invalid memory read in flac_buffer_copy (flac.c) (bsc#1036943)
- CVE-2017-8365: global buffer overflow in i2les_array (pcm.c) (bsc#1036946)
- CVE-2017-8361: global buffer overflow in flac_buffer_copy (flac.c) (bsc#1036944)
- CVE-2017-8363: heap-based buffer overflow in flac_buffer_copy (flac.c) (bsc#1036945)
- CVE-2017-7585: stack-based buffer overflow via a specially crafted FLAC file (bsc#1033054)
- Record
SUSE-SU-2017:1236-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:1367-1 No score
Security update for libsndfile
This update for libsndfile fixes the following issues:
- CVE-2017-8361: Global buffer overflow in flac_buffer_copy. (bsc#1036946)
- CVE-2017-8362: Invalid memory read in flac_buffer_copy. (bsc#1036943)
- CVE-2017-8363: Heap-based buffer overflow in flac_buffer_copy. (bsc#1036945)
- CVE-2017-7585, CVE-2017-7741, CVE-2017-7742: Stack-based buffer overflows via specially crafted FLAC files. (bsc#1033054)
- Record
SUSE-SU-2017:1367-1- Updated
- 2026-11-02
OSVUSN-3306-1 No score
libsndfile vulnerabilities
Agostino Sarubbo and Jakub Jirasek discovered that libsndfile incorrectly handled certain malformed files. A remote attacker could use this issue to cause libsndfile to crash, resulting in a denial of service, or possibly execute arbitrary code.
- Record
USN-3306-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libsndfileAlpine:v3.10 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.11 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.12 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.13 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.14 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.15 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.16 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.17 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.18 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.19 |
before 1.0.28-r0 | 1.0.28-r0 |
Show 45 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libsndfileAlpine:v3.2 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.20 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.21 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.22 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.23 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.24 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.3 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.4 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.5 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.6 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.7 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.8 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileAlpine:v3.9 |
before 1.0.28-r0 | 1.0.28-r0 |
libsndfileDebian:12 |
before 1.0.27-2 | 1.0.27-2 |
libsndfileDebian:13 |
before 1.0.27-2 | 1.0.27-2 |
libsndfileDebian:14 |
before 1.0.27-2 | 1.0.27-2 |
libsndfileDebian:7 |
before 1.0.25-9.1+deb7u1, plus listed versions 1.0.25-51.0.25-61.0.25-71.0.25-81.0.25-91.0.25-9.1 |
1.0.25-9.1+deb7u1 |
libsndfileMageia:5 |
before 1.0.25-9.2.mga5 | 1.0.25-9.2.mga5 |
libsndfileSUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 1.0.20-2.13.1 | 1.0.20-2.13.1 |
libsndfileSUSE:Linux Enterprise Server 11 SP4 |
before 1.0.20-2.13.1 | 1.0.20-2.13.1 |
libsndfileSUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 1.0.20-2.13.1 | 1.0.20-2.13.1 |
libsndfileSUSE:Linux Enterprise Desktop 12 SP1 |
before 1.0.25-28.1 | 1.0.25-28.1 |
libsndfileSUSE:Linux Enterprise Desktop 12 SP2 |
before 1.0.25-28.1 | 1.0.25-28.1 |
libsndfileSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 1.0.25-28.1 | 1.0.25-28.1 |
libsndfileSUSE:Linux Enterprise Software Development Kit 12 SP1 |
before 1.0.25-28.1 | 1.0.25-28.1 |
libsndfileSUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 1.0.25-28.1 | 1.0.25-28.1 |
libsndfileSUSE:Linux Enterprise Server 12 SP1 |
before 1.0.25-28.1 | 1.0.25-28.1 |
libsndfileSUSE:Linux Enterprise Server for SAP Applications 12 SP1 |
before 1.0.25-28.1 | 1.0.25-28.1 |
libsndfileSUSE:Linux Enterprise Server 12 SP2 |
before 1.0.25-28.1 | 1.0.25-28.1 |
libsndfileSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 1.0.25-28.1 | 1.0.25-28.1 |
libsndfileSUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 1.0.20-2.18.1 | 1.0.20-2.18.1 |
libsndfileSUSE:Linux Enterprise Server 11 SP4 |
before 1.0.20-2.18.1 | 1.0.20-2.18.1 |
libsndfileSUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 1.0.20-2.18.1 | 1.0.20-2.18.1 |
libsndfileSUSE:Linux Enterprise Desktop 12 SP1 |
before 1.0.25-35.1 | 1.0.25-35.1 |
libsndfileSUSE:Linux Enterprise Desktop 12 SP2 |
before 1.0.25-35.1 | 1.0.25-35.1 |
libsndfileSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 1.0.25-35.1 | 1.0.25-35.1 |
libsndfileSUSE:Linux Enterprise Software Development Kit 12 SP1 |
before 1.0.25-35.1 | 1.0.25-35.1 |
libsndfileSUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 1.0.25-35.1 | 1.0.25-35.1 |
libsndfileSUSE:Linux Enterprise Server 12 SP1 |
before 1.0.25-35.1 | 1.0.25-35.1 |
libsndfileSUSE:Linux Enterprise Server for SAP Applications 12 SP1 |
before 1.0.25-35.1 | 1.0.25-35.1 |
libsndfileSUSE:Linux Enterprise Server 12 SP2 |
before 1.0.25-35.1 | 1.0.25-35.1 |
libsndfileSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 1.0.25-35.1 | 1.0.25-35.1 |
libsndfileUbuntu:14.04:LTS |
before 1.0.25-7ubuntu2.2, plus listed versions 1.0.25-7ubuntu11.0.25-7ubuntu21.0.25-7ubuntu2.1 |
1.0.25-7ubuntu2.2 |
libsndfileUbuntu:16.04:LTS |
before 1.0.25-10ubuntu0.16.04.1, plus listed versions 1.0.25-9.11.0.25-10 |
1.0.25-10ubuntu0.16.04.1 |
libsndfileopenSUSE:Tumbleweed |
before 1.0.31-2.2 | 1.0.31-2.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-7585 is a medium vulnerability (CVSS 5.5) in Libsndfile Project Libsndfile, published April 7, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.48%, the 74th percentile. Fixed in libsndfile 1.0.28-r0.
References
mega-nerd.com/libsndfile
github.com/erikd/libsndfile/commit/60b234301adf258786d8b90be5c1d437fc8799e0
mega-nerd.com/libsndfile/NEWS
security.gentoo.org/glsa/201707-04
secuniaresearch.flexerasoftware.com/secunia_research/2017-4
nvd.nist.gov/vuln/detail/CVE-2017-7585
Show 51 moreShow less
github.com/advisories/GHSA-w427-j9xg-4f6g
security.alpinelinux.org/vuln/CVE-2017-7585
docs.bell-sw.com/security/cves/CVE-2017-7585
security-tracker.debian.org/tracker/CVE-2017-7585
advisories.mageia.org/MGASA-2017-0168.html
bugs.mageia.org/show_bug.cgi?id=20658
lists.opensuse.org/opensuse-updates/2017-04/msg00096.html
lists.opensuse.org/opensuse-updates/2017-05/msg00095.html
suse.com/support/update/announcement/2017/suse-su-20171030-1
bugzilla.suse.com/1033054
bugzilla.suse.com/1033914
bugzilla.suse.com/1033915
suse.com/security/cve/CVE-2017-7585
suse.com/security/cve/CVE-2017-7741
suse.com/security/cve/CVE-2017-7742
suse.com/support/update/announcement/2017/suse-su-20171040-1
bugzilla.suse.com/1033053
suse.com/security/cve/CVE-2017-7586
suse.com/support/update/announcement/2017/suse-su-20171236-1
bugzilla.suse.com/1036943
bugzilla.suse.com/1036944
bugzilla.suse.com/1036945
bugzilla.suse.com/1036946
suse.com/security/cve/CVE-2017-8361
suse.com/security/cve/CVE-2017-8362
suse.com/security/cve/CVE-2017-8363
suse.com/security/cve/CVE-2017-8365
suse.com/support/update/announcement/2017/suse-su-20171367-1
bugzilla.suse.com/1038856
ubuntu.com/security/CVE-2017-7585
ubuntu.com/security/notices/USN-3306-1
cve.org/CVERecord?id=CVE-2017-7585
ubuntu.com/security/CVE-2017-7586
ubuntu.com/security/CVE-2017-7741
ubuntu.com/security/CVE-2017-7742
ubuntu.com/security/CVE-2017-8361
ubuntu.com/security/CVE-2017-8362
ubuntu.com/security/CVE-2017-8363
ubuntu.com/security/CVE-2017-8365
suse.com/security/cve/CVE-2007-4974
suse.com/security/cve/CVE-2017-12562
suse.com/security/cve/CVE-2017-14245
suse.com/security/cve/CVE-2017-14246
suse.com/security/cve/CVE-2017-14634
suse.com/security/cve/CVE-2017-17456
suse.com/security/cve/CVE-2017-17457
suse.com/security/cve/CVE-2017-6892
suse.com/security/cve/CVE-2018-13139
suse.com/security/cve/CVE-2018-19432
suse.com/security/cve/CVE-2018-19758
suse.com/security/cve/CVE-2021-3246