CVE-2018-13139 Memory corruption in n/a

High 8.8 Published Updated

A stack-based buffer overflow in libsndfile allows remote attackers to cause a crash or potentially execute code via a crafted audio file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-13139?

CVE-2018-13139 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 4 Jul 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-787

Which versions are affected by CVE-2018-13139?

It affects 2 products.

Linux distribution packages (16)
libsndfile Red Hat:enterprise_linux:7::clientAll versions0:1.0.25-11.el7
libsndfile-debuginfo Red Hat:enterprise_linux:7::clientAll versions0:1.0.25-11.el7
libsndfile-devel Red Hat:enterprise_linux:7::clientAll versions0:1.0.25-11.el7
libsndfile-utils Red Hat:enterprise_linux:7::clientAll versions0:1.0.25-11.el7
libsndfile Red Hat:enterprise_linux:7::computenodeAll versions0:1.0.25-11.el7
libsndfile-debuginfo Red Hat:enterprise_linux:7::computenodeAll versions0:1.0.25-11.el7
libsndfile-devel Red Hat:enterprise_linux:7::computenodeAll versions0:1.0.25-11.el7
libsndfile-utils Red Hat:enterprise_linux:7::computenodeAll versions0:1.0.25-11.el7
libsndfile Red Hat:enterprise_linux:7::serverAll versions0:1.0.25-11.el7
libsndfile-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:1.0.25-11.el7
libsndfile-devel Red Hat:enterprise_linux:7::serverAll versions0:1.0.25-11.el7
libsndfile-utils Red Hat:enterprise_linux:7::serverAll versions0:1.0.25-11.el7
libsndfile Red Hat:enterprise_linux:7::workstationAll versions0:1.0.25-11.el7
libsndfile-debuginfo Red Hat:enterprise_linux:7::workstationAll versions0:1.0.25-11.el7
libsndfile-devel Red Hat:enterprise_linux:7::workstationAll versions0:1.0.25-11.el7
libsndfile-utils Red Hat:enterprise_linux:7::workstationAll versions0:1.0.25-11.el7

Products include Debian Debian Linux, Libsndfile Project Libsndfile.

How do I fix CVE-2018-13139?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-13139 being exploited?

There is no known exploitation of CVE-2018-13139 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-13139, DEBIAN-CVE-2018-13139, GHSA-57vh-797h-6g7v, RHSA-2020:1185, UBUNTU-CVE-2018-13139.

Is CVE-2018-13139 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free