Every CVE Search/ Get API key

CVE-2017-7585

In libsndfile before 1.0.28, an error in the "flac_buffer_copy()" function (flac.c) can be...

5.5 MediumFix available

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

1.48%Up 0.2 points since Apr 14, 2021
90%50%10%1%

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 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
libsndfile
Alpine:v3.10
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.11
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.12
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.13
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.14
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.15
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.16
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.17
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.18
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.19
before 1.0.28-r0
1.0.28-r0
Show 45 moreShow less
Affected packages
PackageAffectedFixed
libsndfile
Alpine:v3.2
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.20
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.21
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.22
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.23
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.24
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.3
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.4
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.5
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.6
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.7
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.8
before 1.0.28-r0
1.0.28-r0
libsndfile
Alpine:v3.9
before 1.0.28-r0
1.0.28-r0
libsndfile
Debian:12
before 1.0.27-2
1.0.27-2
libsndfile
Debian:13
before 1.0.27-2
1.0.27-2
libsndfile
Debian:14
before 1.0.27-2
1.0.27-2
libsndfile
Debian: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
libsndfile
Mageia:5
before 1.0.25-9.2.mga5
1.0.25-9.2.mga5
libsndfile
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 1.0.20-2.13.1
1.0.20-2.13.1
libsndfile
SUSE:Linux Enterprise Server 11 SP4
before 1.0.20-2.13.1
1.0.20-2.13.1
libsndfile
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 1.0.20-2.13.1
1.0.20-2.13.1
libsndfile
SUSE:Linux Enterprise Desktop 12 SP1
before 1.0.25-28.1
1.0.25-28.1
libsndfile
SUSE:Linux Enterprise Desktop 12 SP2
before 1.0.25-28.1
1.0.25-28.1
libsndfile
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 1.0.25-28.1
1.0.25-28.1
libsndfile
SUSE:Linux Enterprise Software Development Kit 12 SP1
before 1.0.25-28.1
1.0.25-28.1
libsndfile
SUSE:Linux Enterprise Software Development Kit 12 SP2
before 1.0.25-28.1
1.0.25-28.1
libsndfile
SUSE:Linux Enterprise Server 12 SP1
before 1.0.25-28.1
1.0.25-28.1
libsndfile
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 1.0.25-28.1
1.0.25-28.1
libsndfile
SUSE:Linux Enterprise Server 12 SP2
before 1.0.25-28.1
1.0.25-28.1
libsndfile
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 1.0.25-28.1
1.0.25-28.1
libsndfile
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 1.0.20-2.18.1
1.0.20-2.18.1
libsndfile
SUSE:Linux Enterprise Server 11 SP4
before 1.0.20-2.18.1
1.0.20-2.18.1
libsndfile
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 1.0.20-2.18.1
1.0.20-2.18.1
libsndfile
SUSE:Linux Enterprise Desktop 12 SP1
before 1.0.25-35.1
1.0.25-35.1
libsndfile
SUSE:Linux Enterprise Desktop 12 SP2
before 1.0.25-35.1
1.0.25-35.1
libsndfile
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 1.0.25-35.1
1.0.25-35.1
libsndfile
SUSE:Linux Enterprise Software Development Kit 12 SP1
before 1.0.25-35.1
1.0.25-35.1
libsndfile
SUSE:Linux Enterprise Software Development Kit 12 SP2
before 1.0.25-35.1
1.0.25-35.1
libsndfile
SUSE:Linux Enterprise Server 12 SP1
before 1.0.25-35.1
1.0.25-35.1
libsndfile
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 1.0.25-35.1
1.0.25-35.1
libsndfile
SUSE:Linux Enterprise Server 12 SP2
before 1.0.25-35.1
1.0.25-35.1
libsndfile
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 1.0.25-35.1
1.0.25-35.1
libsndfile
Ubuntu: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
libsndfile
Ubuntu: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
libsndfile
openSUSE:Tumbleweed
before 1.0.31-2.2
1.0.31-2.2

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 51 moreShow less
MoveEnter Open