Skip to content
Fencer Intel
high 8.8

CVE-2021-3246 json

A heap buffer overflow vulnerability in msadpcm_decode_block of libsndfile 1.0.30 allows attackers to execute arbitrary code via a crafted…

published 5y ago modified 4mo ago also EUVD-2021-26585

cvss
8.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.1%
EPSS 3.1% chance of exploitation in 30 days, percentile 87%
public exploits
0
none known

Summary

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.

Patch / fix

  • libsndfile Debian 14, Debian 13, Debian 12 1.0.31-2

debian advisories DEBIAN-CVE-2021-3246

  • libsndfile Ubuntu 18.04 LTS 1.0.28-4ubuntu0.18.04.2
  • libsndfile Ubuntu 20.04 LTS 1.0.28-7ubuntu0.1
  • libsndfile Ubuntu Pro 14.04 LTS 1.0.25-7ubuntu2.2+esm2
  • libsndfile Ubuntu Pro 16.04 LTS 1.0.25-10ubuntu0.16.04.3+esm1

ubuntu advisories UBUNTU-CVE-2021-3246

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libsndfile RHEL 7 1.0.25-12.el7_9.1
  • libsndfile-utils RHEL 7 1.0.25-12.el7_9.1
  • libsndfile RHEL 8 1.0.28-10.el8_4.1
  • libsndfile RHEL 8.2 EUS 1.0.28-10.el8_2.1
  • libsndfile RHEL 8.1 EUS 1.0.28-8.el8_1.1

red hat advisories RHSA-2021:3298RHSA-2021:3297RHSA-2021:3295RHSA-2021:3253

  • libsndfile SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +14 more 1.0.28-5.12.1
  • libsndfile SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +9 more 1.0.25-36.23.1
  • libsndfile SLES 11 SP4-LTSS, SLE Point of Sale 11 SP3 1.0.20-2.19.15.1

suse advisories SUSE-SU-2021:2764-1SUSE-SU-2021:2615-1SUSE-SU-2021:14769-1

  • libsndfile openSUSE Tumbleweed 1.0.31-2.2
  • libsndfile openSUSE Leap 15.2 1.0.28-lp152.6.3.1
  • libsndfile-progs openSUSE Leap 15.2 1.0.28-lp152.6.3.1
  • libsndfile openSUSE Leap 15.3 1.0.28-5.12.1
  • libsndfile-progs openSUSE Leap 15.3 1.0.28-5.12.1

opensuse advisories openSUSE-SU-2024:10992-1openSUSE-SU-2021:1166-1openSUSE-SU-2021:2764-1

  • libsndfile AlmaLinux 8 1.0.28-10.el8_4.1

almalinux advisories ALSA-2021:3253

  • libsndfile Rocky Linux 8 1.0.28-10.el8_4.1

rocky linux advisories RLSA-2021:3253

  • libsndfile Arch Linux 1.1.0-1

arch linux advisories AVG-2185

Is CVE-2021-3246 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-3246 updated cvss 8.8

libsndfile: Heap buffer overflow via crafted WAV file allows arbitrary code execution

  • Red Hat Enterprise Linux 6 libsndfile
    affected: no fix planned “Out of support scope”
  • Red Hat CodeReady Linux Builder (v. 8) libsndfile-devel 1.0.28-10.el8_4.1, libsndfile-debuginfo 1.0.28-10.el8_4.1, libsndfile-debugsource 1.0.28-10.el8_4.1, libsndfile-utils-debuginfo 1.0.28-10.el8_4.1
    fixed: vendor fix RHSA-2021:3253
  • Red Hat CodeReady Linux Builder EUS (v. 8.1) libsndfile-devel 1.0.28-8.el8_1.1, libsndfile-debuginfo 1.0.28-8.el8_1.1, libsndfile-debugsource 1.0.28-8.el8_1.1, libsndfile-utils-debuginfo 1.0.28-8.el8_1.1
    fixed: vendor fix RHSA-2021:3297
  • Red Hat CodeReady Linux Builder EUS (v. 8.2) libsndfile-devel 1.0.28-10.el8_2.1, libsndfile-debuginfo 1.0.28-10.el8_2.1, libsndfile-debugsource 1.0.28-10.el8_2.1, libsndfile-utils-debuginfo 1.0.28-10.el8_2.1
    fixed: vendor fix RHSA-2021:3298
  • Red Hat Enterprise Linux AppStream (v. 8) libsndfile 1.0.28-10.el8_4.1
    fixed: vendor fix RHSA-2021:3253
  • Red Hat Enterprise Linux AppStream EUS (v. 8.1) libsndfile 1.0.28-8.el8_1.1
    fixed: vendor fix RHSA-2021:3297
  • Red Hat Enterprise Linux AppStream EUS (v. 8.2) libsndfile 1.0.28-10.el8_2.1
    fixed: vendor fix RHSA-2021:3298
  • Red Hat Enterprise Linux Client (v. 7) libsndfile 1.0.25-12.el7_9.1 Red Hat Enterprise Linux Client Optional (v. 7) libsndfile-utils 1.0.25-12.el7_9.1 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libsndfile-utils 1.0.25-12.el7_9.1 Red Hat Enterprise Linux Server (v. 7) libsndfile 1.0.25-12.el7_9.1 Red Hat Enterprise Linux Server Optional (v. 7) libsndfile-utils 1.0.25-12.el7_9.1 Red Hat Enterprise Linux Workstation (v. 7) libsndfile 1.0.25-12.el7_9.1
    +1 more products
    Red Hat Enterprise Linux Workstation Optional (v. 7) libsndfile-utils 1.0.25-12.el7_9.1
    fixed: vendor fix RHSA-2021:3295
show 1 more
  • Red Hat Enterprise Linux 9 libsndfile, libsndfile-utils
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.12% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • github.com https://github.com/libsndfile/libsndfile/issues/687 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.