Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631634 (CVE-2017-14634) - <media-libs/libsndfile-1.0.28-r4: divide-by-zero error creates denial of service through audio file
Summary: <media-libs/libsndfile-1.0.28-r4: divide-by-zero error creates denial of serv...
Alias: CVE-2017-14634
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
Whiteboard: A3 [glsa+ cve]
Depends on: CVE-2018-13139
  Show dependency tree
Reported: 2017-09-21 12:43 UTC by Aleksandr Wagner (Kivak)
Modified: 2018-11-30 08:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Aleksandr Wagner (Kivak) 2017-09-21 12:43:08 UTC
CVE-2017-14634 (

In libsndfile 1.0.28, a divide-by-zero error exists in the function double64_init() in double64.c, which may lead to DoS when playing a crafted audio file. 

Comment 1 D'juan McDonald (domhnall) 2017-09-21 20:08:48 UTC
@maintainer(s), fixed version already in tree, please confirm if stable, thank you.

Daj Uan (jmbailey)
Gentoo Security Padawan
Comment 2 Aleksandr Wagner (Kivak) 2017-10-27 18:19:24 UTC
The current ebuild in the tree, 1.0.28-r1, still contains this bug. Currently patches are available, however no official release contains the fixes.
Comment 3 Larry the Git Cow gentoo-dev 2018-10-03 19:22:23 UTC
The bug has been referenced in the following commit(s):

commit b8fc21b710b18e21dfba9506f666ec18744a3e64
Author:     Andreas Sturmlechner <>
AuthorDate: 2018-10-03 19:16:17 +0000
Commit:     Andreas Sturmlechner <>
CommitDate: 2018-10-03 19:22:05 +0000

    media-libs/libsndfile: Fix multiple vulnerabilities
    Signed-off-by: Andreas Sturmlechner <>
    Package-Manager: Portage-2.3.50, Repoman-2.3.11

 .../files/libsndfile-1.0.28-CVE-2017-14634.patch   | 35 +++++++++++
 .../files/libsndfile-1.0.28-CVE-2017-6892.patch    | 25 ++++++++
 .../files/libsndfile-1.0.28-CVE-2017-8362.patch    | 50 ++++++++++++++++
 .../files/libsndfile-1.0.28-CVE-2017-8363.patch    | 28 +++++++++
 .../files/libsndfile-1.0.28-CVE-2017-8365.patch    | 64 ++++++++++++++++++++
 .../files/libsndfile-1.0.28-CVE-2018-13139.patch   |  2 +-
 media-libs/libsndfile/libsndfile-1.0.28-r4.ebuild  | 70 ++++++++++++++++++++++
 7 files changed, 273 insertions(+), 1 deletion(-)
Comment 4 GLSAMaker/CVETool Bot gentoo-dev 2018-11-30 08:54:13 UTC
This issue was resolved and addressed in
 GLSA 201811-23 at
by GLSA coordinator Aaron Bauman (b-man).