Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. libsndfile
  4. ›
  5. CVE-2021-4156

CVE-2021-4156: Out-of-bounds Read

March 23, 2022 (updated September 29, 2023)

An out-of-bounds read flaw was found in libsndfile’s FLAC codec functionality. An attacker who is able to submit a specially crafted file (via tricking a user to open or otherwise) to an application linked with libsndfile and using the FLAC codec, could trigger an out-of-bounds read that would most likely cause a crash but could potentially leak memory information that could be used in further exploitation of other flaws.

References

  • bugzilla.redhat.com/show_bug.cgi?id=2027690
  • github.com/libsndfile/libsndfile/issues/731
  • github.com/libsndfile/libsndfile/pull/732/commits/4c30646abf7834e406f7e2429c70bc254e18beab
  • nvd.nist.gov/vuln/detail/CVE-2021-4156

Code Behaviors & Features

Detect and mitigate CVE-2021-4156 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

Version 1.1.10

Fixed versions

  • 1.2.0

Solution

Upgrade to version 1.2.0 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-125: Out-of-bounds Read

Source file

conan/libsndfile/CVE-2021-4156.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:58 +0000.