CVE-2017-7586

NameCVE-2017-7586
DescriptionIn libsndfile before 1.0.28, an error in the "header_read()" function (common.c) when handling ID3 tags can be exploited to cause a stack-based buffer overflow via a specially crafted FLAC file.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-928-1, ELA-305-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libsndfile (PTS)jessie, jessie (lts)1.0.25-9.1+deb8u7fixed
stretch (security), stretch (lts), stretch1.0.27-3+deb9u3fixed
buster (security), buster, buster (lts)1.0.28-6+deb10u2fixed
bullseye1.0.31-2fixed
bookworm1.2.0-1fixed
sid, trixie1.2.2-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libsndfilesourcewheezy1.0.25-9.1+deb7u1DLA-928-1
libsndfilesourcejessie1.0.25-9.1+deb8u5ELA-305-1
libsndfilesource(unstable)1.0.27-2

Notes

[jessie] - libsndfile <no-dsa> (Minor issue)
https://github.com/erikd/libsndfile/commit/708e996c87c5fae77b104ccfeb8f6db784c32074
https://github.com/erikd/libsndfile/commit/f457b7b5ecfe91697ed01cfc825772c4d8de1236
1.0.27-2 in unstable contain fix_bufferoverflows.patch meant to address this issue
https://sources.debian.org/data/main/libs/libsndfile/1.0.27-2/debian/patches/fix_bufferoverflows.patch

Search for package or bug name: Reporting problems