Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660452 (CVE-2018-13139) - <media-libs/libsndfile-1.0.28-r3: stack-based buffer overflow in psf_memset in common.c
Summary: <media-libs/libsndfile-1.0.28-r3: stack-based buffer overflow in psf_memset i...
Alias: CVE-2018-13139
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:
Blocks: CVE-2017-8361, CVE-2017-8362, CVE-2017-8363, CVE-2017-8365 CVE-2017-6892 CVE-2017-12562 CVE-2017-14634
  Show dependency tree
Reported: 2018-07-05 15:43 UTC by Florian Schuhmacher
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 Florian Schuhmacher 2018-07-05 15:43:57 UTC
A flaw was found in libsndfile 1.0.28. A stack-based buffer overflow in psf_memset in common.c in allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted audio file. The vulnerability can be triggered by the executable sndfile-deinterleave.

Gentoo Security Scout
Florian Schuhmacher
Comment 1 Larry the Git Cow gentoo-dev 2018-09-18 21:24:26 UTC
The bug has been referenced in the following commit(s):

commit e2ec2c790cf28858ec8dd4da007ca7ca12ffeca1
Author:     Andreas Sturmlechner <>
AuthorDate: 2018-09-18 21:23:22 +0000
Commit:     Andreas Sturmlechner <>
CommitDate: 2018-09-18 21:24:08 +0000

    media-libs/libsndfile: Fix CVE-2018-13139
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 .../files/libsndfile-1.0.28-CVE-2018-13139.patch   | 31 ++++++++++
 media-libs/libsndfile/libsndfile-1.0.28-r3.ebuild  | 67 ++++++++++++++++++++++
 2 files changed, 98 insertions(+)
Comment 2 GLSAMaker/CVETool Bot gentoo-dev 2018-11-30 08:54:20 UTC
This issue was resolved and addressed in
 GLSA 201811-23 at
by GLSA coordinator Aaron Bauman (b-man).