CVEfocus › CVE database › CVE-2021-3246

CVE-2021-3246

EPSS 3.1% (higher than 89% of CVEs)Published 2021-07-20Updated 2024-08-03Assigner: mitre

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.

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

13Fixed
2Fix pending
2Will not fix
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04libsndfileFixed1.0.28-7ubuntu0.1UBUNTU-CVE-2021-3246
Ubuntu 18.04libsndfileFixed1.0.28-4ubuntu0.18.04.2UBUNTU-CVE-2021-3246
Ubuntu 16.04libsndfileFix pending1.0.25-10ubuntu0.16.04.3+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-3246
Ubuntu 14.04libsndfileFix pending1.0.25-7ubuntu2.2+esm2 (Ubuntu Pro)UBUNTU-CVE-2021-3246
Debian 14libsndfileFixed1.0.31-2DEBIAN-CVE-2021-3246
Debian 13libsndfileFixed1.0.31-2DEBIAN-CVE-2021-3246
Debian 12libsndfileFixed1.0.31-2DEBIAN-CVE-2021-3246
Red Hat Enterprise Linux 9libsndfileNot affected
Red Hat Enterprise Linux 9libsndfile-develNot affected
Red Hat Enterprise Linux 9libsndfile-utilsNot affected
Red Hat Enterprise Linux 8libsndfileFixed0:1.0.28-10.el8_4.1RHSA-2021:3253
Red Hat Enterprise Linux 8libsndfile-develFixed0:1.0.28-10.el8_4.1RHSA-2021:3253
Red Hat Enterprise Linux 7libsndfileFixed0:1.0.25-12.el7_9.1RHSA-2021:3295
Red Hat Enterprise Linux 7libsndfile-develFixed0:1.0.25-12.el7_9.1RHSA-2021:3295
Red Hat Enterprise Linux 7libsndfile-utilsFixed0:1.0.25-12.el7_9.1RHSA-2021:3295
Red Hat Enterprise Linux 6libsndfileWill not fix
Out of support scope
Red Hat Enterprise Linux 6libsndfile-develWill not fix
Out of support scope
AlmaLinux 8libsndfileFixed1.0.28-10.el8_4.1ALSA-2021:3253
AlmaLinux 8libsndfile-develFixed1.0.28-10.el8_4.1ALSA-2021:3253
Rocky Linux 8libsndfileFixed0:1.0.28-10.el8_4.1RLSA-2021:3253

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.