CVE-2021-3246 Memory corruption in n/a

High 8.8 Published Updated

Attackers can execute arbitrary code by tricking users into opening a crafted WAV file processed by the libsndfile library.

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-2021-3246?

CVE-2021-3246 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 20 Jul 2021. 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 heap buffer overflow vulnerability in msadpcm_decode_block of libsndfile 1.0.30 allows attackers to execute arbitrary code via a crafted WAV file.

Weakness: CWE-787

Which versions are affected by CVE-2021-3246?

It affects 3 products.

Linux distribution packages (40)
libsndfile AlmaLinux:8All versions1.0.28-10.el8_4.1
libsndfile-devel AlmaLinux:8All versions1.0.28-10.el8_4.1
libsndfile Red Hat:enterprise_linux:7::clientAll versions0:1.0.25-12.el7_9.1
libsndfile-debuginfo Red Hat:enterprise_linux:7::clientAll versions0:1.0.25-12.el7_9.1
libsndfile-devel Red Hat:enterprise_linux:7::clientAll versions0:1.0.25-12.el7_9.1
libsndfile-utils Red Hat:enterprise_linux:7::clientAll versions0:1.0.25-12.el7_9.1
libsndfile-debuginfo Red Hat:enterprise_linux:7::computenodeAll versions0:1.0.25-12.el7_9.1
libsndfile-devel Red Hat:enterprise_linux:7::computenodeAll versions0:1.0.25-12.el7_9.1
libsndfile-utils Red Hat:enterprise_linux:7::computenodeAll versions0:1.0.25-12.el7_9.1
libsndfile Red Hat:enterprise_linux:7::serverAll versions0:1.0.25-12.el7_9.1
libsndfile-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:1.0.25-12.el7_9.1
libsndfile-devel Red Hat:enterprise_linux:7::serverAll versions0:1.0.25-12.el7_9.1
libsndfile-utils Red Hat:enterprise_linux:7::serverAll versions0:1.0.25-12.el7_9.1
libsndfile Red Hat:enterprise_linux:7::workstationAll versions0:1.0.25-12.el7_9.1
libsndfile-debuginfo Red Hat:enterprise_linux:7::workstationAll versions0:1.0.25-12.el7_9.1
libsndfile-devel Red Hat:enterprise_linux:7::workstationAll versions0:1.0.25-12.el7_9.1
libsndfile-utils Red Hat:enterprise_linux:7::workstationAll versions0:1.0.25-12.el7_9.1
libsndfile Red Hat:enterprise_linux:8::appstreamAll versions0:1.0.28-10.el8_4.1
libsndfile-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:1.0.28-10.el8_4.1
libsndfile-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:1.0.28-10.el8_4.1
libsndfile-utils-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:1.0.28-10.el8_4.1
libsndfile-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:1.0.28-10.el8_4.1
libsndfile-debugsource Red Hat:enterprise_linux:8::crbAll versions0:1.0.28-10.el8_4.1
libsndfile-devel Red Hat:enterprise_linux:8::crbAll versions0:1.0.28-10.el8_4.1
libsndfile-utils-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:1.0.28-10.el8_4.1
libsndfile Red Hat:rhel_eus:8.1::appstreamAll versions0:1.0.28-8.el8_1.1
libsndfile-debuginfo Red Hat:rhel_eus:8.1::appstreamAll versions0:1.0.28-8.el8_1.1
libsndfile-debugsource Red Hat:rhel_eus:8.1::appstreamAll versions0:1.0.28-8.el8_1.1
libsndfile-utils-debuginfo Red Hat:rhel_eus:8.1::appstreamAll versions0:1.0.28-8.el8_1.1
libsndfile-debuginfo Red Hat:rhel_eus:8.1::crbAll versions0:1.0.28-8.el8_1.1
libsndfile-debugsource Red Hat:rhel_eus:8.1::crbAll versions0:1.0.28-8.el8_1.1
libsndfile-devel Red Hat:rhel_eus:8.1::crbAll versions0:1.0.28-8.el8_1.1
libsndfile-utils-debuginfo Red Hat:rhel_eus:8.1::crbAll versions0:1.0.28-8.el8_1.1
libsndfile Red Hat:rhel_eus:8.2::appstreamAll versions0:1.0.28-10.el8_2.1
libsndfile-debuginfo Red Hat:rhel_eus:8.2::appstreamAll versions0:1.0.28-10.el8_2.1
libsndfile-debugsource Red Hat:rhel_eus:8.2::appstreamAll versions0:1.0.28-10.el8_2.1
libsndfile-utils-debuginfo Red Hat:rhel_eus:8.2::appstreamAll versions0:1.0.28-10.el8_2.1
libsndfile-debuginfo Red Hat:rhel_eus:8.2::crbAll versions0:1.0.28-10.el8_2.1
libsndfile-debugsource Red Hat:rhel_eus:8.2::crbAll versions0:1.0.28-10.el8_2.1
libsndfile-devel Red Hat:rhel_eus:8.2::crbAll versions0:1.0.28-10.el8_2.1

Products include Debian Debian Linux, Fedoraproject Fedora, Libsndfile Project Libsndfile.

How do I fix CVE-2021-3246?

Upgrade to a fixed version.

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

Is CVE-2021-3246 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as ALSA-2021:3253, DEBIAN-CVE-2021-3246, DLA-2722-1, DSA-4947-1, GHSA-p3g4-4phf-g392, MGASA-2021-0392 and 10 more.

Is CVE-2021-3246 in your software?

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

Check your SBOMs for free