CVE-2018-13139
published 2018-07-04CVE-2018-13139: A stack-based buffer overflow in psf_memset in common.c in libsndfile 1.0.28 allows remote attackers to cause a denial of service (application crash) or…
PriorityP339high8.8CVSS 3.0
AVNACLPRNUIRSUCHIHAH
EPSS
3.57%
87.9th percentile
A stack-based buffer overflow in psf_memset in common.c in libsndfile 1.0.28 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.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | libsndfile | < libsndfile 1.0.28-5 (bookworm) | libsndfile 1.0.28-5 (bookworm) |
| libsndfile_project | libsndfile | — | — |
| libsndfile_project | libsndfile | >= 0 < 1.0.28-5 | 1.0.28-5 |
| libsndfile_project | libsndfile | >= 0 < 1.0.28-5 | 1.0.28-5 |
| libsndfile_project | libsndfile | >= 0 < 1.0.28-5 | 1.0.28-5 |
| libsndfile_project | libsndfile | >= 0 < 1.0.28-5 | 1.0.28-5 |
| libsndfile_project | libsndfile | >= 0 < 1.0.25-10ubuntu0.16.04.3 | 1.0.25-10ubuntu0.16.04.3 |
| libsndfile_project | libsndfile | >= 0 < 1.0.25-7ubuntu2.2+esm1 | 1.0.25-7ubuntu2.2+esm1 |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cm1_libsndfile_1.0.31-1_on_cbl_mariner_1.0 | — | — |
CVSS provenance
nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_ubuntu9.8CRITICAL
vendor_debian8.8LOW
vendor_msrc8.8HIGH
vendor_redhat8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-57vh-797h-6g7v: A stack-based buffer overflow in psf_memset in common
ghsa_unreviewed·2022-05-13
CVE-2018-13139 [HIGH] CWE-787 GHSA-57vh-797h-6g7v: A stack-based buffer overflow in psf_memset in common
A stack-based buffer overflow in psf_memset in common.c in libsndfile 1.0.28 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.
OSV
libsndfile vulnerabilities
osv·2021-01-26·CVSS 9.8
CVE-2017-12562 [CRITICAL] libsndfile vulnerabilities
libsndfile vulnerabilities
It was 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. (CVE-2017-12562)
It was 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. This issue only affected Ubuntu 14.04 ESM. (CVE-2017-14245,
CVE-2017-14246, CVE-2017-14634, CVE-2017-16942, CVE-2017-6892,
CVE-2018-13139, CVE-2018-19432, CVE-2018-19661, CVE-2018-19662,
CVE-2018-19758, CVE-2019-3832)
OSV
CVE-2018-13139: A stack-based buffer overflow in psf_memset in common
osv·2018-07-04·CVSS 8.8
CVE-2018-13139 [HIGH] CVE-2018-13139: A stack-based buffer overflow in psf_memset in common
A stack-based buffer overflow in psf_memset in common.c in libsndfile 1.0.28 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.
Ubuntu
libsndfile vulnerabilities
vendor_ubuntu·2021-01-26·CVSS 9.8
CVE-2017-12562 [CRITICAL] libsndfile vulnerabilities
Title: libsndfile vulnerabilities
Summary: Several security issues were fixed in libsndfile.
It was 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. (CVE-2017-12562)
It was 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. This issue only affected Ubuntu 14.04 ESM. (CVE-2017-14245,
CVE-2017-14246, CVE-2017-14634, CVE-2017-16942, CVE-2017-6892,
CVE-2018-13139, CVE-2018-19432, CVE-2018-19661, CVE-2018-19662,
CVE-2018-19758, CVE-2019-3832)
Instructions: After a standard s
Ubuntu
libsndfile vulnerabilities
vendor_ubuntu·2019-06-10
CVE-2017-14245 libsndfile vulnerabilities
Title: libsndfile vulnerabilities
Summary: Several security issues were fixed in libsndfile.
It was 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.
Instructions: After a standard system update you need to restart your session to make all
the necessary changes.
Microsoft
A stack-based buffer overflow in psf_memset in common.c in libsndfile 1.0.28 allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a cr
vendor_msrc·2018-07-10·CVSS 8.8
CVE-2018-13139 [HIGH] CWE-787 A stack-based buffer overflow in psf_memset in common.c in libsndfile 1.0.28 allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a cr
A stack-based buffer overflow in psf_memset in common.c in libsndfile 1.0.28 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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog p
Red Hat
libsndfile: stack-based buffer overflow in sndfile-deinterleave utility
vendor_redhat·2018-07-03·CVSS 8.8
CVE-2018-13139 [HIGH] CWE-121 libsndfile: stack-based buffer overflow in sndfile-deinterleave utility
libsndfile: stack-based buffer overflow in sndfile-deinterleave utility
A stack-based buffer overflow in psf_memset in common.c in libsndfile 1.0.28 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.
Statement: This issue did not affect the versions of libsndfile as shipped with Red Hat Enterprise Linux 6. This issue affects the versions of libsndfile as shipped with Red Hat Enterprise Linux 7.
Package: libsndfile (Red Hat Enterprise Linux 6) - Not affected
Package: libsndfile (Red Hat Enterprise Linux 9) - Not affected
Debian
CVE-2018-13139: libsndfile - A stack-based buffer overflow in psf_memset in common.c in libsndfile 1.0.28 all...
vendor_debian·2018·CVSS 8.8
CVE-2018-13139 [HIGH] CVE-2018-13139: libsndfile - A stack-based buffer overflow in psf_memset in common.c in libsndfile 1.0.28 all...
A stack-based buffer overflow in psf_memset in common.c in libsndfile 1.0.28 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.
Scope: local
bookworm: resolved (fixed in 1.0.28-5)
bullseye: resolved (fixed in 1.0.28-5)
forky: resolved (fixed in 1.0.28-5)
sid: resolved (fixed in 1.0.28-5)
trixie: resolved (fixed in 1.0.28-5)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-19432 libsndfile: OOB read in sf_write_int in sndfile.c
bugzilla·2018-11-22·CVSS 8.8
CVE-2018-19432 [HIGH] CVE-2018-19432 libsndfile: OOB read in sf_write_int in sndfile.c
CVE-2018-19432 libsndfile: OOB read in sf_write_int in sndfile.c
An issue was discovered in libsndfile 1.0.28. There is a OOB read error in sf_write_int in sndfile.c, which will lead to a denial of service.
References:
https://github.com/erikd/libsndfile/issues/427
Discussion:
Created libsndfile tracking bugs for this issue:
Affects: fedora-all [bug 1652567]
---
Patch mentioned in upstream bug:
https://github.com/erikd/libsndfile/commit/6f3266277bed16525f0ac2f0f03ff4626f1923e5
But appears to need this one, too (fix for CVE-2018-13139):
https://github.com/erikd/libsndfile/commit/aaea680337267bfb6d2544da878890ee7f1c5077
---
Statement:
This issue did not affect the versions of libsndfile as shipped with Red Hat Enterprise Linux 6. This issue affects the versions of libsndfile as s
Bugzilla
CVE-2018-13139 libsndfile: stack-based buffer overflow in sndfile-deinterleave utility [fedora-all]
bugzilla·2018-07-05·CVSS 8.8
CVE-2018-13139 [HIGH] CVE-2018-13139 libsndfile: stack-based buffer overflow in sndfile-deinterleave utility [fedora-all]
CVE-2018-13139 libsndfile: stack-based buffer overflow in sndfile-deinterleave utility [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multi
Bugzilla
CVE-2018-13139 libsndfile: stack-based buffer overflow in sndfile-deinterleave utility
bugzilla·2018-07-05·CVSS 8.8
CVE-2018-13139 [HIGH] CVE-2018-13139 libsndfile: stack-based buffer overflow in sndfile-deinterleave utility
CVE-2018-13139 libsndfile: stack-based buffer overflow in sndfile-deinterleave utility
A flaw was found in libsndfile 1.0.28. A stack-based buffer overflow when processing files with an unexpected amount of channels within the sndfile-deinterlace utility can be exploited by attackers to cause a crash, or, possibly, execute arbitrary code.
References:
https://github.com/erikd/libsndfile/issues/397
Discussion:
Created libsndfile tracking bugs for this issue:
Affects: fedora-all [bug 1598481]
---
Statement:
This issue did not affect the versions of libsndfile as shipped with Red Hat Enterprise Linux 6. This issue affects the versions of libsndfile as shipped with Red Hat Enterprise Linux 7.
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 7
Vi
https://github.com/erikd/libsndfile/issues/397https://lists.debian.org/debian-lts-announce/2018/12/msg00016.htmlhttps://security.gentoo.org/glsa/201811-23https://usn.ubuntu.com/4013-1/https://github.com/erikd/libsndfile/issues/397https://lists.debian.org/debian-lts-announce/2018/12/msg00016.htmlhttps://security.gentoo.org/glsa/201811-23https://usn.ubuntu.com/4013-1/
2018-07-04
Published