{"id":"CVE-2017-7586","aliases":["DEBIAN-CVE-2017-7586","DLA-928-1","EUVD-2017-16591","GHSA-5jpx-m5hp-3gpv","MGASA-2017-0168","SUSE-SU-2017:1040-1","UBUNTU-CVE-2017-7586","USN-3306-1"],"status":"published","title":"In libsndfile before 1.0.28, an error in the \"header_read()\" function (common.c) when handling...","description":"In 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.","severity":{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.01243,"percentile":0.69392,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2017-04-07T00:00:00Z","modified":"2026-10-20T13:32:34Z","fixes":[{"ecosystem":"Debian:12","package":"libsndfile","fixed_in":["1.0.27-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libsndfile","fixed_in":["1.0.27-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libsndfile","fixed_in":["1.0.27-2"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"libsndfile","fixed_in":["1.0.25-7ubuntu2.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"libsndfile","fixed_in":["1.0.25-10ubuntu0.16.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.27-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.27-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.27-2"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-9.1+deb7u1"}]}],"versions":["1.0.25-5","1.0.25-6","1.0.25-7","1.0.25-8","1.0.25-9","1.0.25-9.1"],"bundled":7},{"source":"osv","ecosystem":"Mageia:5","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-9.2.mga5"}]}],"bundled":8},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP1","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-28.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-28.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-28.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP1","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-28.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-28.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP1","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-28.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-28.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP2","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-28.1"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-28.1"}]}],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-7ubuntu2.2"}]}],"versions":["1.0.25-7ubuntu1","1.0.25-7ubuntu2","1.0.25-7ubuntu2.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-10ubuntu0.16.04.1"}]}],"versions":["1.0.25-9.1","1.0.25-10"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-7ubuntu2.2"}]}],"versions":["1.0.25-7ubuntu1","1.0.25-7ubuntu2","1.0.25-7ubuntu2.1"],"bundled":8},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libsndfile","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.25-10ubuntu0.16.04.1"}]}],"versions":["1.0.25-9.1","1.0.25-10"],"bundled":8}],"products":[{"vendor":"libsndfile_project","product":"libsndfile"}],"references":[{"url":"https://github.com/erikd/libsndfile/commit/708e996c87c5fae77b104ccfeb8f6db784c32074","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix"]},{"url":"http://www.mega-nerd.com/libsndfile/#History","tags":["x_refsource_CONFIRM","x_transferred","Product","Release Notes","advisory","report"]},{"url":"http://www.mega-nerd.com/libsndfile/NEWS","tags":["x_refsource_CONFIRM","x_transferred","Release Notes","advisory","report"]},{"url":"https://security.gentoo.org/glsa/201707-04","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"https://github.com/erikd/libsndfile/commit/f457b7b5ecfe91697ed01cfc825772c4d8de1236","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix"]},{"url":"http://www.securityfocus.com/bid/97522","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7586"},{"url":"https://github.com/advisories/GHSA-5jpx-m5hp-3gpv"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-7586","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0168.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=20658","tags":["report"]},{"url":"https://lists.opensuse.org/opensuse-updates/2017-04/msg00096.html","tags":["web"]},{"url":"https://lists.opensuse.org/opensuse-updates/2017-05/msg00095.html","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20171040-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1033053","tags":["report"]},{"url":"https://bugzilla.suse.com/1033054","tags":["report"]},{"url":"https://bugzilla.suse.com/1033914","tags":["report"]},{"url":"https://bugzilla.suse.com/1033915","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7585","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7586","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7741","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7742","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-7586","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3306-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-7586","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-7585","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-7741","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-7742","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-8361","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-8362","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-8363","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-8365","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-7586","description":"In 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.","status":"published","published":"2017-04-07T20:00:00Z","modified":"2024-08-05T16:04:11.873Z","updated_at":"2026-11-02T14:33:20.843976Z"}],"euvd":[{"id":"EUVD-2017-16591","description":"In 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.","status":"published","published":"2017-04-07T20:00:00Z","modified":"2024-08-05T16:04:11Z","updated_at":"2026-11-03T02:39:08.024596Z"}],"ghsa":[{"id":"GHSA-5jpx-m5hp-3gpv","title":"In libsndfile before 1.0.28, an error in the \"header_read()\" function (common.c) when handling...","description":"In 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.","status":"published","published":"2022-05-17T02:31:59Z","modified":"2023-01-27T05:05:12Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:42:38.917516Z"}],"nvd":[{"id":"CVE-2017-7586","description":"In 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.","status":"published","published":"2017-04-07T20:59:00.22Z","modified":"2026-06-17T01:24:42.193Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:03:44.86906Z"}],"osv":[{"id":"CVE-2017-7586","description":"In 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.","status":"published","published":"2017-04-07T20:59:00.22Z","modified":"2026-10-20T13:32:34.006446325Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:06.412595Z"},{"id":"DEBIAN-CVE-2017-7586","description":"In 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.","status":"published","published":"2017-04-07T20:59:00.22Z","modified":"2026-09-01T20:03:50.252136321Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:29.412243Z"},{"id":"UBUNTU-CVE-2017-7586","description":"In 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.","status":"published","published":"2017-04-07T00:00:00Z","modified":"2026-04-22T11:32:06.848486Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:15.773974Z"},{"id":"DLA-928-1","title":"libsndfile - security update","status":"published","published":"2017-04-29T00:00:00Z","modified":"2026-03-09T02:10:11.037451Z","updated_at":"2026-11-02T15:46:13.584509Z"},{"id":"MGASA-2017-0168","title":"Updated libsndfile packages fix security vulnerabilities","description":"A stack-based buffer overflow via a specially crafted FLAC file due to\nan error in the header_read() function (CVE-2017-7586).\n\nSeveral stack-based buffer overflows via a specially crafted FLAC file\ndue to an error in the flac_buffer_copy() function (CVE-2017-7585,\nCVE-2017-7741, CVE-2017-7742).\n\nGlobal buffer overflow in flac_buffer_copy() (CVE-2017-8361).\n\nInvalid memory read in flac_buffer_copy() (CVE-2017-8362).\n\nHeap-based buffer overflow in flac_buffer_copy() (CVE-2017-8363).\n\nThe i2les_array function in pcm.c in libsndfile 1.0.28 allows remote\nattackers to cause a denial of service (buffer over-read and\napplication crash) via a crafted audio file (CVE-2017-8365).\n","status":"published","published":"2017-06-12T07:42:23Z","modified":"2026-04-16T06:23:47.281253891Z","updated_at":"2026-11-02T15:49:40.103088Z"},{"id":"SUSE-SU-2017:1040-1","title":"Security update for libsndfile","description":"\nThis update for libsndfile fixes the following security issues:\n\n- CVE-2017-7586: A stack-based buffer overflow via a specially crafted FLAC\n  file was fixed (error in the 'header_read()' function) (bsc#1033053)\n- CVE-2017-7585,CVE-2017-7741, CVE-2017-7742: Several stack-based buffer overflows via a specially crafted FLAC\n  file (error in the 'flac_buffer_copy()' function) were fixed (bsc#1033054,bsc#1033915,bsc#1033914).\n","status":"published","published":"2017-04-18T09:20:38Z","modified":"2026-02-04T04:16:49.739557Z","updated_at":"2026-11-02T15:53:43.83457Z"},{"id":"USN-3306-1","title":"libsndfile vulnerabilities","description":"Agostino Sarubbo and Jakub Jirasek discovered that libsndfile incorrectly\nhandled certain malformed files. A remote attacker could use this issue to\ncause libsndfile to crash, resulting in a denial of service, or possibly\nexecute arbitrary code.\n","status":"published","published":"2017-06-01T13:56:45Z","modified":"2026-04-22T09:36:09.617774Z","updated_at":"2026-11-02T16:58:13.496563Z"}]}}
