CVE catalog

CVE-2021-3246

libsndfile affected and fixed versions

[CVE catalog]

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.

Severity
Critical · CVSS 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
3.12% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debiantrixielibsndfile1.0.31-2FixedDistribution-reported fixed boundary[CVE-2021-3246]
Debiantrixielibsndfile1.2.2-2+deb13u1Fixed[CVE-2021-3246]
Debiansidlibsndfile1.0.31-2FixedDistribution-reported fixed boundary[CVE-2021-3246]
Debiansidlibsndfile1.2.2-4Fixed[CVE-2021-3246]
Debianforkylibsndfile1.0.31-2FixedDistribution-reported fixed boundary[CVE-2021-3246]
Debianforkylibsndfile1.2.2-4Fixed[CVE-2021-3246]
Debianbookwormlibsndfile1.0.31-2FixedDistribution-reported fixed boundary[CVE-2021-3246]
Debianbookwormlibsndfile1.2.0-1+deb12u1Fixed[CVE-2021-3246]

Showing 8 fix observations. All 23 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
UnknownRelease not reportedlibsndfile1.0.31-2UnknownSource applicability is not establishedProvider not reported
Debianbookwormlibsndfile1.0.31-2FixedDistribution-reported fixed boundary[CVE-2021-3246]
Debianbookwormlibsndfile1.2.0-1+deb12u1Fixed[CVE-2021-3246]
Debianforkylibsndfile1.0.31-2FixedDistribution-reported fixed boundary[CVE-2021-3246]
Debianforkylibsndfile1.2.2-4Fixed[CVE-2021-3246]
Debiansidlibsndfile1.0.31-2FixedDistribution-reported fixed boundary[CVE-2021-3246]
Debiansidlibsndfile1.2.2-4Fixed[CVE-2021-3246]
Debiantrixielibsndfile1.0.31-2FixedDistribution-reported fixed boundary[CVE-2021-3246]
Debiantrixielibsndfile1.2.2-2+deb13u1Fixed[CVE-2021-3246]
Suselinux enterprise point of sale 11 sp3libsndfile1.0.20-2.19.15.1UnknownSource applicability is not established[SUSE-SU-2021:14769-1]
Suselinux enterprise server 11 sp4-ltsslibsndfile1.0.20-2.19.15.1UnknownSource applicability is not established[SUSE-SU-2021:14769-1]
Ubuntu18.04libsndfile1.0.28-4UnknownSource applicability is not established[UBUNTU-CVE-2021-3246][USN-5025-1]
Ubuntu18.04libsndfile1.0.28-4ubuntu0.18.04.1UnknownSource applicability is not established[UBUNTU-CVE-2021-3246][USN-5025-1]
Ubuntu18.04libsndfile1.0.28-4ubuntu0.18.04.2UnknownSource applicability is not established[UBUNTU-CVE-2021-3246][USN-5025-1]
Ubuntu20.04libsndfile1.0.28-6UnknownSource applicability is not established[UBUNTU-CVE-2021-3246][USN-5025-1]
Ubuntu20.04libsndfile1.0.28-7UnknownSource applicability is not established[UBUNTU-CVE-2021-3246][USN-5025-1]
Ubuntu20.04libsndfile1.0.28-7ubuntu0.1UnknownSource applicability is not established[UBUNTU-CVE-2021-3246][USN-5025-1]
Ubuntuprolibsndfile1.0.25-10UnknownSource applicability is not established[USN-5025-2][UBUNTU-CVE-2021-3246]
Ubuntuprolibsndfile1.0.25-10ubuntu0.16.04.1UnknownSource applicability is not established[USN-5025-2][UBUNTU-CVE-2021-3246]
Ubuntuprolibsndfile1.0.25-10ubuntu0.16.04.2UnknownSource applicability is not established[USN-5025-2][UBUNTU-CVE-2021-3246]
Ubuntuprolibsndfile1.0.25-10ubuntu0.16.04.3UnknownSource applicability is not established[USN-5025-2][UBUNTU-CVE-2021-3246]
Ubuntuprolibsndfile1.0.25-10ubuntu0.16.04.3+esm1UnknownSource applicability is not established[USN-5025-2][UBUNTU-CVE-2021-3246]
Ubuntuprolibsndfile1.0.25-9.1UnknownSource applicability is not established[USN-5025-2][UBUNTU-CVE-2021-3246]
Original provider fields
{
  "package_releases": [
    {
      "name": "libsndfile",
      "status": "fixed",
      "release": "sid",
      "version": "1.2.2-4"
    },
    {
      "name": "libsndfile",
      "status": "fixed",
      "release": "forky",
      "version": "1.2.2-4"
    },
    {
      "name": "libsndfile",
      "status": "fixed",
      "release": "trixie",
      "version": "1.2.2-2+deb13u1"
    },
    {
      "name": "libsndfile",
      "status": "fixed",
      "release": "bookworm",
      "version": "1.2.0-1+deb12u1"
    }
  ],
  "fixed_versions": [
    {
      "bug": 991496,
      "name": "libsndfile",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "1.0.31-2"
    },
    {
      "bug": 991496,
      "name": "libsndfile",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "1.0.31-2"
    },
    {
      "bug": 991496,
      "name": "libsndfile",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "1.0.31-2"
    },
    {
      "bug": 991496,
      "name": "libsndfile",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "1.0.31-2"
    }
  ],
  "distribution_packages": [
    {
      "name": "libsndfile",
      "fixed_version": "1.0.31-2",
      "applicability_unknown": true
    },
    {
      "name": "libsndfile",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.0.25-10ubuntu0.16.04.3+esm1"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "1.0.25-9.1",
        "1.0.25-10",
        "1.0.25-10ubuntu0.16.04.1",
        "1.0.25-10ubuntu0.16.04.2",
        "1.0.25-10ubuntu0.16.04.3"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/USN-5025-2",
      "fixed_version": "1.0.25-10ubuntu0.16.04.3+esm1",
      "provider_source": "pypi",
      "provider_record_id": "USN-5025-2",
      "provider_updated_at": "2026-06-29T13:49:26.459239101Z",
      "applicability_unknown": true
    },
    {
      "name": "libsndfile",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.0.25-10ubuntu0.16.04.3+esm1"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "1.0.25-9.1",
        "1.0.25-10",
        "1.0.25-10ubuntu0.16.04.1",
        "1.0.25-10ubuntu0.16.04.2",
        "1.0.25-10ubuntu0.16.04.3"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-3246",
      "fixed_version": "1.0.25-10ubuntu0.16.04.3+esm1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2021-3246",
      "provider_updated_at": "2026-04-22T12:54:01.660860Z",
      "applicability_unknown": true
    },
    {
      "name": "libsndfile",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.0.28-4ubuntu0.18.04.2"
            }
          ]
        }
      ],
      "release": "18.04",
      "versions": [
        "1.0.28-4",
        "1.0.28-4ubuntu0.18.04.1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-3246",
      "fixed_version": "1.0.28-4ubuntu0.18.04.2",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2021-3246",
      "provider_updated_at": "2026-04-22T12:54:01.660860Z",
      "applicability_unknown": true
    },
    {
      "name": "libsndfile",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.0.28-7ubuntu0.1"
            }
          ]
        }
      ],
      "release": "20.04",
      "versions": [
        "1.0.28-6",
        "1.0.28-7"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-3246",
      "fixed_version": "1.0.28-7ubuntu0.1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2021-3246",
      "provider_updated_at": "2026-04-22T12:54:01.660860Z",
      "applicability_unknown": true
    },
    {
      "name": "libsndfile",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.0.28-4ubuntu0.18.04.2"
            }
          ]
        }
      ],
      "release": "18.04",
      "versions": [
        "1.0.28-4",
        "1.0.28-4ubuntu0.18.04.1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/USN-5025-1",
      "fixed_version": "1.0.28-4ubuntu0.18.04.2",
      "provider_source": "pypi",
      "provider_record_id": "USN-5025-1",
      "provider_updated_at": "2026-04-22T10:16:58.410065Z",
      "applicability_unknown": true
    },
    {
      "name": "libsndfile",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.0.28-7ubuntu0.1"
            }
          ]
        }
      ],
      "release": "20.04",
      "versions": [
        "1.0.28-6",
        "1.0.28-7"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/USN-5025-1",
      "fixed_version": "1.0.28-7ubuntu0.1",
      "provider_source": "pypi",
      "provider_record_id": "USN-5025-1",
      "provider_updated_at": "2026-04-22T10:16:58.410065Z",
      "applicability_unknown": true
    },
    {
      "name": "libsndfile",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.0.20-2.19.15.1"
            }
          ]
        }
      ],
      "release": "linux enterprise point of sale 11 sp3",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/SUSE-SU-2021:14769-1",
      "fixed_version": "1.0.20-2.19.15.1",
      "provider_source": "pypi",
      "provider_record_id": "SUSE-SU-2021:14769-1",
      "provider_updated_at": "2026-02-04T03:01:45.043672Z",
      "applicability_unknown": true
    },
    {
      "name": "libsndfile",
      "distro": "suse",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.0.20-2.19.15.1"
            }
          ]
        }
      ],
      "release": "linux enterprise server 11 sp4-ltss",
      "versions": [],
      "ecosystem": "rpm",
      "provider_url": "https://osv.dev/vulnerability/SUSE-SU-2021:14769-1",
      "fixed_version": "1.0.20-2.19.15.1",
      "provider_source": "pypi",
      "provider_record_id": "SUSE-SU-2021:14769-1",
      "provider_updated_at": "2026-02-04T03:01:45.043672Z",
      "applicability_unknown": true
    }
  ]
}

[Debian bug #991496]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [libsndfile1]Unknown

    Source package: [libsndfile]

    Details (2)
    • 1.2.0-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.0.31-2

      dsa · libsndfile · debian · bookworm; dsa · libsndfile · debian · 12

    • 1.2.0-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.0.31-2

      dsa · libsndfile · debian · bookworm; dsa · libsndfile · debian · 12

  • Source package: [libsndfile]

    Details (2)
    • 1.2.0-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.0.31-2

      dsa · libsndfile · debian · bookworm; dsa · libsndfile · debian · 12

    • 1.2.0-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.0.31-2

      dsa · libsndfile · debian · bookworm; dsa · libsndfile · debian · 12

  • Source package: [libsndfile]

    Details (2)
    • 1.2.0-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.0.31-2

      dsa · libsndfile · debian · bookworm; dsa · libsndfile · debian · 12

    • 1.2.0-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.0.31-2

      dsa · libsndfile · debian · bookworm; dsa · libsndfile · debian · 12

[Debian 13 (Trixie)]

  • [libsndfile1]Unknown

    Source package: [libsndfile]

    Details (2)
    • 1.2.2-2+deb13u1 · amd64 · trixie

      Fixed · Fixed: 1.0.31-2

      dsa · libsndfile · debian · 13

    • 1.2.2-2+deb13u1 · arm64 · trixie

      Fixed · Fixed: 1.0.31-2

      dsa · libsndfile · debian · 13

  • Source package: [libsndfile]

    Details (2)
    • 1.2.2-2+deb13u1 · amd64 · trixie

      Fixed · Fixed: 1.0.31-2

      dsa · libsndfile · debian · 13

    • 1.2.2-2+deb13u1 · arm64 · trixie

      Fixed · Fixed: 1.0.31-2

      dsa · libsndfile · debian · 13

  • Source package: [libsndfile]

    Details (2)
    • 1.2.2-2+deb13u1 · amd64 · trixie

      Fixed · Fixed: 1.0.31-2

      dsa · libsndfile · debian · 13

    • 1.2.2-2+deb13u1 · arm64 · trixie

      Fixed · Fixed: 1.0.31-2

      dsa · libsndfile · debian · 13

Observed:

References